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@basesys.com>
----- Original Message -----
From: Pat Boyle
To: asterisk-users@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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20040504/3c714467/attachment.htm