]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
408 means no reply, that's bad
authorBrian West <brian@freeswitch.org>
Wed, 18 Nov 2009 22:59:28 +0000 (22:59 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 18 Nov 2009 22:59:28 +0000 (22:59 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15534 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 67b094edadafa64e04eb45328ddfeff82aae40c2..39882b73918a27095dc614419c07b2a45a8ada81 100644 (file)
@@ -3187,7 +3187,7 @@ static void sofia_handle_sip_r_options(switch_core_session_t *session, int statu
        }
 
        if (gateway) {
-               if (status >= 200 && status < 600) {
+               if (status >= 200 && status < 600 && status != 408) {
                        if (gateway->state == REG_STATE_FAILED) {
                                gateway->state = REG_STATE_UNREGED;
                        }