[Asterisk-Users] really need help with outgoing calls..PSTN errors

sdgesa gaeharth pollux1234567890 at yahoo.com
Sun Mar 5 07:37:50 MST 2006


I have to wait until Monday to test but  I will make that change.

thanks 

Rich Adamson <radamson at routers.com> wrote: Might take a close look at group => 1 in your zapata.conf file. That
should be group=1.

Someone mentioned adding "w" into your outbound calls, like:
 exten => _9XXXXXXXXXX,1,Dial(${OUTBOUNDTRUNK}/ww${EXTEN:1})

Did you try that in each of your Dial strings?



> In our area code(703), and I am not sure if it is like this in other places, we are required to 
dial the area code even if we dial local
> numbers . That is what these lines are for:
>  
> exten => _9XXXXXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
> exten => _9XXXXXXXXXX,2,Congestion()
> exten => _9XXXXXXXXXX,102,Congestion()
>  
> Any other options?
>  
> 
> Mark Hulber  wrote:
> 
>     Have you tried dialing an 800 number? Does that work? This extension:
> 
>     exten => _9XXXXXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
> 
>     seems to be missing one X since it's only 10 digits long. Your PSTN
>     probably requires a 1 to be dialed also. On the other hand,
> 
>     exten => _91[1234567]XXNXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
> 
>     you should probably be matching this extension instead although you
>     won't be able to match anywhere that has an area code that starts with
>     an 8 or 9. (905, 916, 914 as a few examples).
> 
>     MARK.
> 
>     sdgesa gaeharth 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
>     > T o 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
> 
> --------------------------------------------------------------------------------------------------------------
> 
> Yahoo! Mail
> Use Photomail to share photos without annoying attachments.
---------------End of Original Message-----------------


_______________________________________________
--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


		
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060305/7302a82e/attachment.htm


More information about the asterisk-users mailing list