[Asterisk-Users] T1 DID problem
Mike Machado
mike at homelandtel.com
Tue May 4 11:37:54 MST 2004
What signaling are you using in /etc/asterisk/zapata.conf (em, em_w,
featd)?
When I use a DTMF based signaling, I can see the actual DTMF tones as
they are received in my 'full' log. Here is an example of what I see
(not real phone number) using a signaling type of 'featd':
Apr 30 17:02:46 VERBOSE[47121]: -- Starting simple switch on
'Zap/13-1'
Apr 30 17:02:46 DEBUG[47121]: DTMF digit: * on Zap/13-1
Apr 30 17:02:46 DEBUG[47121]: DTMF digit: 5 on Zap/13-1
Apr 30 17:02:47 DEBUG[47121]: DTMF digit: 8 on Zap/13-1
Apr 30 17:02:47 DEBUG[47121]: DTMF digit: 2 on Zap/13-1
Apr 30 17:02:47 DEBUG[47121]: DTMF digit: 6 on Zap/13-1
Apr 30 17:02:47 DEBUG[47121]: DTMF digit: 2 on Zap/13-1
Apr 30 17:02:47 DEBUG[47121]: DTMF digit: 3 on Zap/13-1
Apr 30 17:02:47 DEBUG[47121]: DTMF digit: 2 on Zap/13-1
Apr 30 17:02:47 DEBUG[47121]: DTMF digit: 9 on Zap/13-1
Apr 30 17:02:47 DEBUG[47121]: DTMF digit: 5 on Zap/13-1
Apr 30 17:02:48 DEBUG[47121]: DTMF digit: 7 on Zap/13-1
Apr 30 17:02:48 DEBUG[47121]: DTMF digit: * on Zap/13-1
Apr 30 17:02:48 DEBUG[47121]: DTMF digit: 7 on Zap/13-1
Apr 30 17:02:48 DEBUG[47121]: DTMF digit: 0 on Zap/13-1
Apr 30 17:02:48 DEBUG[47121]: DTMF digit: 4 on Zap/13-1
Apr 30 17:02:48 DEBUG[47121]: DTMF digit: 5 on Zap/13-1
Apr 30 17:02:48 DEBUG[47121]: DTMF digit: 9 on Zap/13-1
Apr 30 17:02:48 DEBUG[47121]: DTMF digit: 7 on Zap/13-1
Apr 30 17:02:49 DEBUG[47121]: DTMF digit: 1 on Zap/13-1
Apr 30 17:02:49 DEBUG[47121]: DTMF digit: 2 on Zap/13-1
Apr 30 17:02:49 DEBUG[47121]: DTMF digit: 0 on Zap/13-1
Apr 30 17:02:49 DEBUG[47121]: DTMF digit: 1 on Zap/13-1
So I can see I am being passed *<ani>*<dnis>. This might help you track
down if you are actually receiving 4 digit dnis.
On Tue, 2004-05-04 at 11:05, Pat Boyle wrote:
> Thanks for the reply.
>
> If I delete the "6" extension and leave the 6020 extension, asterisk
> won't answer it and I get the invalid extension message from
> asterisk. I suspect that for some reason, the zaptel driver is only
> passing forward "6" of the full four digits "6020."
>
> Any thoughts on why I'm only getting a single digit of the 4 digit
> DID?
> -Pat
>
>
> On Tue, 2004-05-04 at 11:52, Pat Boyle wrote:
> > -- zaptel.conf --
> > span=1,0,0,esf,b8zs
> > e&m=1-8
> > loadzone=us
> > defaultzone=us
> >
> > -- extensions.conf --
> > ; Need an extension to pick up calls from the T1 that uses e&m wink
> > ; This comes in as a 6 instead of 4 full digits
> > ; then pass to the s extension
> > exten => 6,1,Wait(1)
> > exten => 6,2,Goto(incoming,s,1)
>
> Get that out of your incoming. You have to match on as many of the
> unique digits they are sending to you. Don't include any other
> contexts
> that might match early. Specifically your incoming should probably
> just
> contain a list of your DID numbers and a gotos that direct it to the
> right sections of the dialplan.
>
> exten => 1111,1,goto(Sales-in,s,1)
> exten => 2222,1,goto(Tech-in,s,1)
> exten => 3333,1,goto(vmail,s,1)
> exten => 4444,1,goto(extensions,110,1)
> exten => 5555,1,goto(extensions,111,1)
>
> Get the picture? With DID you have to be careful not to match too
> early,
> and this will help you avoid early matches by only being able to match
> to the exact DID numbers being sent.
>
>
> > -- zapata.conf --
> > [channels]
> > context=incoming
> > signalling=em_w
> > ; rxwink=600
> > echocancel=yes
> > echotraining=yes
> > group=1
> > immediate=no
> > channel => 1-8
> --
> Steven Critchfield <critch at basesys.com>
>
> ----- Original Message -----
> From: Pat Boyle
> To: asterisk-users at lists.digium.com
> Sent: Tuesday, May 04, 2004 9:52 AM
> Subject: T1 DID problem
>
> Hello,
> I have a T1 (not PRI) plugged into my Asterisk server with a T100P
> card.
>
> Everything is working well, except I only get the first digit of the 4
> digit DID in Asterisk. The T1 provider (Eschelon) tried switching to
> 7 digits, and I only got the first digit of the 7.
>
> Can anybody help? We're adding another DID and I need to trap it
> correctly.
>
> System info:
> Asterisk 0.7.2
> Zaptel 9.1
> Redhat Fedora Core 1
>
> Thanks.
>
> Here are snippets from the relevant files:
>
> -- zaptel.conf --
> span=1,0,0,esf,b8zs
> e&m=1-8
> loadzone=us
> defaultzone=us
>
> -- extensions.conf --
> ; Need an extension to pick up calls from the T1 that uses e&m wink
> ; This comes in as a 6 instead of 4 full digits
> ; then pass to the s extension
> exten => 6,1,Wait(1)
> exten => 6,2,Goto(incoming,s,1)
>
> -- zapata.conf --
> [channels]
> context=incoming
> signalling=em_w
> ; rxwink=600
> echocancel=yes
> echotraining=yes
> group=1
> immediate=no
> channel => 1-8
>
More information about the asterisk-users
mailing list