[Asterisk-Users] really need help with outgoing calls..PSTN errors
Joseph Tanner
joseph at thetechguide.com
Fri Mar 3 22:37:26 MST 2006
Put a w or 2 (ww) in front of your number being dialed, it should work
then. If not, try more w's.
Joseph Tanner
On 3/3/06, sdgesa gaeharth <pollux1234567890 at yahoo.com> wrote:
>
> I cant seem to get outgoing calls to be placed properly .. No matter what I
> try I get an error from the PSTN company saying that the "call can not be
> completed as dialed" or "you need to dial a one..." The asterisk debugging
> seems to show the correct number being dialed out of the zap interface...
> the "9" is being stripped and there is a "1" where it is supposed to be. I
> am thinking it is a problem between the zap interface and the PSTN.
>
> thanks
>
> extensions.conf
> [general]
> static=yes
> writeprotect=no
> autofallthrough=yes
> clearglobalvars=no
> priorityjumping=no
> [globals]
> ATTENDANT=1001
> OUTBOUNDTRUNK=ZAP/g1
> [extentions]
> exten => _10XX,1,Ringing
> exten => _10XX,2,Dial(SIP/${EXTEN},20)
> exten => _10XX,3,Answer
> exten => _10XX,4,VoiceMail(u${EXTEN}@voicemail)
> exten => _10XX,5,Hangup
> [voicemail]
> exten => _910XX,1,Wait(1)
> exten => _910XX,2,VoiceMailMain(${EXTEN:1}@voicemail)
> [local]
> include => extentions
> include => voicemail
> [incoming]
> exten => s,1,Answer
> exten => s,n,Wait(2)
> exten => s,n,Set(TIMEOUT(response)=15)
> exten => s,n,Background(company-intro)
> exten => s,n,WaitExten()
> exten => s,n,Playback(vm-goodbye)
> exten => s,n,Hangup()
> exten => 0,1,Dial(SIP/${ATTENDANT},20)
> exten => 1,1,Directory(voicemail,extentions,f)
> exten => 2,1,Directory(voicemail,extentions)
> exten => 1234,1,Playback(abandon-all-hope)
> include => extentions
> exten => i,1,Playback(vm-goodbye)
> exten => i,2,Hangup()
> exten => t,1,Playback(vm-goodbye)
> exten => t,2,Hangup()
> [outbound]
> ignorepat => 9
> exten => _9XXXXXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
> exten => _9XXXXXXXXXX,2,Congestion()
> exten => _9XXXXXXXXXX,102,Congestion()
> exten => _91800NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
> exten => _91800NXXXXXX,2,Congestion()
> exten => _91800NXXXXXX,102,Congestion()
> exten => _91888NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
> exten => _91888NXXXXXX,2,Congestion()
> exten => _91888NXXXXXX,102,Congestion()
> exten => _91877NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
> exten => _91877NXXXXXX,2,Congestion()
> exten => _91877NXXXXXX,102,Congestion()
> exten => _91866NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
> exten => _91866NXXXXXX,2,Congestion()
> exten => _91866NXXXXXX,102,Congestion()
> exten => _91900NXXXXXX,1,Congestion()
> exten => _91976NXXXXXX,1,Congestion()
> exten =>
> _91[1234567]XXNXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
> exten => _91[1234567]XXNXXXXXX,2,Congestion()
> exten => _91[1234567]XXNXXXXXX,102,Congestion()
> exten => 9911,1,Dial(${OUTBOUNDTRUNK}/911)
> exten => 9411,1,Dial(${OUTBOUNDTRUNK}/411)
> exten => 0,1,Dial(${OUTBOUNDTRUNK}/0)
>
> [local-access]
> include => local
> include => outbound
>
> zapata.conf:
> [channels]
> group => 1
> language=en
> context=incoming
> signalling=fxs_ks
> switchtype=national
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> callerid => "Dulles Micro, LLC" <703 450 5000>
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> canpark=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> rxgain=0.0
> txgain=0.0
> channel => 1
>
> zaptel.conf:
> fxsks=1,2,3,4
> loadzone = us
> defaultzone=us
>
>
>
>
>
> ________________________________
> Brings words and photos together (easily) with
> PhotoMail - it's free and works with Yahoo! Mail.
>
>
> _______________________________________________
> --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
>
>
>
More information about the asterisk-users
mailing list