git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8738 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-06-02 15:48:56 +00:00
parent 187a577c32
commit 42de2e4587
1 changed files with 1 additions and 0 deletions

View 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 {