[Asterisk-Users] RE: Asterisk is stripping my area code
Jim Lynch
jimlynch1 at gmail.com
Sun Apr 30 13:04:30 MST 2006
That was it! Thanks.
Jim.
On 4/30/06, Kerry Garrison <support at techdatapros.com> wrote:
>
> Do you have 9 as a prefix in the trunk? It is actually ADDING a 9 to the
> phone number before it dials.
> -Kerry
>
>
>
> ------------------------------
> *From:* asterisk-users-bounces at lists.digium.com [mailto:
> asterisk-users-bounces at lists.digium.com] *On Behalf Of *Jim Lynch
> *Sent:* Sunday, April 30, 2006 10:33 AM
> *To:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Subject:* Re: [Asterisk-Users] RE: Asterisk is stripping my area code
>
> 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.
>
> >From the log, after using the 1:
>
> Apr 30 13:29:04 DEBUG[4242] pbx.c: Function result is '"" <7707190069>'
> Apr 30 13:29:04 VERBOSE[4242] logger.c: -- Executing
> NoOp("SIP/200-fa0b", "CallerID set to "" <7707190069>") in new stack
> Apr 30 13:29:04 VERBOSE[4242] logger.c: -- Executing
> Set("SIP/200-fa0b", "GROUP()=OUT_1") in new stack
> Apr 30 13:29:04 DEBUG[4242] pbx.c: Function result is '1'
> Apr 30 13:29:04 DEBUG[4242] pbx.c: Expression result is '0'
> Apr 30 13:29:04 VERBOSE[4242] logger.c: -- Executing
> GotoIf("SIP/200-fa0b", "0?108") in new stack
> Apr 30 13:29:04 DEBUG[4242] pbx.c: Not taking any branch
> Apr 30 13:29:04 VERBOSE[4242] logger.c: -- Executing
> Set("SIP/200-fa0b", "DIAL_NUMBER=17707190239") in new stack
> Apr 30 13:29:04 VERBOSE[4242] logger.c: -- Executing
> Set("SIP/200-fa0b", "DIAL_TRUNK=1") in new stack
> Apr 30 13:29:04 VERBOSE[4242] logger.c: -- Executing
> AGI("SIP/200-fa0b", "fixlocalprefix") in new stack
> Apr 30 13:29:04 VERBOSE[4242] logger.c: -- Launched AGI Script
> /var/lib/asterisk/agi-bin/fixlocalprefix
> Apr 30 13:29:04 VERBOSE[4242] logger.c: fixlocalprefix: Removed prefix.
> New number: 7707190239
> Apr 30 13:29:04 VERBOSE[4242] logger.c: -- AGI Script fixlocalprefix
> completed, returning 0
> Apr 30 13:29:04 VERBOSE[4242] logger.c: -- Executing
> Set("SIP/200-fa0b", "OUTNUM=97707190239") in new stack
> Apr 30 13:29:04 DEBUG[4242] pbx.c: Function result is 'ZAP/1'
> Apr 30 13:29:04 VERBOSE[4242] logger.c: -- Executing
> Set("SIP/200-fa0b", "custom=ZAP/1") in new stack
> Apr 30 13:29:04 DEBUG[4242] pbx.c: Expression result is '0'
> Apr 30 13:29:04 VERBOSE[4242] logger.c: -- Executing
> GotoIf("SIP/200-fa0b", "0?16") in new stack
> Apr 30 13:29:04 DEBUG[4242] pbx.c : Not taking any branch
> Apr 30 13:29:04 VERBOSE[4242] logger.c: -- Executing
> Dial("SIP/200-fa0b", "ZAP/1/97707190239|120|W") in new stack
> Apr 30 13:29:04 DEBUG[4242] chan_zap.c: Dialing '97707190239'
> Apr 30 13:29:04 DEBUG[4242] chan_zap.c: Deferring dialing...
> Apr 30 13:29:04 VERBOSE[4242] logger.c: -- Called 1/97707190239
> Apr 30 13:29:05 DEBUG[4242] chan_zap.c: Exception on 19, channel 1
> Apr 30 13:29:05 DEBUG[4242] chan_zap.c: Got event Hook Transition
> Complete(12) on channel 1 (index 0)
> Apr 30 13:29:07 DEBUG[4242] chan_zap.c: Exception on 19, channel 1
>
> 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?
>
> Thanks,
> Jim.
>
> On 4/30/06, Kerry Garrison <support at techdatapros.com> wrote:
> >
> > Are you dialing 9 first? It is showing that the digits you dialed are:
> >
> > 9-770-719-0239
> >
> > Using your dialplan you should be dialing 1-770-719-0239
> >
> > Kerry Garrison
> > Publisher - http://VOIPSpeak.net <http://voipspeak.net/>
> > (949) 502-7819 x200 - * kerryg at techdatapros.com *<kerryg at techdatapros.com>
> > * http://www.techdatapros.com* <http://www.techdatapros.com/>
> >
> > ------------------------------
> > *From:* asterisk-users-bounces at lists.digium.com [mailto:
> > asterisk-users-bounces at lists.digium.com] *On Behalf Of *Jim Lynch
> > *Sent:* Sunday, April 30, 2006 10:10 AM
> > *To:* Asterisk-Users at lists.digium.com
> > *Subject:* [Asterisk-Users] RE: Asterisk is stripping my area code
> >
> > I don't know if this helps, from the log.
> >
> > Jim.
> >
> > Apr 30 12:58:55 VERBOSE[4225] logger.c: -- Executing
> > Dial("SIP/200-5677", "ZAP/1/97707190239|120|W") in new
> > stack
> > Apr 30 12:58:55 DEBUG[4225] chan_zap.c: Dialing '97707190239'
> > Apr 30 12:58:55 DEBUG[4225] chan_zap.c: Deferring
> > dialing...
> > Apr 30 12:58:55 VERBOSE[4225] logger.c: -- Called 1/97707190239
> > Apr 30 12:58:55 DEBUG[4225] chan_zap.c: Exception on 19, channel
> > 1
> > Apr 30 12:58:55 DEBUG[4225] chan_zap.c: Got event Hook Transition
> > Complete(12) on channel 1 (index
> > 0)
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > Asterisk-Users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060430/df001903/attachment.htm
More information about the asterisk-users
mailing list