make anything that remotely resembles a reply to options count as successful
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14242 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
fc98966e5a
commit
a2b4bf69fe
|
@ -2838,7 +2838,7 @@ static void sofia_handle_sip_r_options(switch_core_session_t *session, int statu
|
|||
}
|
||||
|
||||
if (gateway) {
|
||||
if (status == 200 || status == 404 || status == 501) {
|
||||
if (status >= 200 && status < 600) {
|
||||
if (gateway->state == REG_STATE_FAILED) {
|
||||
gateway->state = REG_STATE_UNREGED;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue