|
@@ -550,13 +550,11 @@ static int prepare_new_uac( struct cell *t, struct sip_msg *i_req,
|
|
|
memcpy( t->uac[branch].location_ua.s, i_req->location_ua.s, i_req->location_ua.len);
|
|
|
}
|
|
|
|
|
|
-#ifdef TM_UAC_FLAGS
|
|
|
len = count_applied_lumps(i_req->add_rm, HDR_RECORDROUTE_T);
|
|
|
if(len==1)
|
|
|
t->uac[branch].flags = TM_UAC_FLAG_RR;
|
|
|
else if(len==2)
|
|
|
t->uac[branch].flags = TM_UAC_FLAG_RR|TM_UAC_FLAG_R2;
|
|
|
-#endif
|
|
|
|
|
|
ret=0;
|
|
|
|
|
@@ -1728,10 +1726,8 @@ int t_forward_nonack( struct cell *t, struct sip_msg* p_msg ,
|
|
|
return lowest_ret;
|
|
|
}
|
|
|
|
|
|
-#ifdef TM_UAC_FLAGS
|
|
|
/* mark the fist branch in this fwd step */
|
|
|
t->uac[first_branch].flags |= TM_UAC_FLAG_FB;
|
|
|
-#endif
|
|
|
|
|
|
ser_error=0; /* clear branch adding errors */
|
|
|
/* send them out now */
|