[Asterisk-Users] Asterisk + ISDN4linux connectivity
Martin Mielke
martin.mielke at thales-is.com
Mon Mar 29 10:26:28 MST 2004
Hello again,
I guess I solved part of my problems...
Now I can call an internal extension which matches a cell-phone using
the ISDN-card... but Asterisk refuses to call:
---
-- Executing Dial("SIP/mmielke-b282", "Modem/g1:yyyyyyyy") in new stack
-- Called g1:yyyyyyyy
Mar 29 19:20:34 WARNING[655376]: chan_modem_i4l.c:355 i4l_read: Device
'/dev/ttyI1' lacking dialtone
-- Hungup 'Modem[i4l]/ttyI1'
== No one is available to answer at this time
---
which is false. I mean: my cell-phone is available and the ISDN-card
should be "listening" to a dialtone, as I checked it with an
ISDN-(hard)phone...
...aaaarch!... I need more tea! ;)
As always, ideas/suggestions/hints are much appreciated.
Regards,
Martin
Martin Mielke wrote:
> Hi all,
>
> I configured Asterisk as shown in
> http://www.voip-info.org/wiki-Asterisk+ISDN4Linux
>
> The box running Asterisk under SuSE 9.0 Pro has a "Eicon Diva Server
> BRI 2M" ISDN card attached and it seems to be recognized by the system.
>
> I added the following lines to:
>
> * modem.conf
> driver=i4l
> ...
> group=1
> msn=+34xxxxxxxxx
> device => /dev/ttyI0
> device => /dev/ttyI1
>
> ---
>
>
> * extensions.conf
> TRUNK=Modem/g1
> ...
> exten => mmielke,1,Dial(${TRUNK}:0yyyyyyyy) ;yyyyyyyy is cell-phone
> number...
> ...
>
> ---
>
> With all this, I get the following error messages when starting Asterisk:
> ---
> ...
> == Parsing '/etc/asterisk/modules.conf': Found
> [chan_modem.so] => (Generic Voice Modem Driver)
> == Parsing '/etc/asterisk/modem.conf': Found
> == Loading modem driver chan_modem_i4l.so => (ISDN4Linux Emulated
> Modem Driver)
> Mar 29 16:36:33 WARNING[16384]: chan_modem_i4l.c:151 i4l_init: Unable
> to set MSN to +34yyyyyyyyy
> Mar 29 16:36:33 WARNING[16384]: chan_modem.c:396 modem_setup: Modem
> Initialization Failed on '/dev/ttyI0', driver i4l.
> Mar 29 16:36:33 WARNING[16384]: chan_modem.c:736 mkif: Unable to
> configure modem '/dev/ttyI0'
> Mar 29 16:36:33 ERROR[16384]: chan_modem.c:930 load_module: Unable to
> register channel '/dev/ttyI0'
> == Unregistered channel type 'Modem'
> Mar 29 16:36:33 WARNING[16384]: loader.c:312 ast_load_resource:
> chan_modem.so: load_module failed, returning -1
> == Unregistered channel type 'Modem'
> Mar 29 16:36:33 WARNING[16384]: loader.c:358 load_modules: Loading
> module chan_modem.so failed!
> ---
>
>
> Then, because ISDN devices are "seen" as /dev/ipppN, I modified
> modems.conf to have these two lines instead:
> ---
> device => /dev/ippp0
> device => /dev/ippp1
> ---
>
> But when I launch Asterisk, it never goes beyond this point:
> ---
> [chan_modem.so] => (Generic Voice Modem Driver)
> == Parsing '/etc/asterisk/modem.conf': Found
> == Loading modem driver chan_modem_i4l.so => (ISDN4Linux Emulated
> Modem Driver)
> ---
>
> This is a CPU-grinder, as it reaches a 99.9% usage and the only way to
> stop this is hitting ctrl-c...
>
> On the messages file I see:
> ---
> Mar 29 16:35:22 pbx kernel: ippp, open, slot: 2, minor: 0, state: 0000
> Mar 29 16:35:22 pbx kernel: ippp_ccp: allocated reset data structure
> c5480000
> Mar 29 16:35:50 pbx kernel: ippp_ccp: freeing reset data structure
> c5480000
> ---
>
> Am I overseeing anything obvious?
>
> Every hint on this issue will be much appreciated.
>
>
> TIA and regards,
> Martin
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list