temporary hack to ignore retry-after so we can avoid segfault (SFSIP-134)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12941 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
272c0240fe
commit
54be7df9ff
|
@ -1195,7 +1195,7 @@ int nua_base_client_check_restart(nua_client_request_t *cr,
|
|||
}
|
||||
}
|
||||
|
||||
if (500 <= status && status < 600 &&
|
||||
if (0 && 500 <= status && status < 600 &&
|
||||
sip->sip_retry_after &&
|
||||
sip->sip_retry_after->af_delta < 32) {
|
||||
su_timer_t *timer;
|
||||
|
@ -1219,6 +1219,7 @@ int nua_base_client_check_restart(nua_client_request_t *cr,
|
|||
nua_client_report(cr, 100, phrase, NULL, orq, NULL);
|
||||
nta_outgoing_destroy(orq);
|
||||
cr->cr_status = 0, cr->cr_phrase = NULL;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue