do not retry so fast on failed outbound subs

This commit is contained in:
Anthony Minessale committed 2014-03-14 12:55:50 -05:00
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);