mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 08:14:13 +00:00
do not retry so fast on failed outbound subs
This commit is contained in:
1 parent
6a1d552430
commit
e37616e36d
3 files changed
+10
-2
No files matched your search
@@ -4372,8 +4372,6 @@ void sofia_presence_handle_sip_r_subscribe(int status,
|
||||
default:
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "status (%d) != 200, updated state to SUB_STATE_FAILED.\n", status);
|
||||
gw_sub_ptr->state = SUB_STATE_FAILED;
|
||||
gw_sub_ptr->expires = switch_epoch_time_now(NULL);
|
||||
gw_sub_ptr->retry = switch_epoch_time_now(NULL);
|
||||
|
||||
if (!sofia_private) {
|
||||
nua_handle_destroy(nh);
|
||||
|
||||
Reference in new issue
Block a user