On Tue, Dec 21, 2010 at 7:58 PM, Stephen Reese <rsre...@gmail.com> wrote:
> Is there a way to include:
>
> _NXXNXXXXXX
> _NXXXXXX
> _011.
> _911
>
> into my current plan:
>

Sorry, here's the rest.

exten => _1NXXNXXXXXX,1,Set(Outgoing=${CUT(CHANNEL,/,2)})
exten => _1NXXNXXXXXX,n,Set(Outgoing=${CUT(Outgoing,-,1)})
exten => _1NXXNXXXXXX,n,GotoIf($["${Outgoing}" = "201"]?20:10)
exten => _1NXXNXXXXXX,10,Set(CALLERID(all)=${EXTERNAL_CALLERID})
exten => _1NXXNXXXXXX,n,Dial(SIP/${ext...@vitel-outbound)
exten => _1NXXNXXXXXX,n,Goto(h,1)
exten => _1NXXNXXXXXX,20,Set(CALLERID(all)=${EXTERNAL_CALLERID})
exten => _1NXXNXXXXXX,n,Dial(SIP/${ext...@vitel-outbound2)
exten => _1NXXNXXXXXX,n,Goto(h,1)

Thanks

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to