[Asterisk-Users] NetJet Cards

Matthew Enger menger at xi.com.au
Mon Nov 3 04:05:36 MST 2003


Hello,

With help from Adam, I managed to get it working. I have put in the bits
which might help others in the future below:

Kernel:
I had to compile a fresh kernel source and apply the voice patch
available from www.traverse.com.au.

Since I had 2 cards, I did a modprobe in my boot scripts of the
following:
/sbin/modprobe hisax type=20,20 protocol=2,2 id="HiSax"

modem.conf:
[interfaces]
context=remote
driver=i4l
stripmsd=0
dialtype=tone
mode=immediate
group=1         ; group=1,2,3,9-12
msn=0397468733&L*
stripmsd=0
device => /dev/ttyI0
device => /dev/ttyI1

This seems to work for both incoming calls and outgoing calls. The only
issue I still seem to be having but have not had much chance to
investigate is pressing buttons to respond to menus on calls made out.
But I am not sure if it is the config, phone or user who is the problem
yet:)

Extensions.conf:
exten => _004XXXXXXXX,1,Ringing
exten => _004XXXXXXXX,2,Dial(modem/g1:${EXTEN:1})
exten => _004XXXXXXXX,3,Congestion

this assumes that you are using 0 to indicate an outgoing call and that
the number to dial begins with 04 (australian mobile). I found I needed
the Ringing bit in front of dial so that the user knew that the number
was dialing (although it does slow down dial out by 2 or so seconds).

Adam pointed out that DMTF stuff showing up from kernel: (dmesg)
dtmf: tt='1'

which I might want to try and turn off. Have not looked into this
further.

I hope this helps.

Thanks,

Matthew Enger
menger at xi.com.au





On Mon, 2003-11-03 at 21:24, Chris Wilson wrote:
> Hi Matthew,
> 
> On 2 Nov 2003, Matthew Enger wrote:
> 
> > exten => _004XXXXXXXX,1,Dial(modem/g1/V${EXTEN:1})
> 
> Try this Dial command:
> 
> Dial(Modem/ttyI0:${EXTEN:1})
> 
> > msn=0397468733&L*
> 
> Try removing "&L*" from the MSN, it looks wrong to me.
> 
> You might find that ttyI0 and ttyI1 are both channels of the first card, 
> and that you will need ttyI2 and ttyI3 for the second card. But I haven't 
> tested isdn4linux with more than one card.
> 
> Please let me know if you get it working, I had major problems with 
> Asterisk hanging using the isdn4linux and other modem drivers. Eventually 
> I had to switch to CAPI.
> 
> Cheers, Chris.
-- 
Matthew Enger <menger at xi.com.au>
Xintegration




More information about the asterisk-users mailing list