[asterisk-users] Dialplan strategy suggestions needed

Myles Wakeham myles at techsol.org
Sat Aug 1 10:51:39 CDT 2009


Tim wrote:

 >Sure, have a top level context that inbound calls from the ITSP go >into:
 >[from-ITSP]
 >exten => 2125551112,1,Goto(companya,${EXTEN},1)
 >exten => 2125551111,1,Goto(companyb,${EXTEN},1)
 >; then separate contexts for each company:
 >[companya]
 >extern => 2125551111,1,.....
 >extern => 2125551111,2,.....
 >[companyb]
 >extern => 2125551112,1,.....
 >extern => 2125551112,2,.....

Thanks.  Yes, that is what I would have thought.  But the problem is 
that my ITSP has one entry in sip.conf and this goes to one context. 
Should I repeat that entry for each DID that could come in from the ITSP 
in sip.conf to allow this to work?

Myles

-- 
=======================
Myles Wakeham
Director of Engineering
Tech Solutions USA, Inc.
Scottsdale, Arizona  USA
http://www.techsolusa.com
Phone +1-480-451-7440




More information about the asterisk-users mailing list