[Asterisk-Users] force 911 over pri line

Anthony Rodgers Anthony_Rodgers at dnv.org
Fri Oct 21 10:15:06 MST 2005


Try an underscore in front of 9XXXXXXX to invoke pattern matching:

> exten => _9XXXXXXX,3,Dial(Zap/g1/${EXTEN:1},)

On Oct 21, 2005, at 10:08 AM, Cavanna, Richard wrote:

> I am looking for a little help.  The configuration is as follows:
>
>   PRI/VoIPJet <---> * <---> Nortel
>
> Everything is working except I want to make all 911 and local numbers 
> go
> out over the PRI line.
> I thought adding these lines to fromnortel would work but it does not.
> The call still tries to go out "outrt-001-VoIPJet"
>
> [fromnortel]
> exten => 911,1,Dial(Zap/g1/${EXTEN},)
> exten => 9911,2,Dial(Zap/g1/${EXTEN:1},)
> exten => 9XXXXXXX,3,Dial(Zap/g1/${EXTEN:1},)
> include => outrt-001-VoIPJet
> include => ext-local
> include => outrt-002-pri
>
> [outrt-001-VoIPJet]
> include => outrt-001-VoIPJet-custom
> exten => _9.,1,Macro(dialout-trunk,2,${EXTEN:1},)
> exten => _9.,2,Macro(outisbusy) ; No available circuits
>
> [outrt-002-pri]
> include => outrt-002-pri-custom
> exten => _7.,1,Macro(dialout-trunk,1,${EXTEN:1},)
> exten => _7.,2,Macro(outisbusy) ; No available circuits
>
>
>
>
> Can anyone enlighten me?
>
> Thanks,
> Rich
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2314 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051021/9905ec8a/smime.bin


More information about the asterisk-users mailing list