[sr-dev] git:master:6cc60c15: modules/dialog_ng: fix route_sets for callee_leg

jaybeepee jason.penton at gmail.com
Wed Apr 8 15:18:41 CEST 2015


Module: kamailio
Branch: master
Commit: 6cc60c159c692b2f38d0fce6b07510b9cc88efd0
URL: https://github.com/kamailio/kamailio/commit/6cc60c159c692b2f38d0fce6b07510b9cc88efd0

Author: jaybeepee <jason.penton at gmail.com>
Committer: jaybeepee <jason.penton at gmail.com>
Date: 2015-04-08T15:18:21+02:00

modules/dialog_ng: fix route_sets for callee_leg

---

Modified: modules/dialog_ng/dlg_handlers.c

---

Diff:  https://github.com/kamailio/kamailio/commit/6cc60c159c692b2f38d0fce6b07510b9cc88efd0.diff
Patch: https://github.com/kamailio/kamailio/commit/6cc60c159c692b2f38d0fce6b07510b9cc88efd0.patch

---

diff --git a/modules/dialog_ng/dlg_handlers.c b/modules/dialog_ng/dlg_handlers.c
index e680473..af1af7c 100644
--- a/modules/dialog_ng/dlg_handlers.c
+++ b/modules/dialog_ng/dlg_handlers.c
@@ -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) {




More information about the sr-dev mailing list