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  <[EMAIL PROTECTED]>

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to