[Asterisk-Users] Newbie Question: Help with incoming dial plan
asterisk
asterisk at totarotechnologies.com
Wed Oct 19 08:34:26 MST 2005
Newbie Question: Help with incoming dial planThis 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
----- Original Message -----
From: Dave Morrow
To: Asterisk Users Mailing List - Non-Commercial Discussion
Sent: Tuesday, October 18, 2005 11:26 AM
Subject: [Asterisk-Users] Newbie Question: Help with incoming dial plan
Hi all. I just got Asterisk installed with a Digium TE110P T1 card. Have it working for outbound calls so I know that all the hardware is functioning.
Since all inbound calls come through my T1, I would like to setup a dial plan that handles the incoming call and tells the caller to enter the extension they wish to reach. All of my real extensions are in the [default] context, and the Zaptel is configured to go to the [default-incoming] context. It is the [default-incoming] context that I am unsure of how to set.
If anyone could provide some insight, it would be much appreciated...get me started at least.
David A. Morrow
Technical Systems Lead
Autodata Solutions Company
David.Morrow at Autodata.Net
http://www.autodata.net
Tel: (519) 951-6079
Fax: (519) 451-6615
< 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 Administrator at autodata.net <mailto:Administrator at autodata.net>
------------------------------------------------------------------------------
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.1/136 - Release Date: 10/15/2005
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051018/16f26138/attachment.htm
More information about the asterisk-users
mailing list