00:03.39 | devdvd | <PROTECTED> |
00:03.44 | devdvd | unless you ahve another thought |
00:05.23 | *** join/#asterisk spascoe (~spascoe@cpe-24-166-5-225.indy.res.rr.com) |
00:13.22 | p3nguin | devdvd: I can't really think of anything else, if you've tested the phone on the same segment as Asterisk. That pretty much eliminates all factors. |
00:17.39 | devdvd | that's kinda my thought as well |
00:19.48 | devdvd | -- SEP001B54E0045F: Statistics from 100 callid: 5 Packets sent: 459 rcvd: 454 lost: 0 jitter: 5 latency: 25 |
00:19.55 | devdvd | 100 is an echo extension |
00:20.34 | devdvd | it wont ring either, it will vibrate |
00:20.36 | devdvd | but wont ring |
00:20.39 | devdvd | i think the speaker is out |
00:20.50 | devdvd | im trying to find a 2.5mm headset to test that theory |
00:30.10 | p3nguin | At least you could try to get sound during a call with a headset. |
00:32.14 | devdvd | ya thats the thought |
00:53.37 | *** join/#asterisk JT (~j@unaffiliated/jt) |
00:58.28 | *** join/#asterisk evil_gordita (robert@ip70-188-50-186.rn.hr.cox.net) |
01:28.30 | *** join/#asterisk Woody4286 (~Woody2143@machine76.Level3.com) |
01:35.27 | *** join/#asterisk docid (~PISSS@yk-ssihq-switch-lan.ssimicro.com) |
02:10.03 | *** join/#asterisk daxt (~daxt@112.135.73.133) |
02:21.23 | *** join/#asterisk sourcode (~code@ppp-58-8-163-126.revip2.asianet.co.th) |
02:47.46 | *** join/#asterisk JAMMAN2110 (~JAMMAN211@unaffiliated/jamman2110) |
02:53.14 | *** join/#asterisk killown (~killown@unaffiliated/killown) |
02:54.27 | *** join/#asterisk JAMMAN2110 (~JAMMAN211@unaffiliated/jamman2110) |
03:25.50 | *** join/#asterisk strehlow (~strehlow@24-247-41-88.dhcp.mrqt.mi.charter.com) |
03:27.57 | *** join/#asterisk thews (~thews@24-119-172-234.cpe.cableone.net) |
03:35.16 | *** join/#asterisk retentiveboy (~retentive@74-95-28-33-Atlanta.hfc.comcastbusiness.net) |
03:36.33 | retentiveboy | Been seeing lots of brute-force SIP attacks on one of my machines. Just saw a handful of "Sending fake auth rejection for device" messages. Are these indicating the same? |
03:38.12 | *** join/#asterisk chuckf (~chuckf@ubuntu/member/chuckf) |
03:41.47 | p3nguin | retentiveboy: Could that message be caused by the alwaysauthreject setting? |
03:42.41 | retentiveboy | p3nguin: I should add that the IP in the rest of the message is not one of mine nor one of my remote stations. |
03:43.01 | p3nguin | You do have alwaysauthreject set to yes, don't you? |
03:43.05 | retentiveboy | looking at that setting now |
03:43.08 | p3nguin | And you know what that setting it for? |
03:43.14 | *** join/#asterisk NightMonkey (debian-tor@pdpc/supporter/professional/nightmonkey) |
03:43.24 | retentiveboy | looking now and yes :) |
03:44.22 | retentiveboy | p3nguin: yes, left commented out. comments indicate it should be yes by default |
03:44.48 | p3nguin | retentiveboy: What version are you using? The default was always no as far as I know. |
03:45.07 | p3nguin | I like to use fail2ban to stop SIP registration attacks. I whitelist my remote stations and my ITSPs, then repeated attempts end up blocked at the firewall. |
03:45.22 | retentiveboy | p3nguin: 1.8.2.2. I'm wondering if I should add this to my fail2ban filter |
03:46.37 | retentiveboy | p3ngion: btw, I was asking earlier about the [general] section in users.conf creating a voicemail box... Found in the code where it's not skipping that section like other modules do. |
03:52.47 | retentiveboy | p3nguin: is something like this in your fail2ban filters? |
03:53.52 | p3nguin | The general section of all the configs is an important section. It's not supposed to be skipped. I have no idea wha makes you think the general section should be ignored. |
03:54.16 | p3nguin | Is something like what in my fail2ban filter? |
03:54.44 | retentiveboy | "Sending fake auth rejection for device" |
03:55.15 | *** join/#asterisk shamelessn00b (~chatzilla@175.110.242.37) |
03:55.16 | p3nguin | No, the only thing fail2ban does for me is detect the repeated attempts and block it in iptables. |
03:56.04 | p3nguin | I'm thinking that message is a result of the alwaysauthreject setting being enabled. |
03:56.32 | retentiveboy | Got the same I think and it's caught a number of other attempts. This "Sending fake auth rejection for device" message is new to me and it's coming from an unknown IP so I suspect it's another hack attempt. |
03:56.58 | p3nguin | Where does that message appear? |
03:57.04 | retentiveboy | console |
03:57.14 | p3nguin | asterisk console? |
03:57.19 | retentiveboy | sorry. yes |
03:58.37 | retentiveboy | in my log file as well. the one fail2ban is watching. Don't see other messages that fail2ban is already looking for. |
03:58.38 | p3nguin | I just grabbed a 1.8 box and noticed that it does say alwaysauthreject defaults to yes now. That's good... it's about time. |
04:03.34 | *** join/#asterisk JAMMAN2110 (~JAMMAN211@unaffiliated/jamman2110) |
04:12.56 | *** join/#asterisk ketas (ketas@ketas6-sixxs.si.pri.ee) |
04:25.26 | *** join/#asterisk hairyraven (~nobody@95.72.240.31) |
04:25.59 | *** join/#asterisk JAMMAN2110 (~JAMMAN211@unaffiliated/jamman2110) |
04:28.31 | *** join/#asterisk dajhorn (~dajhorn@99-74-253-20.lightspeed.rcsntx.sbcglobal.net) |
04:36.37 | *** join/#asterisk jasonwert (~w3rt@66-227-209-168.dhcp.trcy.mi.charter.com) |
04:42.53 | *** join/#asterisk killown (~killown@unaffiliated/killown) |
04:55.46 | *** join/#asterisk jasonwert (~w3rt@66-227-209-168.dhcp.trcy.mi.charter.com) |
05:28.02 | *** part/#asterisk retentiveboy (~retentive@74-95-28-33-Atlanta.hfc.comcastbusiness.net) |
05:38.41 | *** join/#asterisk daxt (~daxt@112.135.64.38) |
05:39.52 | daxt | hi |
05:39.57 | daxt | anyone using mydivert ? |
05:40.31 | daxt | what is the most preferred DID service for Asterisk ? |
06:03.32 | raden | is it possible to have a mysql database that asterisk looks at for CID info ? |
06:08.04 | devdvd | raden, not by default but i'm sure you can do something with odbc in the dialplan |
06:08.30 | raden | hmmmmm |
06:08.53 | devdvd | i would think the general idea would be a select query that queries for the number in the database, returns the name and passes that onto the phone |
06:09.29 | raden | seems simple enough |
06:09.36 | raden | Ill have to play with it when I have time |
06:35.48 | *** join/#asterisk emora (~emora@213.37.32.74.static.user.ono.com) |
06:36.20 | *** join/#asterisk Galaxor (~ryan@75.119.23.9) |
06:37.55 | Galaxor | Okay, I have two machines on the same network, and I want them to talk directly to each other without depending on a connection to the internet. Do I have to set up asterisk somewhere on the network, or can the voip programs communicate directly with each other? (I've got ekiga and/or qutecom) |
06:41.00 | *** join/#asterisk choppernator (~chopp@unaffiliated/chopp) |
06:46.16 | *** join/#asterisk esterpader (~esterpade@58.69.18.6) |
06:46.16 | *** join/#asterisk Takapa (vegard@svanberg.no) |
07:11.01 | *** join/#asterisk emora (~emora@213.37.32.74.static.user.ono.com) |
07:14.00 | *** join/#asterisk Iamnacho (~Iamnacho@ip174-70-138-161.ks.ks.cox.net) |
07:36.54 | *** join/#asterisk ketas (ketas@ketas6-sixxs.si.pri.ee) |
08:14.57 | *** join/#asterisk timahvo1 (~rogue@41.223.57.75) |
08:29.21 | *** join/#asterisk awclin (~alinford@g0962184.demon.co.uk) |
08:31.26 | *** join/#asterisk spascoe (~spascoe@cpe-24-166-5-225.indy.res.rr.com) |
08:32.01 | *** join/#asterisk awclin (~alinford@g0962184.demon.co.uk) |
09:00.59 | *** join/#asterisk JAMMAN2110 (~JAMMAN211@unaffiliated/jamman2110) |
09:07.14 | *** join/#asterisk chasing`Sol (~chasingSo@82.201.135.150) |
09:10.07 | *** join/#asterisk hehol (~Adium@ip-78-94-0-76.unitymediagroup.de) |
09:15.24 | *** join/#asterisk harold00 (58c5ff65@gateway/web/freenode/ip.88.197.255.101) |
09:18.20 | harold00 | hello, all my incoming invite calls are refused with 401 unauthorized. Need help. Anybody have an idea what I can do ? |
09:27.29 | p3nguin | Seems right. It's normal to first get an unauthorized message, but then the device is supposed to authenticate afterward, which would all the call to proceed. |
09:27.50 | p3nguin | My advice is to start with the passwords. |
09:30.29 | *** join/#asterisk SiNGLer (~singler@lan131-726.elekta.lt) |
09:43.12 | harold00 | It's the incoming trunk I'm registered with. It should not be asked to autheticate. I have insecure = port, invite and allowguest = yes |
09:43.59 | harold00 | what do you mean by "start with the password" ? |
09:47.07 | *** join/#asterisk nix8n82 (~nate@63.162.28.112) |
10:02.17 | wdoekes2 | harold00: it looks like the insecure options is not properly read |
10:02.47 | wdoekes2 | try removing those spaces.. I'm not sure that is legal |
10:05.00 | *** join/#asterisk tzafrir_laptop (~tzafrir@local.xorcom.com) |
10:06.11 | harold00 | i'll try immediately |
10:10.40 | *** join/#asterisk endemic (~endemic@2001:49f0:400e::5) |
10:11.08 | *** join/#asterisk Iamnach0 (~Iamnacho@ip174-70-138-161.ks.ks.cox.net) |
10:13.10 | harold00 | @woekes2 You're THE man ! I've spend DAYS figuring out why it was unauthorized ! Removing space DID it. Thanks Thanks Thans ;) |
10:14.30 | nathan7 | =) |
10:48.07 | *** join/#asterisk chasing`Sol (~chasingSo@82.201.135.150) |
10:54.21 | *** join/#asterisk cerberus_za (~coert@196-215-44-48.dynamic.isadsl.co.za) |
10:54.48 | *** join/#asterisk RypPn (~TuMbL@unaffiliated/ryppn) |
11:01.37 | *** join/#asterisk TimeRider (steve@188-220-33-123.zone11.bethere.co.uk) |
11:10.06 | *** join/#asterisk JAMMAN2110 (~JAMMAN211@unaffiliated/jamman2110) |
11:44.35 | *** part/#asterisk JAMMAN2110 (~JAMMAN211@unaffiliated/jamman2110) |
12:06.11 | *** join/#asterisk Dovid (~Dovid@office.mypbxmanager.net) |
13:08.01 | benngard | any knows if there is a iphone app that sends phone status to asterisk? |
13:18.26 | *** join/#asterisk sourcode (~code@ppp-58-8-118-49.revip2.asianet.co.th) |
13:36.56 | *** join/#asterisk Sorcier_FXK (kalk-bnc@unaffiliated/sorcierfxk) |
13:42.52 | *** join/#asterisk xSmurf (~MrSmurf@unaffiliated/mrsmurf) |
14:00.11 | *** join/#asterisk espiceland (~erin@nat/digium/x-oojcwjxzotaabshk) |
14:08.27 | *** join/#asterisk leifmadsen (~Leif@asterisk/documenteur-extraordinaire/blitzrage) |
14:08.28 | *** mode/#asterisk [+o leifmadsen] by ChanServ |
14:23.29 | *** join/#asterisk fofware (~Fabian@host63.190-31-62.telecom.net.ar) |
15:04.31 | *** join/#asterisk AirGuitarist (~BrianB@pool-173-57-146-240.dllstx.fios.verizon.net) |
15:16.31 | *** join/#asterisk killown (~killown@unaffiliated/killown) |
15:29.48 | *** join/#asterisk gerhard7 (~gerhard7@82-171-103-215.ip.telfort.nl) |
15:35.18 | *** join/#asterisk iulhk (iulhk@175.110.36.67) |
15:55.06 | *** join/#asterisk b14ck_ (~b14ck@cpe-72-129-70-245.socal.res.rr.com) |
16:01.01 | *** join/#asterisk daxt (~daxt@112.135.70.43) |
16:01.15 | daxt | hi guys , anybody using mydivert here ? |
16:07.10 | *** join/#asterisk cyphorious (~cyphoriou@91-115-11-124.adsl.highway.telekom.at) |
16:07.42 | *** join/#asterisk cyphorious (~cyphoriou@91-115-11-124.adsl.highway.telekom.at) |
16:16.24 | *** join/#asterisk daxt (~daxt@112.135.92.77) |
16:16.39 | daxt | Hello |
16:16.43 | daxt | anybody home |
16:16.52 | daxt | what is the best DID service for * ? |
16:20.48 | tzafrir_laptop | daxt, not really sure. But I suggest you be more specific about location |
16:20.58 | tzafrir_laptop | And such |
16:21.04 | tzafrir_laptop | ~itsp |
16:21.04 | infobot | [~itsp] An ITSP is an Internet Telephony Service Provider (or VoIP telephone company). They allow you to either SEND calls to the PSTN (this is called termination), RECEIVE calls from the PSTN (called origination), or both. Some offer fixed rates, others $/min. Enter ~itsplist-us (USA) or ~itsplist-ca (Canada) for a listing of popular ITSPs. |
16:21.25 | daxt | hi location = USA |
16:25.32 | devdvd | ~itsp-us |
16:25.41 | devdvd | ~itsplist-us |
16:25.41 | infobot | Here are some popular ITSPs (USA) starting with the more respected ones: http://www.teliax.com , http://www.voicepulse.com/connect/ , http://www.broadvoice.com , http://www.jnctn.com , http://www.bandwidth.com , http://vitelity.net , http://voip.ms and http://flowroute.com |
16:29.21 | *** join/#asterisk espiceland (~erin@207.98.195.107) |
16:31.38 | *** join/#asterisk daxt (~daxt@112.135.65.114) |
16:37.58 | daxt | anybody used mydivert before ? |
16:38.58 | *** join/#asterisk chasing`Sol (~cS@smtp.master-zone.net) |
16:43.58 | *** join/#asterisk hetii (~hetii@87.99.51.178) |
16:44.04 | hetii | Hello :) |
16:44.22 | devdvd | bah humbug :) |
16:44.36 | hetii | Q: dahdi_hardware show me: pci:0000:01:08.0 qozap- 1397:08b4 Junghanns QuadBRI ISDN card, lspci 01:08.0 ISDN controller: Cologne Chip Designs GmbH ISDN network Controller [HFC-4S] (rev 01) |
16:44.54 | hetii | the question is what i can do now to configure and set this car under asterisk |
16:44.57 | hetii | ? |
16:45.11 | hetii | *card |
16:46.03 | hetii | dahdi show channels show me just : pseudo default default In Service |
16:49.20 | hetii | dahdi_cfg -v : 0 channels to configure. |
16:53.57 | tzafrir_laptop | hetii, what version of dahdi do you have? |
16:55.30 | hetii | DAHDI Tools Version - 2.2.1 |
16:55.41 | *** part/#asterisk myke (myke@block-66.135.80.250.montanasat.net) |
16:56.51 | *** join/#asterisk killown (~killown@unaffiliated/killown) |
16:57.04 | hetii | if its too old i can build them from latest sources instead using packages |
16:59.34 | hetii | ok i see that the latest is 2.4 on the site so first i update them to the latest and then if still have no result will need your help to set up my card. |
17:00.48 | hetii | or if you know that my card is not supported then i can use mISDN but will be nice if dahdi will support it :> |
17:06.32 | WIMPy | hetii: Multiple options: http://voice.yeti.dk/Asterisk_vs_ISDN |
17:07.48 | hetii | yep, this card will be just used as a PSTN line to make a call |
17:08.15 | hetii | so as soon as i`m able to do it then will be happy :) |
17:08.24 | hetii | ok i have altest dahdi |
17:08.36 | hetii | ok i see |
17:08.46 | hetii | run 'dahdi_genconf modules' to load support for only the DAHDI hardware installed in this system. |
17:08.55 | WIMPy | You should have at least three options. |
17:09.00 | hetii | my dahdi_hardware show me |
17:09.08 | hetii | pci:0000:01:08.0 wcb4xxp- 1397:08b4 Junghanns QuadBRI ISDN card |
17:09.19 | hetii | so i do: dahdi_genconf wcb4xxp- |
17:09.27 | hetii | but got Illegal name 'wcb4xxp-' |
17:09.56 | WIMPy | wcb4xxp no - |
17:10.23 | hetii | Failed to load configuration generator for 'Wcb4xxp': Can't locate Dahdi/Config/Gen/Wcb4xxp.pm in @INC |
17:10.56 | hetii | (@INC contains: /usr/sbin /usr/sbin/perl_modules /usr/sbin /usr/sbin/perl_modules /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 9) line 2. |
17:11.18 | WIMPy | never tried genconf with a parameter. |
17:11.44 | WIMPy | If you have the module loaded just a dahdi_genconf should generate a usable config. |
17:11.48 | hetii | withouti got twice: Empty configuration -- no spans |
17:12.11 | hetii | ok i will restart dahdi and try again |
17:13.06 | WIMPy | Are you on current dahdi already? |
17:13.11 | hetii | yes |
17:13.23 | WIMPy | ok |
17:14.25 | WIMPy | Maybe the card is already in use? |
17:15.01 | hetii | i don`t think so. i unload before installing dahdi all isdn modules like isdn hisax a.s.o |
17:15.13 | WIMPy | ok |
17:15.42 | WIMPy | Out of the box, hfcmulti would be loaded. |
17:16.27 | hetii | ok i restart the dahdi by /etc/init.d/dahdi restart then i do dahdi_genconf -v and got: Generating /etc/dahdi/system.conf and /etc/asterisk/dahdi-channels.conf but da0 channels to configure.hdi_cfg -v still show me |
17:16.34 | hetii | 0 channels to configure. |
17:16.47 | hetii | hfcmulti as i remmmeber i unload also on first step |
17:16.50 | WIMPy | modprobe wcb4xxp |
17:16.57 | WIMPy | Then look at dmesg |
17:18.33 | hetii | ok here are my dmesg starting when i play with modules: http://pastebin.com/JHbLa0sS |
17:18.43 | hetii | looks nice - check the channels |
17:19.43 | hetii | lsmod: http://pastebin.com/mfDAqVDT |
17:19.47 | WIMPy | Yes, looks good. |
17:19.55 | WIMPy | will dahdi_genconf do now? |
17:20.40 | hetii | Juppi :) http://pastebin.com/snPX4pBQ |
17:22.17 | hetii | ok, i suppose that now i can try see my channels on asterisk |
17:22.36 | WIMPy | You should see them now, yes. |
17:22.48 | hetii | but first i update him also to latest version |
17:23.50 | hetii | btw do i need compile for * some additional chanel_* stuff ? |
17:25.33 | tzafrir_laptop | hetii, hmm... |
17:26.27 | hetii | i suppose that for dahdi it has already on the main sources support as it is part of * but i do it first time, thats why i ask :) |
17:28.44 | WIMPy | Both misdn1 and dahdi are included. |
17:28.59 | WIMPy | misdn2 would run outside of Asterisk. |
17:35.31 | hetii | for misdn2 its call LCR or ? |
17:36.06 | WIMPy | LCR uses misdn2, yes. |
17:36.30 | hetii | any other possibilites are avaiable for misdn2 ? |
17:36.33 | WIMPy | Asterisk can't use misdn2, but it can use LCR. |
17:37.02 | hetii | ahh i see :) ok first i try dahdi |
17:37.17 | WIMPy | Actually ISDN support in software PBX(toolkit)s seems very limited. |
17:37.37 | daxt | anybody used "mydivert" with * ? |
17:37.59 | hetii | yep, this was always a problem but i see big progress than when i first play with asterisk |
17:38.10 | hetii | i start when it was on version 1.2 |
17:38.35 | WIMPy | That's why it took me so many years to start with Asterisk. |
17:39.06 | WIMPy | And yes, it has become a lot better, but still not really good. |
17:48.55 | hetii | ok i have latest asterisk |
17:49.01 | hetii | here are te current result |
17:49.05 | hetii | http://pastebin.com/AA0XRGwR |
17:50.02 | WIMPy | Where have the channels gone? |
17:50.04 | *** join/#asterisk p3nguin (~xwQ5kwYl6@cpe-0210-4bff-fe2b-9074.dhcp.a2infotech.com) |
17:50.24 | hetii | dahdi_cfg -v |
17:50.26 | hetii | <PROTECTED> |
17:50.40 | WIMPy | chan_dahdi.conf |
17:50.46 | hetii | i suppose that i need copty the config file to /etc/asterisk directory |
17:51.08 | WIMPy | yes |
17:52.38 | hetii | this will be the /etc/dahdi/system.conf ? |
17:53.01 | WIMPy | chan_dahdi.conf |
17:53.08 | hetii | where it is located ? |
17:53.25 | hetii | cause i don`t chave this file on /etc/dahdi |
17:53.36 | hetii | *have |
17:53.37 | WIMPy | /etc/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf. |
17:54.22 | hetii | <PROTECTED> |
17:54.24 | hetii | Default parameters from /etc/dahdi/genconf_parameters |
17:54.26 | hetii | Generating /etc/dahdi/system.conf |
17:54.28 | hetii | Generating /etc/asterisk/dahdi-channels.conf |
17:55.02 | WIMPy | dahdi-channels.conf can be included in chan_dahdi.conf |
17:55.11 | hetii | ok i will include the last file to the chan_dahdi :) |
17:55.14 | hetii | yep exactly ) |
17:55.17 | hetii | :) |
17:58.08 | hetii | http://pastebin.com/6imxCFta |
17:59.25 | WIMPy | Did you install libpri? |
17:59.59 | hetii | to be onest no :) |
18:00.05 | hetii | or i have old one |
18:00.27 | WIMPy | You need that and then recompile Astrerisk. |
18:00.32 | hetii | ohh |
18:00.36 | hetii | ok :) |
18:02.14 | WIMPy | Maybe I should write somewhere that chan_dahdi need libpri. |
18:02.27 | *** join/#asterisk espiceland (~erin@207.98.195.107) |
18:02.45 | hetii | on the site its a . LibPRI is a dependency for Asterisk and DAHDI if PRI signaling is used. |
18:02.50 | hetii | so my foult :> |
18:11.13 | hetii | new portion of error :( http://pastebin.com/F3e0nejk |
18:13.03 | WIMPy | Is the card still up and running? |
18:14.50 | hetii | dmesg and lsmod : http://pastebin.com/Uk9a8aeP |
18:15.07 | hetii | wcb4xxp 38484 0 |
18:15.33 | WIMPy | Hmm. Nothing obvious. |
18:17.20 | hetii | i do rmmod wcb4xxp and modprobe wcb4xxp the dmesg show me this same stuff like before but |
18:17.35 | hetii | lsmod |grep wcb4xxp still have wcb4xxp 38484 0 |
18:19.21 | fenrus | o |
18:20.52 | hetii | dahdi_diag 2 show me on dmesg this: http://pastebin.com/qCx7jz7F |
18:22.05 | hetii | and dahdi_hardware: pci:0000:01:08.0 wcb4xxp+ 1397:08b4 Junghanns QuadBRI ISDN card, so instead "-" have "+" on the end of module name |
18:24.57 | hetii | any clue what i can do now ? :) |
18:24.58 | *** join/#asterisk chasing`Sol (~cS@smtp.master-zone.net) |
18:36.51 | WIMPy | I'm not good at details. I only have dahdi on a test box. |
18:37.07 | WIMPy | In production I use LCR. |
18:37.11 | hetii | hmm |
18:45.16 | *** join/#asterisk werdan7 (~w7@freenode/staff/wikimedia.werdan7) |
18:57.48 | hetii | f*... i don`t know why but after reboot i got this: |
18:57.50 | hetii | modprobe wcb4xxp |
18:57.52 | hetii | FATAL: Error inserting wcb4xxp (/lib/modules/2.6.35-25-server/updates/dkms/wcb4xxp.ko): Invalid module format |
18:57.57 | hetii | how it can be :/ |
18:58.37 | WIMPy | Did you upgrade the kernel some time before rebooting or something? |
18:59.11 | hetii | http://pastebin.com/8bpgFGCk |
18:59.17 | hetii | no |
18:59.35 | hetii | i even now recompile all dahdi and have this issue |
18:59.39 | hetii | very strange |
18:59.59 | WIMPy | indeed |
19:00.27 | hetii | on dmesg i got [ 777.896431] dahdi: disagrees about version of symbol module_layout |
19:01.21 | WIMPy | As it worked before, the only thing I can think of is new kernel or new kernel headers. |
19:14.52 | hetii | is some of this module required by dahdi on my case? hfc4s8s_l1, hisax, isdn, hfcmulti, mISDN_core or do i add them to blacklist ? |
19:15.06 | tzafrir_laptop | hetii, you have an older version of dahdi still loaded |
19:15.15 | WIMPy | No, none of them. |
19:15.23 | tzafrir_laptop | oh, it's dahdi |
19:15.32 | hetii | ? |
19:15.43 | WIMPy | You can only use one of the driver models on any one card. |
19:15.43 | tzafrir_laptop | have you built dahdi yourself? |
19:15.52 | hetii | yes |
19:16.25 | hetii | the plan is to add this module to blacklist and after reboot build dahdi again from sources |
19:16.29 | tzafrir_laptop | hang on: wcb4xxp fails to load, or is it dahdi? |
19:17.05 | hetii | at this moment modprobe dahdi show: FATAL: Error inserting dahdi (/lib/modules/2.6.35-25-server/updates/dkms/dahdi.ko): Invalid module format |
19:17.07 | tzafrir_laptop | cat /sys/module/dahdi/version |
19:17.21 | WIMPy | Yes, blacklisting hfcmulti should be done if you auto-load modules. |
19:17.36 | hetii | cat: /sys/module/dahdi/version: No file ... |
19:21.17 | hetii | ok i just add the hisax. etc... modules to blacklist.conf and reboot server after that i should be ready to check the dahdi again and compile if still had this issue |
19:23.19 | hetii | ok the current state http://pastebin.com/mPdn0fEt |
19:23.37 | hetii | and still:FATAL: Error inserting dahdi (/lib/modules/2.6.35-25-server/updates/dkms/dahdi.ko): Invalid module format |
19:24.17 | hetii | so i wil recompile them |
19:26.39 | tzafrir_laptop | hetii, "invalid module format" may mean it's for the wrong kernel |
19:26.51 | hetii | here are compilation logs: http://pastebin.com/G0Pa6Gw1 |
19:26.54 | tzafrir_laptop | what's the output of 'uname -r' ? |
19:27.11 | hetii | uname -r |
19:27.12 | tzafrir_laptop | what's the output of: modinfo lib/modules/2.6.35-25-server/updates/dkms/dahdi.ko |
19:27.14 | hetii | 2.6.35-25-server |
19:27.46 | tzafrir_laptop | modinfo /lib/modules/2.6.35-25-server/updates/dkms/dahdi.ko # with a leading slash, that is |
19:28.58 | hetii | http://pastebin.com/xehhvXRb |
19:29.10 | hetii | hmm 2.6.35-22-server |
19:29.42 | tzafrir_laptop | needs rebuilding, I guess |
19:30.35 | tzafrir_laptop | Debian is just about the only distro that tries maintaining a stable API to modules between different kernel package versions :-( |
19:30.38 | hetii | ok i rebuild them and now i do install |
19:30.44 | hetii | here are log: http://pastebin.com/H0sR3G2Y |
19:31.25 | hetii | but modinfo /lib/modules/2.6.35-25-server/updates/dkms/dahdi.ko still show 2.6.35-22-server |
19:31.27 | hetii | :< |
19:32.14 | *** join/#asterisk killown (~killown@unaffiliated/killown) |
19:33.02 | hetii | so the question is why make install don`t install the proper modules |
19:33.52 | hetii | http://pastebin.com/xzdhLx5v |
19:34.11 | WIMPy | Does it build the correct version? Try modinfo on the module in the source dir. |
19:34.34 | hetii | the last link show you the version that i build |
19:34.35 | WIMPy | ah |
19:34.38 | WIMPy | :-) |
19:35.14 | hetii | it seams that some trouble is in installation script |
19:38.34 | hetii | it will be ok if i just copy the *.ko modules from sources to /lib/modules/2.6.35-25-server/updates/dkms/ ? or do i need do some other dependency stuff/ |
19:44.43 | tzafrir_laptop | hetii, btw: anything under /lib/modules/<version>/updates/ takes precedence over other stuff under /lib/modules/<version> |
19:45.01 | tzafrir_laptop | so alternatively remove the stuff from there |
19:45.14 | *** join/#asterisk cerberus_za (~coert@196-215-44-48.dynamic.isadsl.co.za) |
19:45.28 | *** join/#asterisk leifmadsen (~Leif@asterisk/documenteur-extraordinaire/blitzrage) |
19:45.28 | *** mode/#asterisk [+o leifmadsen] by ChanServ |
19:46.57 | hetii | hmm |
19:47.03 | hetii | you know what |
19:47.09 | hetii | it looks like the installation script |
19:47.29 | hetii | install all new modules under |
19:47.32 | hetii | /lib/modules/2.6.35-25-server/dahdi/ |
19:47.59 | hetii | and when i do modprobe dahdi system check them under /lib/modules/2.6.35-25-server/updates/dkms/ |
19:48.58 | hetii | so what to do ? copy the modules to /lib/modules/2.6.35-25-server/updates/dkms/ ? or change somehow where they should be find by system ? |
19:52.03 | *** join/#asterisk Jouva (Jouva@fluffy.moufette.com) |
19:56.47 | *** join/#asterisk timahvo1 (~rogue@41.223.57.76) |
19:58.26 | *** join/#asterisk JAMMAN2110 (~JAMMAN211@unaffiliated/jamman2110) |
19:59.16 | tzafrir_laptop | hetii, are you sure you have linux-headers-`uname -r` installed? |
20:00.02 | hetii | <PROTECTED> |
20:00.04 | hetii | 12483 |
20:00.43 | hetii | they are in /usr/src/linux-headers-2.6.35-25-server/ |
20:01.22 | hetii | what about http://pastebin.com/0JxYcdKP ? |
20:01.38 | hetii | it seams that m-a don`t know what dahdi is |
20:02.39 | tzafrir_laptop | so you don't have dahdi-source ? |
20:02.58 | tzafrir_laptop | Ubuntu don't package it? |
20:03.04 | tzafrir_laptop | http://packages/ubuntu.com/dahdi-source |
20:03.12 | tzafrir_laptop | is a Debian packager... |
20:03.25 | hetii | i get them from from asteris.org site |
20:03.36 | hetii | to have the latest one |
20:05.48 | cobra2 | hetii: stupid question: are you building this stuff under the kernel that you want it to run on? |
20:06.33 | hetii | http://pastebin.com/M93NBZgd |
20:06.37 | hetii | yes |
20:07.20 | hetii | the compilation process are ok, the installation process of compited modules go on different place then expected. |
20:07.26 | *** join/#asterisk SiNGLer (~singler@78-60-139-121.static.zebra.lt) |
20:08.19 | hetii | the dahdi version that i want to use are: dahdi-linux-complete-2.4.0+2.4.0.tar.gz |
20:08.38 | WIMPy | That's why I usually prefer not to use hardware that doesn't work with a standard kernel. |
20:09.04 | WIMPy | But there's no option if you want HWEC AFAIK. |
20:09.22 | *** join/#asterisk timahvo1 (~rogue@41.223.57.74) |
20:09.34 | cobra2 | I never use a standard kernel. too much bloat built in there. |
20:10.17 | WIMPy | Neither do I, but I meant stuff that need extra bits. |
20:10.27 | cobra2 | hetii: can you just manually move the files to the location that they need to be so that they can be pulled correctly by modprobe? |
20:10.58 | WIMPy | You can use modprobe with absolute paths, BTW. |
20:11.03 | hetii | yes i can |
20:11.36 | hetii | so don`t use m-a tools ? to build the source just play with modules manually ? |
20:12.20 | tzafrir_laptop | <hetii> the compilation process are ok, the installation process of compited modules go on different place then expected. |
20:12.25 | tzafrir_laptop | wrong ^^ |
20:12.49 | hetii | hmm |
20:12.59 | tzafrir_laptop | If the module has v. -22 in it, it means it was built with "source" (linux-headers) -22 |
20:13.15 | hetii | no, no |
20:13.28 | hetii | the -22 are a modules with the old version |
20:13.44 | hetii | now i rebuild the sources and have the proper version 25 |
20:14.12 | hetii | but make install install them not under /lib/modules/2.6.35-25-server/updates/dkms/* but /lib/modules/2.6.35-25-server/dahdi/* |
20:15.12 | cobra2 | hetii: that's where my modules install to on the ubuntu system that I did once upon a time. |
20:15.20 | cobra2 | what's the issue with that? |
20:18.55 | hetii | i`m afraid that i don`t understand the question, general the issue it that for eg modinfo dahdi searching the modules inside /lib/modules/2.6.35-25-server/updates/dkms/ instead /lib/modules/2.6.35-25-server/dahdi/ |
20:19.34 | hetii | or the installation path of the new modules are worng |
20:20.29 | cobra2 | hetii: that's a problem local to your machine. modinfo dahdi works just fine for me on a slackware/arch/ubuntu machine. all have the dahdi module installed to /lib/modules/<kernel>/dahdi |
20:20.43 | WIMPy | Have you tried to just remove them from ../updated/dkms/? Doesn't find them in the standard location then? |
20:21.38 | cobra2 | i don't even have this ../updated/dkms/ folder. what is that from? |
20:21.56 | hetii | when i move the old one i got this: ERROR: modinfo: could not open /lib/modules/2.6.35-25-server/updates/dkms/dahdi.ko: No such file or directory |
20:22.14 | WIMPy | http://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support |
20:23.10 | WIMPy | I guess you need to find someone who knows about the dkms implementation of your distro. |
20:23.37 | WIMPy | Or switch to LCR. ;-) |
20:23.52 | cobra2 | or slackware |
20:24.12 | WIMPy | That surely does not have such issues, no. |
20:24.51 | cobra2 | WIMPy: the only issues my slackware machine has ever had: EBKAC |
20:25.05 | cobra2 | error between keyboard and chair |
20:28.08 | *** join/#asterisk puzzled (~patrick@puzzled.xs4all.nl) |
20:28.39 | *** join/#asterisk Dovid (~Dovid@213.8.121.90) |
20:28.49 | Dovid | hello all |
20:29.11 | WIMPy | hello one |
20:30.00 | hetii | this server is located arount 1000km from my hands so i can forgot to install something :) |
20:30.04 | hetii | i mean the os :) |
20:30.24 | hetii | ok will move the modules manuall and then check whats happen |
20:40.46 | hetii | new portion of information : http://pastebin.com/fD0pMt0n |
20:41.17 | hetii | this is after reboot and modprobe wcb4xxp |
20:41.47 | hetii | cat /sys/module/dahdi/version -> 2.4.0 |
20:43.07 | hetii | hmm |
20:43.11 | hetii | and now |
20:43.13 | hetii | http://pastebin.com/r9rute52 |
20:43.42 | hetii | http://pastebin.com/vWrSVvjw |
20:44.01 | hetii | so success:) but i don`t touch enything and now the channels are avaiable |
20:47.16 | *** join/#asterisk awclin_ (~alinford@g0962184.demon.co.uk) |
20:47.27 | hetii | strange all of that but what i can said :) * and ISDN can provide a lot of fun and sleepnes night :) |
20:55.06 | WIMPy | Definitely. |
20:55.38 | WIMPy | BTW: Not touching anything is no guarantee that nothing changes on a reboot. :-( |
20:56.45 | *** join/#asterisk TimeRider (steve@188-220-33-123.zone11.bethere.co.uk) |
20:56.54 | WIMPy | had such a thing a few month back, when udev suddenly decided to call the (only) NIC eth1 instead of eth0. |
20:57.39 | WIMPy | Usually I wouldn't install udev on a server, but I had to find out that's equired by dahdi if you want HWEC. |
21:02.17 | *** join/#asterisk leifmadsen (~Leif@asterisk/documenteur-extraordinaire/blitzrage) |
21:02.17 | *** mode/#asterisk [+o leifmadsen] by ChanServ |
21:05.11 | cobra2 | hetii: even though the box is way over there, you can still install a asterisk inside a chroot and use whatever linux os you want to use. |
21:06.27 | cobra2 | for example, my x86_64 laptop runs archlinux, yet I have a x86 install of gentoo that I chroot into when I need something with flash or I want to play a windows game. |
21:07.26 | cobra2 | if i added an entry to grub i could boot the system on the gentoo stuff. |
21:07.34 | hetii | i have not much expiriance to do stuff like that so i prefer not risk but the idea are nice so i will read abot it more |
21:07.59 | cobra2 | it's just like running something is a 'BSD jail' |
21:09.12 | hetii | btw my dahdi boot with system right,asterisk also see channels and got even event when i call to it:) |
21:09.46 | hetii | thx a lot for support and time :) |
21:10.41 | tzafrir_laptop | WIMPy, too many things require udev now |
21:11.22 | tzafrir_laptop | cobra2, the linux equivalent of a bsd jail is lxc |
21:11.28 | WIMPy | On a server where you don't need (want) any hotplugging? |
21:11.50 | tzafrir_laptop | swears by hotplugging :-) |
21:12.38 | WIMPy | If I don't need it, I don't want it. |
21:12.38 | WIMPy | I usually even build kernels without module support for servers. |
21:18.59 | *** join/#asterisk mac-mini (~mac-mini@unaffiliated/macmini/x-648924) |
21:19.36 | *** join/#asterisk f2Knight (~ben@c-71-236-165-148.hsd1.or.comcast.net) |
21:19.57 | f2Knight | Q: Has anyone got 1.8 with realtime registrations working? |
21:27.52 | hetii | is it a normal behavior? http://pastebin.com/XXy749yQ |
21:28.01 | hetii | i need stop first * to unload drivers:) |
21:29.27 | WIMPy | Sure |
21:29.38 | hetii | ok :) |
21:30.05 | WIMPy | How do you expect to be able to unload th driver of some hardware that is being used? |
21:30.14 | hetii | so it seams that works realy nice :) tommorow i will set freepbx and add some routeing :) |
21:30.40 | hetii | sometimes it was possible with other chan_* :> |
21:31.15 | hetii | but i suppose it was like a not implemented issue :) |
21:31.28 | WIMPy | You can 'module unload chan_dahdi' first to keep * running. |
21:31.40 | *** join/#asterisk hairyraven (~nobody@95.72.245.200) |
21:33.14 | hetii | yep :> |
21:34.01 | *** join/#asterisk b14ck (~b14ck@cpe-72-129-70-245.socal.res.rr.com) |
21:41.14 | *** join/#asterisk a_m_y (~IceChat7@121.96.33.130) |
21:41.53 | a_m_y | how to automatically transfer the call after 4 passes of the IVR? |
21:42.19 | f2Knight | a_m_y, put a counter in place, |
21:43.11 | f2Knight | a_m_y, after you reach the counter, you pass it off to where ever , e.g. Dial(Local/123) or to a Macro that you have build to handle your call routing. |
21:43.27 | f2Knight | Anyone working with Realtime Asterisk and have Registrations working? |
21:43.52 | a_m_y | any example that I could check? |
21:44.26 | f2Knight | a_m_y, umm, let me look I think i may have one... |
21:47.18 | *** join/#asterisk GreatSUN (~greatsun@188-22-188-157.adsl.highway.telekom.at) |
21:47.22 | GreatSUN | hi all |
21:47.58 | GreatSUN | hope someone of you can finally help me |
21:48.00 | hetii | hi :) |
21:48.25 | GreatSUN | I am now working half the day on implementing sipgate accounts into my asterisk now installation |
21:48.35 | GreatSUN | outgoing calls are working fine |
21:48.41 | GreatSUN | but incoming arent |
21:49.02 | hetii | no voice ? or event even that someone call ? |
21:49.07 | GreatSUN | I always get Call from '1197010e0' to extension '1197010e0' rejected because extension not found in context 'from-sip-trunk-sipgate1'. |
21:49.31 | f2Knight | a_m_y, http://pastebin.com/kKXAHy9P |
21:49.56 | GreatSUN | I dunno if this is cause of inbound route or trunk configuration |
21:50.13 | GreatSUN | but for me it looks more like inbound route |
21:50.20 | hetii | yep :) Asterisk tell that he don`t know what to do with this incoming call |
21:50.34 | GreatSUN | I can see that |
21:50.35 | hetii | yes indead |
21:50.43 | GreatSUN | but how do I teach him to do sth. with it |
21:51.04 | a_m_y | thanks f2Knight. tyring it |
21:51.37 | GreatSUN | hetii: in freepbx I entered this 1197010e0 at DID Number |
21:51.48 | hetii | you can create the extension 1197010e0 in your context |
21:52.06 | GreatSUN | maybe this is also kinda not working cause of this e0 at the end... |
21:52.15 | hetii | if you use freepbx then you need just set proper inbound route |
21:52.42 | GreatSUN | hetii: but the question is... HOW? :o( |
21:52.52 | GreatSUN | as I said I am trying for hours now |
21:53.12 | GreatSUN | but I'm not able to find the solution |
21:53.19 | hetii | if you register this trunk on the end of register string you can add somehing like /some_number and then use this number on inbound route |
21:53.19 | GreatSUN | hetii: any idea? |
21:53.28 | f2Knight | a_m_y, your welcome... the basic princaple is that you set a var, then use a gotoif statement to check the condition, if its meet, you do what you want ( in your case forwarding) if not you continue on your way and dotforget to increase the counter. |
21:53.45 | GreatSUN | hetii: ok, I will try again now, but I think I did already |
21:53.47 | GreatSUN | brb |
21:54.21 | hetii | check step by step what * do with your incoming call :) |
21:56.42 | GreatSUN | hetii: may I query you? |
21:56.50 | hetii | yes |
21:57.22 | *** join/#asterisk ThisOtherGuy (~a@pool-98-109-19-98.nwrknj.fios.verizon.net) |
21:57.26 | a_m_y | got it f2Knight. thanks again. |
22:01.25 | ThisOtherGuy | Hi all - I have a single dahdi line that goes into both my computer and is my house phone. I was wondering if there was any way to detect in an extensions.conf if the line has been picked up? |
22:07.06 | f2Knight | You're welcome a_m_y |
22:07.40 | *** join/#asterisk simoncpu (~soulfury@simoncpu.com) |
22:07.47 | simoncpu | hi |
22:07.53 | simoncpu | what's the difference between an agent and a call? |
22:08.29 | simoncpu | i mean, numbers |
22:17.52 | *** join/#asterisk Sipster (~Sipster@modemcable045.5-200-24.mc.videotron.ca) |
22:21.01 | *** part/#asterisk simoncpu (~soulfury@simoncpu.com) |
22:23.57 | *** join/#asterisk moy (~moy@CPE003048b11058-CM00222d6b4d65.cpe.net.cable.rogers.com) |
22:38.26 | *** join/#asterisk hetii (~hetii@87.99.51.172) |
22:54.41 | *** part/#asterisk JAMMAN2110 (~JAMMAN211@unaffiliated/jamman2110) |
23:00.25 | devdvd | p3nguin, you around? |
23:00.37 | *** join/#asterisk chuckf (~chuckf@ubuntu/member/chuckf) |
23:11.07 | f2Knight | Q: Still having issues finding how to do sipregistration with asterisk realtime, any one? |
23:19.56 | devdvd | f2Knight, I've never done sip with realtime but have you looked at this doc |
23:20.12 | devdvd | http://www.voip-info.org/wiki/view/Asterisk+RealTime+Sip |
23:24.13 | f2Knight | devdvd, yes but I am either missing, not having anything for sip registrations, I have np getting peers connected, actually that is pretty straight forward. its is the registrations that is a pain so far. |
23:29.52 | devdvd | when you do sip show peers |
23:30.05 | devdvd | what do you see |
23:30.51 | f2Knight | I see my peers, that is my phones register. I am talking about something along the lines of this |
23:31.09 | f2Knight | register=>username:password@serviceprovider.com |
23:31.32 | devdvd | OH! you want to actually REGISTER to a service provider |
23:31.33 | f2Knight | Asterisk 1.8 has an option for sipregs in the realtime but I can not find anyway of getting it to work. |
23:31.38 | f2Knight | yea! |
23:31.43 | devdvd | sorry, i have no idea |
23:32.05 | f2Knight | i mean I know i can do it static in the config. I just would like to keep in in a DB so that i can have several servers use it. |
23:32.31 | f2Knight | devdvd, yea doesnt seem to be much in the way of documentation on it either... :( |
23:32.46 | devdvd | if its a 1.8 feature, i dont doubt it |
23:32.56 | devdvd | i tried 1.8 then went back to 1.6 |
23:44.04 | *** join/#asterisk TehRabbitt (~TehRabbit@pool-71-172-89-155.nwrknj.fios.verizon.net) |
23:45.29 | TehRabbitt | question, i'm trying to finally get my 1.6 install working but I noticed i'm getting the following error when trying to receive a call from my DID.: http://pastebin.com/8SgsAnN7 |
23:46.04 | TehRabbitt | not sure why because I do have an extension set up with my DID # |
23:46.32 | *** join/#asterisk killown (~killown@unaffiliated/killown) |
23:47.42 | TehRabbitt | this is what I have in my extensions.conf: exten => 12013992818,1,Goto(ivrsys,s,1) |
23:48.06 | TehRabbitt | so i'm not quite sure why it's saying the extension isn't found |
23:52.12 | TehRabbitt | any ideas? |
23:58.46 | TehRabbitt | anyone here? |