提交 f3c94ab8 authored 作者: Brian West's avatar Brian West

408 means no reply, that's bad

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15534 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 dcbb7346
...@@ -3187,7 +3187,7 @@ static void sofia_handle_sip_r_options(switch_core_session_t *session, int statu ...@@ -3187,7 +3187,7 @@ static void sofia_handle_sip_r_options(switch_core_session_t *session, int statu
} }
if (gateway) { if (gateway) {
if (status >= 200 && status < 600) { if (status >= 200 && status < 600 && status != 408) {
if (gateway->state == REG_STATE_FAILED) { if (gateway->state == REG_STATE_FAILED) {
gateway->state = REG_STATE_UNREGED; gateway->state = REG_STATE_UNREGED;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论