<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Newbie Question: Help with incoming dial plan</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>exten =>
s,1,Answer<BR>exten => s,2,Wait,2<BR>exten =>
s,3,Background(enter-ext-of-person)<BR>exten => s,4,DigitTimeout,5<BR>exten
=> s,5,ResponseTimeout,10<BR></FONT></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Dave
Morrow<BR><B>Sent:</B> 18 October 2005 16:41<BR><B>To:</B> Asterisk Users
Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> RE:
[Asterisk-Users] Newbie Question: Help with incoming dial
plan<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=208573915-18102005><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Arial size=2>David A. Morrow</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Arial size=2>Technical Systems
Lead</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial size=2>Autodata
Solutions Company</FONT></SPAN> <BR><SPAN lang=en-us></SPAN><A
href="mailto:David.Morrow@Autodata.Net"><SPAN lang=en-us><U><FONT face=Arial
color=#0000ff size=2>David.Morrow@Autodata.Net</FONT></U></SPAN></A><SPAN
lang=en-us></SPAN> <BR><SPAN lang=en-us><FONT face=Arial size=2><A
href="http://www.autodata.net/">http://www.autodata.net</A></FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Arial size=1>Tel: (519) 951-6079</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Arial size=1>Fax: (519) 451-6615</FONT><FONT
face=Arial> </FONT></SPAN> </P>
<P><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>< Poor planning
on your part does not necessarily constitute an emergency on my part!
></FONT></SPAN> </P>
<P><SPAN lang=en-us><FONT face=Arial size=1>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<U>
</U></FONT><U><FONT face=Arial color=#0000ff size=1>Administrator@autodata.net
<</FONT></U><FONT face=Arial size=1><A
href="mailto:Administrator@autodata.net">mailto:Administrator@autodata.net</A></FONT><U><FONT
face=Arial color=#0000ff size=1>></FONT></U></SPAN></P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of
</B>asterisk<BR><B>Sent:</B> Wednesday, October 19, 2005 11:34
AM<BR><B>To:</B> Asterisk Users Mailing List - Non-Commercial
Discussion<BR><B>Subject:</B> Re: [Asterisk-Users] Newbie Question: Help with
incoming dial plan<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>This is how I do it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[default-incoming]<BR>exten =>
2691,1,Goto(extensions,3212,1)<BR>exten =>
2692,1,Goto(extensions,3204,1)<BR>exten =>
2693,1,Goto(extensions,3207,1)<BR>exten =>
2694,1,Goto(extensions,3212,1)<BR>exten =>
2695,1,Goto(extensions,3205,1)<BR>exten =>
2696,1,Goto(extensions,3208,1)<BR>exten =>
2697,1,Goto(extensions,1105,1)<BR>exten =>
3211,1,Goto(extensions,1111,1)<BR>exten =>
3223,1,Goto(extensions,3207,1)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Steve Totaro</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=david.morrow@autodata.net
href="mailto:david.morrow@autodata.net">Dave Morrow</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing List -
Non-Commercial Discussion</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, October 18, 2005 11:26
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Asterisk-Users] Newbie
Question: Help with incoming dial plan</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><FONT face=Arial size=2></FONT><BR></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>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.</FONT></P>
<P><FONT face=Arial size=2>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.</FONT></P>
<P><FONT face=Arial size=2>If anyone could provide some insight, it would be
much appreciated…….get me started at least.</FONT> </P>
<P><FONT face=Arial size=2>David A. Morrow</FONT> <BR><FONT face=Arial
size=2>Technical Systems Lead</FONT> <BR><FONT face=Arial size=2>Autodata
Solutions Company</FONT> <BR><A
href="mailto:David.Morrow@Autodata.Net"><U><FONT face=Arial color=#0000ff
size=2>David.Morrow@Autodata.Net</FONT></U></A> <BR><A
href="http://www.autodata.net"><U><FONT face=Arial color=#0000ff
size=2>http://www.autodata.net</FONT></U></A> <BR><FONT face=Arial
size=1>Tel: (519) 951-6079</FONT> <BR><FONT face=Arial size=1>Fax: (519)
451-6615</FONT><FONT face=Arial> </FONT> </P>
<P><FONT face=Arial color=#808080 size=1>< Poor planning on your part
does not necessarily constitute an emergency on my part! ></FONT> </P>
<P><FONT face=Arial size=1>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<U> </U></FONT><U><FONT face=Arial color=#0000ff
size=1>Administrator@autodata.net <</FONT></U><A
href="mailto:Administrator@autodata.net"><U></U><U><FONT face=Arial
color=#0000ff
size=1>mailto:Administrator@autodata.net</FONT></U></A><U><FONT face=Arial
color=#0000ff size=1>></FONT></U></P>
<P></P><U><FONT face=Arial color=#0000ff size=1></FONT></U><U><FONT
face=Arial color=#0000ff size=1></FONT></U>
<HR>
<P></P>_______________________________________________<BR>--Bandwidth and
Colocation sponsored by Easynews.com --<BR><BR>Asterisk-Users mailing
list<BR>Asterisk-Users@lists.digium.com<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR>To
UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users
<P>
<HR>
<P></P>No virus found in this incoming message.<BR>Checked by AVG
Anti-Virus.<BR>Version: 7.0.344 / Virus Database: 267.12.1/136 - Release
Date: 10/15/2005<BR></BLOCKQUOTE></BLOCKQUOTE>
<DIV><P><HR>
NOTICE: This e-mail message and all attachments<BR>
transmitted with it may contain legally privileged and<BR>
confidential information intended solely for the use of<BR>
the addressee. If the reader of this message is not the<BR>
intended recipient, you are hereby notified that any<BR>
reading, dissemination, distribution, copying, or other<BR>
use of this message or its attachments, hyperlinks, or<BR>
any other files of any kind is strictly prohibited. If you<BR>
have received this message in error, please notify the<BR>
sender immediately by telephone (+44-1865-265500) or by<BR>
a reply to this electronic mail message and delete this<BR>
message and all copies and backups thereof.<BR>
</P></DIV>
</BODY></HTML>