I’m have a 3 server asterisk cluster with Digium phones on each spread across the organization. We have everything working great except paging. I can easily page from phones on one server, to phones on the same server. What I cannot do, it page phones on the other servers.
For server 1, I have:
exten => 5001,1,NoOp(5001 Start of page section)
exten => 5001,n,SIPAddHeader(“Alert-Info: intercom”)
exten => 5001,n,Page(SIP/2167,qA(beep)n,15)
exten => 5001,n,NoOp(5001 End of page section)
exten => 5001,n,Hangup()
So dialing 5001 from a phone on that server works perfectly.
For server 2 I have:
exten => 5002,1,NoOp(5002 Start of page section)
exten => 5002,n,SIPAddHeader(“Alert-Info: intercom”)
exten => 5002,n,Page(SIP/2124,qA(beep)n,15)
exten => 5002,n,NoOp(5002 End of page section)
exten => 5002,n,Hangup()
And then on server 1:
; If server 1, dial 5001 locally, 5002 on dialer 2, 5003 on dialer 3
exten => 5000,n(fromdial1),NoOp(“Fromdial1 steps…”)
exten => 5000,n,Dial(Local/5001&${TRUNKPBXDIAL2}/5002&${TRUNKPBXDIAL3}/5003,55,i)
exten => 5000,n,Hangup()
And this on dialer 2:
; If server 2, dial 5001 dialer 1, 5002 locally, 5003 on dialer 3
exten => 5000,n(fromdial2),NoOp(“Fromdial2 steps…”)
exten => 5000,n,Dial(${TRUNKPBXDIAL1}/5001&Local/5002&${TRUNKPBXDIAL3}/5003,55,i)
exten => 5000,n,Hangup()
It doesn’t work. When I watch the dialplan, and dial “5000” from a phone on server 1, the server 2 console will show:
– Executing [5002@default:1] NoOp(“IAX2/PBXDIAL1-11039”, “5002 Start of page section”) in new stack
– Executing [h@default:1] AGI(“IAX2/PBXDIAL1-11039”, “agi://127.0.0.1:4577/call_log–HVcauses–PRI-----NODEBUG-----26---------------”) in new stack
It only executes 1 step of the dialplan steps…the noop. It doesn’t matter if I change this to something else, it never performs the rest of the steps for exten 5000. What would cause only one step of the dialplan on the other server to execute, and then issue hangup steps? Is it because there is IAX between the servers?
Any help or guidance would be appreciated.