<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>If I had to make a wild guess, I&#8217;d expect
that when you make a call off-campus you must dial an access code first.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Looking at columbia.edu, I see that you&#8217;re
expected to dial &#8216;93&#8217; for a local number.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>1+xxxx is a number in the Centrex dial
plan for the Morningside campus.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><a
href="http://www.columbia.edu/acis/telecom/tutorial.html#dialing">http://www.columbia.edu/acis/telecom/tutorial.html#dialing</a></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Asterisk is dialing all 10 digits, just as
you expected it to.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Your dial plan is not prepending the &#8216;93,&#8217;
so the campus pbx/centrex/switch/whatever thinks you&#8217;re dialing an
on-campus number and uses just the first five digits to complete the call.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>As &#8216;917&#8217; is a local call, is
the &#8216;1&#8217; required?</span></font></p>

<div>

<p style='margin-bottom:12.0pt'><font size=2 color=navy face="Times New Roman"><span
style='font-size:10.0pt;color:navy'>&nbsp; --Don<br>
<br>
Don Kelly<br>
CT Magic</span></font></p>

</div>

<div>

<div class=MsoNormal align=center style='margin-left:.5in;text-align:center'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal style='margin-left:.5in'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Arpit Mehta<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, May 18, 2007 1:31 AM<br>
<b><span style='font-weight:bold'>To:</span></b>
asterisk-users@lists.digium.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> [asterisk-users] Call to
an arbitrary outbound number by asterisk</span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Hi,<br>
<br>
I have a strange problem. I have a TE110p digium card. <br>
<br>
I want to dial 19173995791 when any incoming call comes in.&nbsp; What is
happening is that when I dial </span></font><font size=2 color="#1f497d"><span
style='font-size:11.0pt;color:#1F497D'>19173-995791. Asterisk picks up the
first 5 digits assuming it is the extension and appends</span></font> 212-85
(here in the university most numbers start with this) in front . Therefore I
get connected to some random number 212-85-(19173) (where the voicemail is
running). <br>
I cannot understand why asterisk is doing this whereas<b><span
style='font-weight:bold'> </span></b>my dialplan says it needs to connect to
other number<br>
<b><span style='font-weight:bold'>&nbsp;&nbsp; &quot;<span class=q><span
id="q_1129d329ebb31a66_2">exten =&gt; _.,1,Dial(Zap/g1/19173995791)&quot;</span></span></span></b><br>
<br>
<span id="q_1129d329ebb31a66_2"><span class=q>Also any idea if this is an
Asterisk problem or a telco problem. Any help/hints/suggestions would be most
welcome</span></span><br>
<br>
<span class=q><span id="q_1129d329ebb31a66_2">Here are my files. </span><br>
<br>
<span class=q>zapata.conf</span><br>
<span class=q>context=incoming</span><br>
<span class=q>switchtype=national</span><br>
<span class=q>signalling=pri_cpe </span><br>
<span class=q>group=1</span><br>
<span class=q>channel=&gt;1-23</span><br>
<br>
<span class=q>extension.conf</span><br>
<span class=q>[incoming]</span><br>
<span class=q>exten =&gt; _.,1,Dial(Zap/g1/19173995791)</span></p>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
######### I have added this line in the dialplan is because I want it to match
the&nbsp; last 5 digit and simply dial the number 19173995791 such that a call
leg is established between the calling party and the number 19173995791 <br>
<br>
<br>
CLI debug information <br>
-- Requested transfer capability: 0x00 - SPEECH<br>
&nbsp;&nbsp;&nbsp; -- Called g1/19173995791<br>
&nbsp;&nbsp;&nbsp; -- Zap/1-1 is proceeding passing it to Zap/23-1<br>
&nbsp;&nbsp;&nbsp; -- Zap/1-1 is making progress passing it to Zap/23-1 <br>
<br>
############### The call keeps ringing for sometime then it goes to voicemail.
The message comes when the voicemail start. Note that I have not setup any voice
mail<br>
<br>
&nbsp;&nbsp;&nbsp; -- Zap/1-1 answered Zap/23-1 <br>
<br>
############### Goes to the voicemail <br>
&nbsp;&nbsp;&nbsp; -- Native bridging Zap/23-1 and Zap/1-1<br>
<br>
&nbsp;&nbsp;&nbsp; -- Channel 0/23, span 1 got hangup request<br>
&nbsp;&nbsp;&nbsp; -- Hungup 'Zap/1-1'<br>
&nbsp; == Spawn extension (incoming, 17689, 1) exited non-zero on 'Zap/23-1'<br>
&nbsp;&nbsp;&nbsp; -- Hungup 'Zap/23-1'</span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'></span><br>
<br>
Regards<br>
<br>
-- <br>
Arpit Mehta<br>
Graduate Student<br>
Department of Computer Science <br>
Columbia University<br>
<br>
Tel: 1-646-387-5998 </span></font></p>

</div>

</body>

</html>