[Asterisk-Users] asterisk + i4l problems

Paolo paoletto at gmail.com
Mon Jul 25 05:07:54 MST 2005


Hello!

Im pretty new of asterisk world: my goal would be using iaxcomm to call ppl over POTN.

Yesterday i configured asterisk to be able to hear a song (with Playback() command) with
iaxcomm, and it was wonderful.

Now, today i tried to configure asterisk to use my ISDN4Linux supported card (a plain HFC card)
with asterisk.

i configured modem.conf this way, after reading http://www.voip-info.org/tiki-index.php?page=Asterisk+ISDN4Linux:

[interfaces]
context=incoming-linea
driver=i4l      ; isdn4linux - an alternative to i4l is to use chan_capi
language=it
type=autodetect
stripmsd=0
dialtype=tone
mode=immediate
group=1         ; group=1,2,3,9-12
msn=734631522
device => /dev/ttyI0
;device => /dev/ttyI1


but when i start asterisk -vvvc, i get:

  == Parsing '/etc/asterisk/modem.conf': Found
  == Loading modem driver chan_modem_i4l.so => (ISDN4Linux Emulated Modem Driver)
Jul 25 11:47:32 WARNING[26639]: chan_modem_i4l.c:161 i4l_init: Unable to set to voice mode
Jul 25 11:47:32 WARNING[26639]: chan_modem.c:406 modem_setup: Modem Initialization Failed on '/dev/ttyI0', driver i4l.
Jul 25 11:47:32 WARNING[26639]: chan_modem.c:762 mkif: Unable to configure modem '/dev/ttyI0'
Jul 25 11:47:32 ERROR[26639]: chan_modem.c:956 load_module: Unable to register channel '/dev/ttyI0'
  == Unregistered channel type 'Modem'
Jul 25 11:47:32 WARNING[26639]: loader.c:345 ast_load_resource: chan_modem.so: load_module failed, returning -1
  == Unregistered channel type 'Modem'
Jul 25 11:47:32 WARNING[26639]: loader.c:391 load_modules: Loading module chan_modem.so failed!


i checked rights on devices (to be sure i changed to 666 both ttyI0 and ttyI1)
I also did the test suggested in the voip-info.org page, and i can succesfully communicate between the two ttyI* devices.

So i really don't know what problem is this :(


oh: I use i4l asterisk driver because i need to use isdnlog, and i dont know if other drivers allow me to still use it .
During my tests i tried to kill isdnlog (i dont know if it may block the devices) but i got always those errors :(

Thank you
Paolo


ps: I'm subscribed to the list but  i havetn still received confirmation



More information about the asterisk-users mailing list