I have been able to get the dispatcher module to detect a gw failure and put it into a probing state & route traffic elsewhere. However, when the gw returns (& begins responding to OPTIONS with 200s), dispatcher never puts it back in the active state.<div>
<br></div><div>In fact, I cannot even manually put the server back in the active state with mi functions. I can put it in an inactive state, but it returns to probing if I try to set it to active:</div><div><br></div><div>
<div>ogw1:~# opensipsctl fifo ds_list</div><div>SET_NO:: 1</div><div>SET:: 0</div><div> URI:: sip:12.121.80.38 flag=P</div><div> URI:: sip:12.121.80.39 flag=A</div><div> URI:: sip:12.121.80.40 flag=A</div>
<div>ogw1:~# opensipsctl fifo ds_set_state i 0 sip:12.121.80.38 </div><div>ogw1:~# opensipsctl fifo ds_list</div><div>SET_NO:: 1</div><div>SET:: 0</div><div> URI:: sip:12.121.80.38 flag=I</div><div> URI:: sip:12.121.80.39 flag=A</div>
<div> URI:: sip:12.121.80.40 flag=A</div><div>ogw1:~# opensipsctl fifo ds_set_state a 0 sip:12.121.80.38 </div><div>ogw1:~# opensipsctl fifo ds_list</div><div>SET_NO:: 1</div><div>SET:: 0</div><div> URI:: sip:12.121.80.38 flag=P</div>
<div> URI:: sip:12.121.80.39 flag=A</div></div><div> URI:: sip:12.121.80.40 flag=A</div><div><br></div><div>Is there some setting that I am missing that allows gateways to transition from probing to active?</div>
<div><br></div><div>Thanks.</div>