revert temporary hack

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13064 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-04-16 19:08:31 +00:00
parent 0ed0ef9e5e
commit 646666faec
1 changed files with 2 additions and 3 deletions

View File

@ -1154,7 +1154,7 @@ int nua_base_client_check_restart(nua_client_request_t *cr,
if (status == 423) {
unsigned my_expires = 0;
if (cr->cr_sip && cr->cr_sip->sip_expires)
if (cr->cr_sip->sip_expires)
my_expires = cr->cr_sip->sip_expires->ex_delta;
if (sip->sip_min_expires &&
@ -1209,8 +1209,7 @@ int nua_base_client_check_restart(nua_client_request_t *cr,
}
}
if (500 <= status && status < 600 &&
cr->cr_sip &&
if (0 && 500 <= status && status < 600 &&
sip->sip_retry_after &&
sip->sip_retry_after->af_delta < 32) {
su_timer_t *timer;