[sr-dev] git:4.3:05ec88af: modules/lcr: backported ruri_user_avp fix

Juha Heinanen jh at tutpro.com
Mon Dec 14 23:16:47 CET 2015


Module: kamailio
Branch: 4.3
Commit: 05ec88af66344c2897f34b51b0ca7fc6d66ee2a1
URL: https://github.com/kamailio/kamailio/commit/05ec88af66344c2897f34b51b0ca7fc6d66ee2a1

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date: 2015-12-15T00:15:07+02:00

modules/lcr: backported ruri_user_avp fix

---

Modified: modules/lcr/lcr_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/05ec88af66344c2897f34b51b0ca7fc6d66ee2a1.diff
Patch: https://github.com/kamailio/kamailio/commit/05ec88af66344c2897f34b51b0ca7fc6d66ee2a1.patch

---

diff --git a/modules/lcr/lcr_mod.c b/modules/lcr/lcr_mod.c
index ae01b24..9f1da65 100644
--- a/modules/lcr/lcr_mod.c
+++ b/modules/lcr/lcr_mod.c
@@ -1829,6 +1829,7 @@ void add_gws_into_avps(struct gw_info *gws, struct matched_gw_info *matched_gws,
     int_str val;
 
     delete_avp(gw_uri_avp_type|AVP_VAL_STR, gw_uri_avp);
+    delete_avp(ruri_user_avp_type|AVP_VAL_STR, ruri_user_avp);
 
     for (i = 0; i < gw_cnt; i++) {
 	if (matched_gws[i].duplicate == 1) continue;




More information about the sr-dev mailing list