Posted: Sun Apr 30, 2006 5:29 pm Post subject: [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.
Quote:
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?
Posted: Sun Apr 30, 2006 5:39 pm Post subject: [Asterisk-Users] RE: Asterisk is stripping my area code
Do you have 9 as a prefix in the trunk? It is actually ADDING a 9 to the phone number before it dials.
-Kerry
Quote:
From:asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@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.
Quote:
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?
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.
Quote:
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?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum