Commit a5fb717f authored by Pekka Pessi's avatar Pekka Pessi

nua_session.c: fixed session timer case by UAS without default refersher

darcs-hash:20060728102140-65a35-78ab06c5d01ac7f9fd409ac9aac6a27e9409399e.gz
parent 272bd775
......@@ -1464,7 +1464,8 @@ use_session_timer(nua_handle_t *nh, int uas, msg_t *msg, sip_t *sip)
static sip_param_t const x_params_uas[] = {"refresher=uas", NULL};
/* Session-Expires timer */
if ((NH_PGET(nh, refresher) == 0 &&
if ((ss->ss_refresher == nua_no_refresher &&
NH_PGET(nh, refresher) == 0 &&
NH_PGET(nh, session_timer) == 0) ||
/* Is timer feature supported? */
!sip_has_supported(NH_PGET(nh, supported), "timer"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment