[Asterisk-Users] Asterisk + ISDN4linux connectivity

Martin Mielke martin.mielke at thales-is.com
Mon Mar 29 07:44:57 MST 2004


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





More information about the asterisk-users mailing list