I am trying to get Asterisk working with ISDN. Since you have have it working, can you share with me you config files.
I have the contrib running and I can connect but I am having problems with geting the config right.
Hi, sorry for answering so late, there wasn't time for me to post earlier...
First of all, use voip-info.org -- you have to understand the basics of extensions, sip and modem.conf before using Asterisk. - You can only get along with him when you're able to talk to him. That was my final experience.
1. modify inid.d for Hisax (the driver for passive ISDN cards) to fit your card (Two AVM Fritz PCI in my case):
/sbin/e-smith/config setprop isdn Type 27,27
/sbin/e-smith/config setprop isdn Protocol 2,2
for a single card:
/sbin/e-smith/config setprop isdn Type 27
/sbin/e-smith/config setprop isdn Protocol 2
If you have a different card, google for the Hisax type code.
2. modem.conf
context=default
driver=i4l
type=autodetect
dialtype=tone
mode=ring
group=1
msn=921292
incomingmsn=921293,921292,921291,9233120,9233121,9233122,2957
outgoingmsn=921292
device => /dev/ttyI2
device => /dev/ttyI3
group=2
msn=921289
incomingmsn=921289,921290,921716
outgoingmsn=921289
device => /dev/ttyI0
device => /dev/ttyI1
3. extensions.conf
exten => _98.,1,Answer
exten => _98.,2,Playback(waitconnect)
exten => _98.,3,Dial(Modem/g1:${EXTEN:2},240,Tm)
exten => _98.,4,Dial(Modem/g2:${EXTEN:2},240,Tm)
exten => _98.,5,Playback(unavail)
exten => _98.,6,Hangup
The _98. wants numbers beginning with 98 to use the ISDN groups to dial out. To use the number that is dialled by the client but substract the two prefix digits to give Hisax only the number to dial via ISDN, I say ${EXTEN:2}. Thats also a famous source for malfuncions. And be aware of the stripmsd tag in modem.conf, it can also be used to substract digits.
Hope this helps.
rabbit