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:") in new stack
-- Called g1:
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...
...rch!... 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=+34x
device => /dev/ttyI0
device => /dev/ttyI1
---
* extensions.conf
TRUNK=Modem/g1
...
exten => mmielke,1,Dial(${TRUNK}:0) ; 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 +34y
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:
Mar 29 16:35:22 pbx kernel: ippp_ccp: allocated reset data structure
c548
Mar 29 16:35:50 pbx kernel: ippp_ccp: freeing reset data structure
c548
---
Am I overseeing anything obvious?
Every hint on this issue will be much appreciated.
TIA and regards,
Martin
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users