When the SBC's provider works fine, calls are load balanced. It works perfectly.
But this morning, my SIP provider was a issue in one of them SBCs. GW was always UP (SIG OK), but the issue was on media stream.
I run this command to force GW go down:
sofia profile PR1 killgw GWSBC1
With this command, GWSBC1 was down, OK, but distributor don't know it.
Endeed, when GW is kill with (killgw) command, bridge command "${sofia(profile PR1 gwlist down)" returns 0 gwdown.
When a call arrive, distributor sends it to all gateways.
"${sofia(profile PR1 gwlist down)" is OK only when ping options not responding.
My question:
How can I force GW go down (simulate ping option not responding) with a simple command (compliant with mod_ditributor) ? It's possible ?
Ex:
State NOREG
Status DOWN
Thanks in advance
--
Cordialement
HUBERT Mickaël
Ingénieur VOIP - Hexanet