Re: [Asterisk-Users] NetJet Cards

2003-11-03 Thread Matthew Enger
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 => _004,1,Ringing
exten => _004,2,Dial(modem/g1:${EXTEN:1})
exten => _004,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
[EMAIL PROTECTED]





On Mon, 2003-11-03 at 21:24, Chris Wilson wrote:
> Hi Matthew,
> 
> On 2 Nov 2003, Matthew Enger wrote:
> 
> > exten => _004,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 <[EMAIL PROTECTED]>
Xintegration

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] NetJet Cards

2003-11-03 Thread Chris Wilson
Hi Matthew,

On 2 Nov 2003, Matthew Enger wrote:

> exten => _004,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.
-- 
   ___ __ _
 / __// / ,__(_)_  | Chris Wilson -- UNIX Firewall Lead Developer |
/ (_ / ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk |
\ _//_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 |

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] NetJet Cards

2003-11-01 Thread Matthew Enger
Hello,

Thanks, that helped a bit:

-- Executing Dial("SIP/1011-506f", "modem/g1/V0412463080") in new
stack
-- Couldn't call g1/V0412463080
-- Hungup 'Modem[i4l]/ttyI0'
  == Everyone is busy at this time
-- Executing Congestion("SIP/1011-506f", "") in new stack
  == Spawn extension (international, 00412463080, 2) exited non-zero on
'SIP/1011-506f'

I have the following in:

extensions.conf:
exten => _004,1,Dial(modem/g1/V${EXTEN:1})
exten => _004,2,Congestion

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
   
   Any ideas?

Thanks,

Matthew Enger
[EMAIL PROTECTED]




On Sun, 2003-11-02 at 16:24, Eric Wieling wrote:
> You are missing a $ in front of {EXTEN:1}.  It should be ${EXTEN:1}
> 
> On Sat, 2003-11-01 at 22:55, Matthew Enger wrote:
> > Hello,
> > 
> > I am trying to use 2 netjet cards under asterisk and isdn4linux. I am
> > having a hard time trying to get them to work in terms of dial out. Does
> > anyone have a working config I could look at for even one card (tried
> > that, not much luck either).
> > 
> > When i dial out:
> > -- Accepting AUTHENTICATED call from 172.16.11.2, requested format =
> > 2, actual format = 2
> > -- Executing Dial("[EMAIL PROTECTED]:5036]/2",
> > "modem/g1/v{EXTEN:1}") in new stack
> > -- Called g1/v{EXTEN:1}
> > -- Modem[i4l]/ttyI0 is busy
> > -- Hungup 'Modem[i4l]/ttyI0'
> >   == Everyone is busy at this time
> > -- Executing Congestion("[EMAIL PROTECTED]:5036]/2", "") in new
> > stack
> >   == Spawn extension (international, 90412463080, 2) exited non-zero on
> > '[EMAIL PROTECTED]:5036]/2'
> > -- Hungup '[EMAIL PROTECTED]:5036]/2'
> > -- Registered 'menger' (AUTHENTICATED) at 172.16.11.2:5036
> > 
> > I am using devices /dev/ttyI0 for the first card and ttyI1 for the
> > second card. I have loaded the module up using: 
> > modprobe hisax type=20,20 protocol=2,2 id="HiSax"
> > 
> > I am running RedHat Linux 9.0 wth latest kernel from redhat.
> > 
> > Any help apart from buy a capi card would be most appreciated.
> > 
> > Thanks,
> > 
> > Matthew Enger
> > [EMAIL PROTECTED]
> > 
> > 
> > 
-- 
Matthew Enger <[EMAIL PROTECTED]>
Xintegration

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] NetJet Cards

2003-11-01 Thread Eric Wieling
You are missing a $ in front of {EXTEN:1}.  It should be ${EXTEN:1}

On Sat, 2003-11-01 at 22:55, Matthew Enger wrote:
> Hello,
> 
> I am trying to use 2 netjet cards under asterisk and isdn4linux. I am
> having a hard time trying to get them to work in terms of dial out. Does
> anyone have a working config I could look at for even one card (tried
> that, not much luck either).
> 
> When i dial out:
> -- Accepting AUTHENTICATED call from 172.16.11.2, requested format =
> 2, actual format = 2
> -- Executing Dial("[EMAIL PROTECTED]:5036]/2",
> "modem/g1/v{EXTEN:1}") in new stack
> -- Called g1/v{EXTEN:1}
> -- Modem[i4l]/ttyI0 is busy
> -- Hungup 'Modem[i4l]/ttyI0'
>   == Everyone is busy at this time
> -- Executing Congestion("[EMAIL PROTECTED]:5036]/2", "") in new
> stack
>   == Spawn extension (international, 90412463080, 2) exited non-zero on
> '[EMAIL PROTECTED]:5036]/2'
> -- Hungup '[EMAIL PROTECTED]:5036]/2'
> -- Registered 'menger' (AUTHENTICATED) at 172.16.11.2:5036
> 
> I am using devices /dev/ttyI0 for the first card and ttyI1 for the
> second card. I have loaded the module up using: 
> modprobe hisax type=20,20 protocol=2,2 id="HiSax"
> 
> I am running RedHat Linux 9.0 wth latest kernel from redhat.
> 
> Any help apart from buy a capi card would be most appreciated.
> 
> Thanks,
> 
> Matthew Enger
> [EMAIL PROTECTED]
> 
> 
> 
-- 
Sample configs, scripts, more : http://www.fnords.org/~eric/asterisk/

BTEL Consulting 504-899-1387 or 850-484-4545 or 877-677-9643

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] NetJet Cards

2003-11-01 Thread Matthew Enger
Hello,

I am trying to use 2 netjet cards under asterisk and isdn4linux. I am
having a hard time trying to get them to work in terms of dial out. Does
anyone have a working config I could look at for even one card (tried
that, not much luck either).

When i dial out:
-- Accepting AUTHENTICATED call from 172.16.11.2, requested format =
2, actual format = 2
-- Executing Dial("[EMAIL PROTECTED]:5036]/2",
"modem/g1/v{EXTEN:1}") in new stack
-- Called g1/v{EXTEN:1}
-- Modem[i4l]/ttyI0 is busy
-- Hungup 'Modem[i4l]/ttyI0'
  == Everyone is busy at this time
-- Executing Congestion("[EMAIL PROTECTED]:5036]/2", "") in new
stack
  == Spawn extension (international, 90412463080, 2) exited non-zero on
'[EMAIL PROTECTED]:5036]/2'
-- Hungup '[EMAIL PROTECTED]:5036]/2'
-- Registered 'menger' (AUTHENTICATED) at 172.16.11.2:5036

I am using devices /dev/ttyI0 for the first card and ttyI1 for the
second card. I have loaded the module up using: 
modprobe hisax type=20,20 protocol=2,2 id="HiSax"

I am running RedHat Linux 9.0 wth latest kernel from redhat.

Any help apart from buy a capi card would be most appreciated.

Thanks,

Matthew Enger
[EMAIL PROTECTED]






-- 
Matthew Enger <[EMAIL PROTECTED]>
Xintegration

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users