More and more areas of the US require 10 digit local dialing, and 11 digit toll dialing. Unfortunately, that isn't universally true. Some states have decreed that 11 digits will be dialed for local and toll, other locales have 7 digit dialing across state lines, and at least one location, probably more, require 7 digit dialing to another state for one NPA, and 11 digit for it's overlay. Mobile providers in the US usually require only 10 digits, and fill in the "1" within the phone.

The only rule is there are no rules. The result of local/state rule.

John Novack


sdgesa gaeharth wrote:

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 <[EMAIL PROTECTED]>/* 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([EMAIL PROTECTED]
    > )
    > exten => _10XX,5,Hangup
    > [voicemail]
    > exten => _910XX,1,Wait(1)
    > exten => _910XX,2,VoiceMailMain(${EXTEN:[EMAIL PROTECTED])
    > [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
    >
    _______________________________________________
    --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 <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=38867/*http://photomail.mail.yahoo.com> to share photos without annoying attachments.

------------------------------------------------------------------------

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

Reply via email to