[Asterisk-Users] How do you differentiate Busy and Congestion on Dialing PRI
John Harragin
jharragi at mw.k12.ny.us
Tue Dec 2 12:02:09 MST 2003
I have asterisk boxes in 2 different buildings each connected to the telco
with a PRI. I am now setting up asterisk machines in remote buildings -
dialing out via one of the other 2 machines. These are a snip from each
extension.conf on 1 remote and the 2 machines connected to the PRIs, to
illustrate what I want to do...
[remote_bldg_7_digit_out] ; The remote machine connected through IAX
exten => _9NXXXXXX,1,Dial(IAX2/remote1 at PRI-Machine-1/${EXTEN})
; if PRI-Machine-1 is congested or off-line, try PRI-Machine-2.
exten => _9NXXXXXX,2,Dial(IAX2/remote1 at PRI-Machine-2/${EXTEN})
exten => _9NXXXXXX,3,Congestion
[7-digit-PRI-Machine-1] ; The machine connected to PRI 1
exten => _9NXXXXXX,1,Dial(Zap/g1/${EXTEN:1})
exten => _9NXXXXXX,102,Busy
[7-digit-PRI-Machine-2] ; The machine connected to PRI 2 (on its g1)
exten => _9NXXXXXX,1,Dial(Zap/g1/${EXTEN:1})
exten => _9NXXXXXX,102,Busy
...however Dial does not increment the priority by an extra 100 when it
encounters a busy on PRI. How can I best get this functionality?
John
This e-mail was scanned and found clean by Monroe-Woodbury CSD Antivirus.
More information about the asterisk-users
mailing list