|
I do not use any DID, all calls come in on the same number
1112223333 so what I would like to do is simply prompt the caller to enter the
extension they wish to reach, then redirect to that extension in the [default]
context.
David A. Morrow
< Poor planning on your part does not necessarily constitute an emergency on my part! > This message has originated from Autodata Solutions. The attached material is the Confidential and Proprietary Information of Autodata Solutions. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please delete this message and notify the Autodata system administrator at [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of asterisk Sent: Wednesday, October 19, 2005 11:34 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Newbie Question: Help with incoming dial plan This is how I do it.
[default-incoming]
exten => 2691,1,Goto(extensions,3212,1) exten => 2692,1,Goto(extensions,3204,1) exten => 2693,1,Goto(extensions,3207,1) exten => 2694,1,Goto(extensions,3212,1) exten => 2695,1,Goto(extensions,3205,1) exten => 2696,1,Goto(extensions,3208,1) exten => 2697,1,Goto(extensions,1105,1) exten => 3211,1,Goto(extensions,1111,1) exten => 3223,1,Goto(extensions,3207,1) You will have to know how many digits are being
sent, in my case it is four. So for example, someone dials the DID
xxx-xxx-2691 the dialplan matches on the first line and then sends the cal to
the context "extensions" (you would replace with default) and the extension
"3212" in the first priority.
If more or less digits are being sent by the telco,
you will have to adjust the exten => xxxx to match. Sometimes they send
three.
Thanks,
Steve Totaro
|
_______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com --
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
