sdgesa gaeharth
2006-Mar-03 22:21 UTC
[Asterisk-Users] really need help with outgoing calls..PSTN errors
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060303/91f0aac0/attachment.htm
Joseph Tanner
2006-Mar-03 22:37 UTC
[Asterisk-Users] really need help with outgoing calls..PSTN errors
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@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 > > >
John covici
2006-Mar-03 22:48 UTC
[Asterisk-Users] really need help with outgoing calls..PSTN errors
The zap interface has no way to detect dialtones so lots of times the
first digit is dialed too soon. Try putting a w or maybe two or three
before the number and see if that helps.
on Friday 03/03/2006 sdgesa gaeharth(pollux1234567890@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
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
Mark Hulber
2006-Mar-04 07:04 UTC
[Asterisk-Users] really need help with outgoing calls..PSTN errors
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
> <mailto:u$%7BEXTEN%7D@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
>
<http://us.rd.yahoo.com/mail_us/taglines/PMall/*http://photomail.mail.yahoo.com>
> - 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
>
Ira
2006-Mar-04 12:51 UTC
[Asterisk-Users] really need help with outgoing calls..PSTN errors
>exten => _9XXXXXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1}) >exten => _9XXXXXXXXXX,2,Congestion() >exten => _9XXXXXXXXXX,102,Congestion()I think these 3 lines need to have a 1 added like this: exten => _9XXXXXXXXXX,1,Dial(${OUTBOUNDTRUNK}/1${EXTEN:1}) exten => _9XXXXXXXXXX,2,Congestion() exten => _9XXXXXXXXXX,102,Congestion() Looks like they are intended to take long distance without a 1 which is OK as long as you have * pass it on for you. Ira -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 03/03/2006