<!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.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=990344117-30042006><FONT face=Arial
color=#0000ff size=2>Do you have 9 as a prefix in the trunk? It is actually
ADDING a 9 to the phone number before it dials.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=990344117-30042006></SPAN><SPAN
class=990344117-30042006></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>-<SPAN class=990344117-30042006>Kerry</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=990344117-30042006></SPAN></FONT></FONT></FONT><BR> </DIV>
<BLOCKQUOTE
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>Jim
Lynch<BR><B>Sent:</B> Sunday, April 30, 2006 10:33 AM<BR><B>To:</B> Asterisk
Users Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> Re:
[Asterisk-Users] RE: Asterisk is stripping my area code<BR></FONT><BR></DIV>
<DIV></DIV>No, I'm just dialing 7707190239. When I tried it with a 1, it
gave me the same result, a nice lady telling me "when making a local call you
must first dial the areacode" or words to that effect. <BR><BR>>From
the log, after using the 1: <BR><BR>Apr 30 13:29:04 DEBUG[4242] pbx.c:
Function result is '"" <7707190069>'<BR>Apr 30 13:29:04 VERBOSE[4242]
logger.c: -- Executing NoOp("SIP/200-fa0b", "CallerID
set to "" <7707190069>") in new stack <BR>Apr 30 13:29:04 VERBOSE[4242]
logger.c: -- Executing Set("SIP/200-fa0b",
"GROUP()=OUT_1") in new stack<BR>Apr 30 13:29:04 DEBUG[4242] pbx.c: Function
result is '1'<BR>Apr 30 13:29:04 DEBUG[4242] pbx.c: Expression result is
'0'<BR>Apr 30 13:29:04 VERBOSE[4242] logger.c: --
Executing GotoIf("SIP/200-fa0b", "0?108") in new stack<BR>Apr 30 13:29:04
DEBUG[4242] pbx.c: Not taking any branch<BR>Apr 30 13:29:04 VERBOSE[4242]
logger.c: -- Executing Set("SIP/200-fa0b",
"DIAL_NUMBER=17707190239") in new stack<BR>Apr 30 13:29:04 VERBOSE[4242]
logger.c: -- Executing Set("SIP/200-fa0b",
"DIAL_TRUNK=1") in new stack <BR>Apr 30 13:29:04 VERBOSE[4242]
logger.c: -- Executing AGI("SIP/200-fa0b",
"fixlocalprefix") in new stack<BR>Apr 30 13:29:04 VERBOSE[4242]
logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/fixlocalprefix <BR>Apr 30 13:29:04 VERBOSE[4242]
logger.c: fixlocalprefix: Removed prefix. New number:
7707190239<BR>Apr 30 13:29:04 VERBOSE[4242] logger.c:
-- AGI Script fixlocalprefix completed, returning 0<BR>Apr 30 13:29:04
VERBOSE[4242] logger.c: -- Executing
Set("SIP/200-fa0b", "OUTNUM=97707190239") in new stack<BR>Apr 30 13:29:04
DEBUG[4242] pbx.c: Function result is 'ZAP/1'<BR>Apr 30 13:29:04 VERBOSE[4242]
logger.c: -- Executing Set("SIP/200-fa0b",
"custom=ZAP/1") in new stack <BR>Apr 30 13:29:04 DEBUG[4242] pbx.c: Expression
result is '0'<BR>Apr 30 13:29:04 VERBOSE[4242]
logger.c: -- Executing GotoIf("SIP/200-fa0b", "0?16")
in new stack<BR>Apr 30 13:29:04 DEBUG[4242] pbx.c : Not taking any
branch<BR>Apr 30 13:29:04 VERBOSE[4242] logger.c: --
Executing Dial("SIP/200-fa0b", "ZAP/1/97707190239|120|W") in new stack<BR>Apr
30 13:29:04 DEBUG[4242] chan_zap.c: Dialing '97707190239' <BR>Apr 30 13:29:04
DEBUG[4242] chan_zap.c: Deferring dialing...<BR>Apr 30 13:29:04 VERBOSE[4242]
logger.c: -- Called 1/97707190239<BR>Apr 30 13:29:05
DEBUG[4242] chan_zap.c: Exception on 19, channel 1<BR>Apr 30 13:29:05
DEBUG[4242] chan_zap.c: Got event Hook Transition Complete(12) on channel 1
(index 0) <BR>Apr 30 13:29:07 DEBUG[4242] chan_zap.c: Exception on 19, channel
1<BR><BR>So what should I have in my dialing plan to let me dial 7707190239
and have it use that exact number? Or do I have to dial 9
first?<BR><BR>Thanks, <BR>Jim.<BR><BR>
<DIV><SPAN class=gmail_quote>On 4/30/06, <B class=gmail_sendername>Kerry
Garrison</B> <<A
href="mailto:support@techdatapros.com">support@techdatapros.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV style="DIRECTION: ltr">
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Are you
dialing 9 first? It is showing that the digits you dialed
are:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN>9-770-719-0239</SPAN></DIV><FONT face=Arial
color=#0000ff size=2></FONT>
<DIV><BR><SPAN><FONT face=Arial color=#0000ff size=2>Using your dialplan you
should be dialing 1-770-719-0239</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN>
<DIV align=left>
<DIV align=left><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Kerry
Garrison<BR><SPAN>Publisher - <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://voipspeak.net/" target=_blank><FONT
color=#000000>http://VOIPSpeak.net</FONT></A></SPAN></SPAN></DIV>
<DIV><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN></SPAN></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">(949) 502-7819 x200 -
<A title=mailto:kerryg@techdatapros.com
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:kerryg@techdatapros.com" target=_blank><EM
title=mailto:kerryg@techdatapros.com><I
title=mailto:kerryg@techdatapros.com><FONT
title=mailto:kerryg@techdatapros.com color=#000000><SPAN
title=mailto:kerryg@techdatapros.com
style="FONT-FAMILY: Arial">kerryg@techdatapros.com
</SPAN></FONT></I></EM></A><BR><A title=http://www.techdatapros.com/
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.techdatapros.com/" target=_blank><EM
title=http://www.techdatapros.com/><I
title=http://www.techdatapros.com/><FONT title=http://www.techdatapros.com/
color=#000000><SPAN title=http://www.techdatapros.com/
style="FONT-FAMILY: Arial">http://www.techdatapros.com</SPAN></FONT></I></EM></A></SPAN>
</DIV></DIV></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,255) 2px solid; MARGIN-RIGHT: 0px">
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:asterisk-users-bounces@lists.digium.com"
target=_blank>asterisk-users-bounces@lists.digium.com</A> [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:asterisk-users-bounces@lists.digium.com"
target=_blank>asterisk-users-bounces@lists.digium.com</A>] <B>On Behalf Of
</B>Jim Lynch<BR><B>Sent:</B> Sunday, April 30, 2006 10:10
AM<BR><B>To:</B> <A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Asterisk-Users@lists.digium.com"
target=_blank>Asterisk-Users@lists.digium.com</A><BR><B>Subject:</B>
[Asterisk-Users] RE: Asterisk is stripping my area
code<BR></FONT><BR></DIV></BLOCKQUOTE></DIV>
<DIV style="DIRECTION: ltr"><SPAN class=e id=q_10aebd6aae690fe9_1>
<DIV></DIV>I don't know if this helps, from the log.<BR><BR>Jim.<BR><BR>Apr
30 12:58:55 VERBOSE[4225] logger.c: -- Executing
Dial("SIP/200-5677", "ZAP/1/97707190239|120|W") in new
stack
<BR>Apr 30 12:58:55 DEBUG[4225] chan_zap.c: Dialing '97707190239'<BR>Apr 30
12:58:55 DEBUG[4225] chan_zap.c: Deferring
dialing...
<BR>Apr 30 12:58:55 VERBOSE[4225] logger.c: --
Called 1/97707190239<BR>Apr 30 12:58:55 DEBUG[4225] chan_zap.c: Exception on
19, channel
1
<BR> Apr 30 12:58:55 DEBUG[4225] chan_zap.c: Got event Hook Transition
Complete(12) on channel 1 (index
0)
<BR></SPAN></DIV>
<DIV
style="DIRECTION: ltr"></DIV><BR>_______________________________________________<BR>--Bandwidth
and Colocation provided by <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://Easynews.com" target=_blank>Easynews.com</A> --
<BR><BR>Asterisk-Users mailing list<BR>To UNSUBSCRIBE or update options
visit:<BR> <A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>