Koozali.org: home of the SME Server

Problems with SME + ISDN4Linux + Asterisk

hnagin

Problems with SME + ISDN4Linux + Asterisk
« Reply #15 on: September 16, 2004, 04:00:00 PM »
Dear whte_rbt

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.

Thanks
Hittendra

guest22

Problems with SME + ISDN4Linux + Asterisk
« Reply #16 on: September 16, 2004, 11:09:24 PM »
Why are you trying modem.conf with a AVM Fritz????

The AVM Fritz is considered a zaptel device handled by capi2, not by modem. Why? Cause I have 3+ running AVM Fritz! cards running in 1 box handled by capi2.

www.junghanns.net

Schuss ;-)

hnagin

Problems with SME + ISDN4Linux + Asterisk
« Reply #17 on: September 17, 2004, 12:34:05 PM »
Hello

As I understand it SME does not come with CAPI. This needs to be complied and installed. I am tring to avoid that if possible.
Rolling Eyes

Regards
Hittendra

guest22

Problems with SME + ISDN4Linux + Asterisk
« Reply #18 on: September 17, 2004, 06:28:19 PM »
Specific drivers need to be compiled... :-(

If you need them, reply with a request and I will make them available.

RequestedDeletion

organetic

AVM Fritz PCI on SME Asterisk PBX
« Reply #19 on: September 22, 2004, 09:47:49 PM »
I'm just installing an AVM Fritz PCI v2 card...

Could anyone tell me how can I use it with Asterisk on SME 6.0.1? Do I need specific drivers like RequestedDeletion mentioned? If so, how can it be done?

Best regards and keep up the good work!

Nuno

guest22

Problems with SME + ISDN4Linux + Asterisk
« Reply #20 on: September 22, 2004, 09:56:50 PM »
Go here: http://www.avm.de/en/Downloads/index.php3

Download the linux drivers and compile them. Ofcourse you need the dev-tools for 6.0.1-1.

RequestedDeletion

whte_rbt

Problems with SME + ISDN4Linux + Asterisk
« Reply #21 on: September 27, 2004, 11:22:49 PM »
Quote from: "hnagin"
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

rulle_mus

capi confused
« Reply #22 on: January 18, 2005, 12:13:13 PM »
Hi,

Is the hisax driver that comes with SME 6.0-01 sufficient to fire up my Fritz card with i4l? as described by rabbit.

e.g. issuing the following:

modprobe hisax
/sbin/e-smith/config setprop isdn Type 27
/sbin/e-smith/config setprop isdn Protocol 2  

edit modem.conf and extensions.conf

should be enough to use my Fritz with Asterisk on SME?

Regards, Mus

whte_rbt

Problems with SME + ISDN4Linux + Asterisk
« Reply #23 on: January 18, 2005, 12:33:09 PM »
Its a bit of time ago now for me, but yes, with the 1.0 Asterisk release it should work proper on a Fritz! passive device and the i4l hanging around with SME.

There's only one thing: with some clients you get DTMF recognitions you don't want do have (caused by normal speaking). I4l is a bit tricky on this. For example, when using the Grandstream BudgeTone, you have to configure the device to send DTMFs not as SIP but RFC-XXX. Choosing SIP (for DTMF management) causes hangups with this phone.

Just follow the instructions above in this thread. They reconstruct my final and successful investments to this issue.

For about half a year my company is phoning with Asterisk exclusively (ISDN & SIP provider) and everyone's happy...

Great stuff, after having some nights configuring...