Anca, I have configured the ds_probing_threshold parameter which allows me to adjust when I gw goes from active to probing.
However, my issue is getting the gw back to active. For some reason, it will never transition back - even with successful 200 OK responses to the OPTIONS messages that are triggered when a gw goes to "probing". The examples below show that I can't even force it back to active from probing to active with MI commands - I have to restart OpenSIPS. Thanks. On Mon, Oct 18, 2010 at 5:50 AM, Anca Vamanu <[email protected]> wrote: > Hi Thrillerbee, > > You can try to adjust the time when a gateway state is changed into > probing by setting the "ds_probing_threshhold" parameter ( > http://www.opensips.org/html/docs/modules/devel/dispatcher.html#id250525). > > Regards, > -- > > Anca Vamanuwww.voice-system.ro > > > On 10/16/2010 08:01 AM, thrillerbee wrote: > > 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. > > 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: > > ogw1:~# opensipsctl fifo ds_list > SET_NO:: 1 > SET:: 0 > URI:: sip:12.121.80.38 flag=P > URI:: sip:12.121.80.39 flag=A > URI:: sip:12.121.80.40 flag=A > ogw1:~# opensipsctl fifo ds_set_state i 0 sip:12.121.80.38 > ogw1:~# opensipsctl fifo ds_list > SET_NO:: 1 > SET:: 0 > URI:: sip:12.121.80.38 flag=I > URI:: sip:12.121.80.39 flag=A > URI:: sip:12.121.80.40 flag=A > ogw1:~# opensipsctl fifo ds_set_state a 0 sip:12.121.80.38 > ogw1:~# opensipsctl fifo ds_list > SET_NO:: 1 > SET:: 0 > URI:: sip:12.121.80.38 flag=P > URI:: sip:12.121.80.39 flag=A > URI:: sip:12.121.80.40 flag=A > > Is there some setting that I am missing that allows gateways to > transition from probing to active? > > Thanks. > > > _______________________________________________ > Users mailing list > [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
