[Asterisk-Users] Force all local numbers and 911 out PRI

Cavanna, Richard RCavanna at sychip.com
Fri Oct 21 06:46:23 MST 2005


I am looking for a little help.  Last night I brought my first * box
into production use.  The configuration is as follows:

  PRI/VoIPJet <---> * <---> Nortel 

Everything is working except I want to make all local numbers and 911 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"

Need to dial 9 to get out

Extensions********************************************
 [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

Zapata********************************
; incoming PRI
callerid=asreceived
context = ext-did
switchtype = dms100
signalling = pri_cpe
group = 1
channel => 1-23
; pri to Nortel
context = fromnortel
switchtype = dms100
signalling = pri_net
group = 2
channel => 25-47
************************************


Can anyone enlighten me? 

Thanks,
Rich




More information about the asterisk-users mailing list