<DIV>You mean like this....</DIV> <DIV> </DIV> <DIV>exten => ww_9XXXXXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})<BR></DIV> <DIV>thanks<BR><BR><B><I>Joseph Tanner <joseph@thetechguide.com></I></B> wrote:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Put a w or 2 (ww) in front of your number being dialed, it should work<BR>then. If not, try more w's.<BR><BR>Joseph Tanner<BR><BR>On 3/3/06, sdgesa gaeharth <POLLUX1234567890@YAHOO.COM>wrote:<BR>><BR>> I cant seem to get outgoing calls to be placed properly .. No matter what I<BR>> try I get an error from the PSTN company saying that the "call can not be<BR>> completed as dialed" or "you need to dial a one..." The asterisk debugging<BR>> seems to show the correct number being dialed out of the zap interface...<BR>> the "9" is being stripped and there is a "1" where it is supposed to be. I<BR>> am thinking it is a problem between the zap
interface and the PSTN.<BR>><BR>> thanks<BR>><BR>> extensions.conf<BR>> [general]<BR>> static=yes<BR>> writeprotect=no<BR>> autofallthrough=yes<BR>> clearglobalvars=no<BR>> priorityjumping=no<BR>> [globals]<BR>> ATTENDANT=1001<BR>> OUTBOUNDTRUNK=ZAP/g1<BR>> [extentions]<BR>> exten => _10XX,1,Ringing<BR>> exten => _10XX,2,Dial(SIP/${EXTEN},20)<BR>> exten => _10XX,3,Answer<BR>> exten => _10XX,4,VoiceMail(u${EXTEN}@voicemail)<BR>> exten => _10XX,5,Hangup<BR>> [voicemail]<BR>> exten => _910XX,1,Wait(1)<BR>> exten => _910XX,2,VoiceMailMain(${EXTEN:1}@voicemail)<BR>> [local]<BR>> include => extentions<BR>> include => voicemail<BR>> [incoming]<BR>> exten => s,1,Answer<BR>> exten => s,n,Wait(2)<BR>> exten => s,n,Set(TIMEOUT(response)=15)<BR>> exten => s,n,Background(company-intro)<BR>> exten => s,n,WaitExten()<BR>> exten =>
s,n,Playback(vm-goodbye)<BR>> exten => s,n,Hangup()<BR>> exten => 0,1,Dial(SIP/${ATTENDANT},20)<BR>> exten => 1,1,Directory(voicemail,extentions,f)<BR>> exten => 2,1,Directory(voicemail,extentions)<BR>> exten => 1234,1,Playback(abandon-all-hope)<BR>> include => extentions<BR>> exten => i,1,Playback(vm-goodbye)<BR>> exten => i,2,Hangup()<BR>> exten => t,1,Playback(vm-goodbye)<BR>> exten => t,2,Hangup()<BR>> [outbound]<BR>> ignorepat => 9<BR>> exten => _9XXXXXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})<BR>> exten => _9XXXXXXXXXX,2,Congestion()<BR>> exten => _9XXXXXXXXXX,102,Congestion()<BR>> exten => _91800NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})<BR>> exten => _91800NXXXXXX,2,Congestion()<BR>> exten => _91800NXXXXXX,102,Congestion()<BR>> exten => _91888NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})<BR>> exten => _91888NXXXXXX,2,Congestion()<BR>> exten =>
_91888NXXXXXX,102,Congestion()<BR>> exten => _91877NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})<BR>> exten => _91877NXXXXXX,2,Congestion()<BR>> exten => _91877NXXXXXX,102,Congestion()<BR>> exten => _91866NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})<BR>> exten => _91866NXXXXXX,2,Congestion()<BR>> exten => _91866NXXXXXX,102,Congestion()<BR>> exten => _91900NXXXXXX,1,Congestion()<BR>> exten => _91976NXXXXXX,1,Congestion()<BR>> exten =><BR>> _91[1234567]XXNXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})<BR>> exten => _91[1234567]XXNXXXXXX,2,Congestion()<BR>> exten => _91[1234567]XXNXXXXXX,102,Congestion()<BR>> exten => 9911,1,Dial(${OUTBOUNDTRUNK}/911)<BR>> exten => 9411,1,Dial(${OUTBOUNDTRUNK}/411)<BR>> exten => 0,1,Dial(${OUTBOUNDTRUNK}/0)<BR>><BR>> [local-access]<BR>> include => local<BR>> include => outbound<BR>><BR>> zapata.conf:<BR>> [channels]<BR>> group => 1<BR>>
language=en<BR>> context=incoming<BR>> signalling=fxs_ks<BR>> switchtype=national<BR>> usecallerid=yes<BR>> hidecallerid=no<BR>> callwaiting=yes<BR>> callerid => "Dulles Micro, LLC" <703 450 5000><BR>> usecallingpres=yes<BR>> callwaitingcallerid=yes<BR>> threewaycalling=yes<BR>> transfer=yes<BR>> canpark=yes<BR>> cancallforward=yes<BR>> callreturn=yes<BR>> echocancel=yes<BR>> echocancelwhenbridged=yes<BR>> rxgain=0.0<BR>> txgain=0.0<BR>> channel => 1<BR>><BR>> zaptel.conf:<BR>> fxsks=1,2,3,4<BR>> loadzone = us<BR>> defaultzone=us<BR>><BR>><BR>><BR>><BR>><BR>> ________________________________<BR>> Brings words and photos together (easily) with<BR>> PhotoMail - it's free and works with Yahoo! Mail.<BR>><BR>><BR>> _______________________________________________<BR>> --Bandwidth and Colocation provided by Easynews.com --<BR>><BR>> Asterisk-Users mailing
list<BR>> To UNSUBSCRIBE or update options visit:<BR>><BR>> http://lists.digium.com/mailman/listinfo/asterisk-users<BR>><BR>><BR>><BR>_______________________________________________<BR>--Bandwidth and Colocation provided by Easynews.com --<BR><BR>Asterisk-Users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR></BLOCKQUOTE><BR><p>
                <hr size=1>Brings words and photos together (easily) with<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/PMall/*http://photomail.mail.yahoo.com">PhotoMail </a> - it's free and works with Yahoo! Mail.