That was it! Thanks.<br><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
support@techdatapros.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="direction: ltr;">
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" 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></span><span></span><font face="Arial"><font color="#0000ff"><font size="2">-<span>Kerry</span></font></font></font></div>
<div dir="ltr" align="left"><font face="Arial"><font color="#0000ff"><font size="2"><span></span></font></font></font><br> </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"></font></div><div style="direction: ltr;"><span><font face="Tahoma" size="2"><b>From:</b> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Jim
Lynch<br></font></span></div><font face="Tahoma" size="2"></font><div style="direction: ltr;"><font face="Tahoma" size="2"><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></blockquote></div><div style="direction: ltr;"><span>
<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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">support@techdatapros.com</a>>
wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span>9-770-719-0239</span></div><font color="#0000ff" face="Arial" size="2"></font>
<div><br><span><font color="#0000ff" face="Arial" size="2">Using your dialplan you
should be dialing 1-770-719-0239</font></span></div>
<div><span><font color="#0000ff" face="Arial" 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 href="http://voipspeak.net/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><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" href="mailto:kerryg@techdatapros.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><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/" href="http://www.techdatapros.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><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="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users-bounces@lists.digium.com</a> [mailto:
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 href="mailto:Asterisk-Users@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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>
<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 href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> --
<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options
visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br>
<br></blockquote></div><br></span></div><div style="direction: ltr;">
</div><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> --
<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote></div><br>