Daniel Gonzalez
2004-Jun-22 14:28 UTC
[Asterisk-Users] Accessing ISDN with avm bluetooth hardware
Hi *, This is my first message to this list, so I hope I am not breaking any rule with my post. My question is the following: can I establish a voice connection over an ISDN interface by using a bluetooth dongle to connect to the ISDN access point? Here follow the details: I have compiled and configured asterisk. Everything seems fine except that when I configure asterisk to use the ISDN interface, it fails with the following message: .... == Loading modem driver chan_modem_i4l.so => (ISDN4Linux Emulated Modem Driver) Jun 23 01:00:24 WARNING[16384]: chan_modem_i4l.c:144 i4l_init: Unable to set to voice mode Jun 23 01:00:24 WARNING[16384]: chan_modem.c:396 modem_setup: Modem Initialization Failed on '/dev/ttyI0', driver i4l. Jun 23 01:00:24 WARNING[16384]: chan_modem.c:736 mkif: Unable to configure modem '/dev/ttyI0' Jun 23 01:00:24 ERROR[16384]: chan_modem.c:930 load_module: Unable to register channel '/dev/ttyI0' == Unregistered channel type 'Modem' Jun 23 01:00:24 WARNING[16384]: loader.c:313 ast_load_resource: chan_modem.so: load_module failed, returning -1 == Unregistered channel type 'Modem' Jun 23 01:00:24 WARNING[16384]: loader.c:359 load_modules: Loading module chan_modem.so failed! I am using the following HW: - AVM bluefritz usb: this is an usb dongle to connect to the ISDN adapter - AVM bluefritz ap-x: a 'mini-PBX' which has 2 analog telephone interfaces, 1 bluetooth interface and 1 usb interface. With this HW I am able to connect to the Internet, but I am not able to perform voice calls. Either it is a configuration issue (I hope), or the HW that I have has no voice capabilities. The remote device has the following capabilities: root@trident iaxcomm # hcitool info 00:04:0E:90:38:F6 Requesting information ... BD Address: 00:04:0E:90:38:F6 Device Name: Bluetooth ISDN Access Point LMP Version: 1.1 (0x1) LMP Subversion: 0x1 Manufacturer: AVM Berlin (31) Features: 0x2f 0xbe 0x05 0x00 0x00 0x00 0x00 0x00 <3-slot packets> <5-slot packets> <encryption> <slot offset> <role switch> <RSSI> <channel quality> <SCO link> <HV2 packets> <HV3 packets> <A-law log> <CVSD> <power control> This is the relevant part of the configuration files: /etc/asterisk/modem.conf ------------------------ driver=i4l group=1 msn=* device => /dev/ttyI0 device => /dev/ttyI1 This is the list of modules which are loaded into my system: root@trident iaxcomm # lsmod Module Size Used by ppp_async 10208 0 snd_ali5451 20772 0 snd_ac97_codec 62372 1 snd_ali5451 ppp_deflate 4640 0 zlib_deflate 21784 1 ppp_deflate zlib_inflate 21280 1 ppp_deflate bsd_comp 5280 0 ppp_synctty 7712 1 ppp_generic 22516 8 ppp_async,ppp_deflate,bsd_comp,ppp_synctty slhc 6368 1 ppp_generic capidrv 30036 1 isdn 110464 1 capidrv capi 16416 6 capifs 3912 2 capi cmtp 16896 3 kernelcapi 43584 3 capidrv,capi,cmtp l2cap 21540 3 cmtp snd_pcm_oss 50724 0 snd_pcm 88196 2 snd_ali5451,snd_pcm_oss snd_page_alloc 9060 1 snd_pcm snd_timer 22468 1 snd_pcm snd_mixer_oss 18144 1 snd_pcm_oss snd 48836 6 snd_ali5451,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss bfusb 11008 3 firmware_class 7616 1 bfusb bluetooth 44804 7 cmtp,l2cap,bfusb usb_storage 26912 0 ohci_hcd 17284 0 ntfs 86764 1 capifs is mounted too (I am not sure I need this, though): root@trident iaxcomm # mount ... capifs on /dev/capi type capifs (rw) These are the contents of /proc/capi ----------------------> /proc/capi/capidrv 0 0 111 0 ----------------------> /proc/capi/capi20ncci 2 0x10101 ----------------------> /proc/capi/capi20 0 0 0 0 0 0 0 2 7868 7482 7488 7862 ----------------------> /proc/capi/driver ----------------------> /proc/capi/applstats 1 0 0 111 0 2 7868 7482 7488 7862 ----------------------> /proc/capi/applications 1 -2 16 2048 2 2 8 2048 ----------------------> /proc/capi/contrstats 1 8998 8482 8611 8980 ----------------------> /proc/capi/controller 1 cmtp running 00:04:0E:90:38:F6 CAPI Message Transport Protocol ----------------------> /proc/capi/controllers/1 CAPI Message Transport Protocol addr 00:04:0E:90:38:F6 ctrl 1 appl 2 -> 5