<div dir="ltr"><div><div><div>Hi list,<br></div>I have an issue when I want force a gateway go down with distributor module.<br></div><br><u>- My distributor conf:</u><br><i><br><list name="LISTPR1" total-weight="2"><br> <node name="GWSBC1" weight="1"/><br> <node name="GWSBC2" weight="1"/><br> </list><br> </lists></i><br><br></div><u>- My dialplan conf:</u><br><i>sofia/gateway/${distributor(LISTPR1 ${sofia(profile PR1 gwlist down)})}/${destination_number}"/></i><br><div><br clear="all"><div><div><div>When the SBC's provider works fine, calls are load balanced. It works perfectly.<br><br>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.<br><br></div><div>I run this command to force GW go down:<br><i>sofia profile PR1 killgw GWSBC1</i><br><br></div><div>With this command, GWSBC1 was down, OK, but distributor don't know it.<br></div><div>Endeed, when GW is kill with (killgw) command, bridge command "<i>${sofia(profile PR1 gwlist down)" </i>returns 0 gwdown<i>.<br><br></i></div><div>When a call arrive, distributor sends it to all gateways.<i><br></i></div><div><br>"<i>${sofia(profile PR1 gwlist down)" </i>is OK only when ping options not responding.<br><br><br></div><div><u>My question:</u><br></div><div>How can I force GW go down (simulate ping option not responding) with a simple command (compliant with mod_ditributor) ?<i> </i>It's possible ?<i><br></i></div><div><i>Ex:<br>State NOREG<br>Status DOWN<br><br></i></div><div>Thanks in advance<br></div><div><br></div><div><br></div><div><br>-- <br><div class="gmail_signature"><div dir="ltr">Cordialement<br><br>HUBERT Mickaël<br>Ingénieur VOIP - Hexanet<br></div></div>
</div></div></div></div></div>
<br>
<img src="http://www.hexanet.fr/sites/files/hexanet/files/utilities/signature_hexanet.gif">