]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 2 Jun 2008 15:48:56 +0000 (15:48 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 2 Jun 2008 15:48:56 +0000 (15:48 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8738 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index e74e014d83eabfbddf4fa52f103c090db0f08568..6b4a487203f2a7aa3fb4bc56279194371db3d032 100644 (file)
@@ -1520,6 +1520,7 @@ static void sofia_handle_sip_r_options(switch_core_session_t *session, int statu
                        //switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "ping success %s\n", gateway->name);
                        if (gateway->state == REG_STATE_FAILED) {
                                gateway->state = REG_STATE_UNREGED;
+                               gateway->retry = 0;
                        }
                        gateway->status = SOFIA_GATEWAY_UP;
                } else {