Skip to content

Commit

Permalink
modules/dialog_ng: fix route_sets for callee_leg
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybeepee committed Apr 8, 2015
1 parent 285225c commit 6cc60c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/dialog_ng/dlg_handlers.c
Expand Up @@ -215,12 +215,11 @@ int populate_leg_info(struct dlg_cell *dlg, struct sip_msg *msg,
} else {
skip_recs = 0;
/* was the 200 OK received or local generated */
/*skip_recs = dlg->from_rr_nb +
skip_recs = dlg->from_rr_nb +
((t->relayed_reply_branch >= 0) ?
((t->uac[t->relayed_reply_branch].flags & TM_UAC_FLAG_R2) ? 2 :
((t->uac[t->relayed_reply_branch].flags & TM_UAC_FLAG_RR) ? 1 : 0))
: 0);
* */
}

if (msg->record_route) {
Expand Down

0 comments on commit 6cc60c1

Please sign in to comment.