Oh, and your priorities are wrong:

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

That should do it.

Regards,
--
Anthony Rodgers
Business Systems Analyst
District of North Vancouver
Web: http://www.dnv.org
RSS Feed: http://www.dnv.org/rss.asp


On Oct 21, 2005, at 10:15 AM, Anthony Rodgers wrote:

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
> [email protected]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to