<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>Just guessing but look for something like this.....
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>This is from an old config of mine...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>[trunkint] <BR>; <BR>; International long distance through
trunk <BR>; <BR>exten => _9011.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
<BR>exten => _9011.,2,Congestion </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>[trunkld] <BR>; <BR>; Long distance context accessed
through trunk <BR>; <BR>exten =>
_91NXXNXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) <BR>exten =>
_91NXXNXXXXXX,2,Congestion </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>[trunklocal] <BR>; <BR>; Local seven-digit dialing accessed
through trunk interface <BR>;<BR>exten =>
_9XXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<BR>exten =>
_9XXXXXXX,2,Congestion<BR> <BR>exten =>
_9480NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<BR>exten =>
_9480NXXXXXX,2,Congestion</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>exten =>
_9602NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<BR>exten =>
_9602NXXXXXX,2,Congestion</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>exten =>
_9623NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<BR>exten =>
_9623NXXXXXX,2,Congestion</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>[trunktollfree] <BR>; <BR>; Long distance context accessed
through trunk interface <BR>; <BR>exten =>
_91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) <BR>exten =>
_91800NXXXXXX,2,Congestion <BR>exten =>
_91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) <BR>exten =>
_91888NXXXXXX,2,Congestion <BR>exten =>
_91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) <BR>exten =>
_91877NXXXXXX,2,Congestion <BR>exten =>
_91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) <BR>exten =>
_91866NXXXXXX,2,Congestion </FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>[tofwdiax]<BR>exten => _7.,1,SetCallerId,${FWDCIDNAME}
<BR>exten =>
_7.,2,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:3},60,r)<BR>exten
=> _7.,3,Congestion<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>Note that I had a context for _9XXXXXXX</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>That meant if 9 and some nubmer dial my variables
there...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>Check the WiKi at <A
href="http://www.voip-info.org">www.voip-info.org</A> and you can see more on
Dial Plan</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>Cheers,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2>Wiley</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=239335521-14042005><FONT face=Arial
color=#0000ff size=2> </DIV></FONT></SPAN><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>Michael Di
Martino<BR><B>Sent:</B> Thursday, April 14, 2005 2:48 PM<BR><B>To:</B>
asterisk-users@lists.digium.com<BR><B>Subject:</B> [Asterisk-Users] dial
plan<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=453194321-14042005>I have just
inherited a Asterisk box which is configured as follows.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=453194321-14042005></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=453194321-14042005>10 internal
Sip Phones </SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=453194321-14042005></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=453194321-14042005>3 Pots
Lines</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=453194321-14042005></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=453194321-14042005>1 voip
provider (SIP)</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=453194321-14042005></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=453194321-14042005>Call come in
over the pots lines however Outbound goes out thru the VOIP
provider.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=453194321-14042005>However
looking at the configs I cannot figure out what controls how call are sent
out.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=453194321-14042005>In other
words where in the config files does it determine that all outbound
</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=453194321-14042005>calls go to
the VoIP provider?</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=453194321-14042005></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=453194321-14042005></SPAN></FONT> </DIV>
<DIV><SPAN class=453194321-14042005><FONT face="Courier New" size=2>Thanks in
advance.</FONT></SPAN></DIV>
<DIV><SPAN class=453194321-14042005><FONT face="Courier New"
size=2>Mike</FONT></SPAN></DIV>
<DIV class=Section1><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></SPAN><FONT
face="Courier New" size=2></FONT> </DIV>
<DIV class=Section1>
<P><BR><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> </SPAN>
</P></DIV>
<DIV> </DIV></BODY></HTML>