mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
tweak ping behaviour
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8881 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1532,7 +1532,7 @@ static void sofia_handle_sip_r_options(switch_core_session_t *session, int statu
|
||||
gateway->status = SOFIA_GATEWAY_DOWN;
|
||||
if (gateway->state == REG_STATE_REGED) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "unregister %s\n", gateway->name);
|
||||
gateway->state = REG_STATE_UNREGISTER;
|
||||
gateway->state = REG_STATE_FAILED;
|
||||
}
|
||||
}
|
||||
gateway->ping = switch_timestamp(NULL) + gateway->ping_freq;
|
||||
|
||||
Reference in New Issue
Block a user