Module: kamailio
Branch: 5.2
Commit: 4a458861b4377f53218a6c836f18adca6b17a9ff
URL: 
https://github.com/kamailio/kamailio/commit/4a458861b4377f53218a6c836f18adca6b17a9ff

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2019-06-27T08:57:54+02:00

registrar: clean avp/xavp created at 'usrloc:contact-expired' route_event

(cherry picked from commit c671e78142b51515d64392fd9a9db8f07e904167)

---

Modified: src/modules/registrar/regpv.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/4a458861b4377f53218a6c836f18adca6b17a9ff.diff
Patch: 
https://github.com/kamailio/kamailio/commit/4a458861b4377f53218a6c836f18adca6b17a9ff.patch

---

diff --git a/src/modules/registrar/regpv.c b/src/modules/registrar/regpv.c
index d04f129d47..dbf48ae47d 100644
--- a/src/modules/registrar/regpv.c
+++ b/src/modules/registrar/regpv.c
@@ -35,6 +35,7 @@
 #include "../../core/action.h"
 #include "../../core/fmsg.h"
 #include "../../core/kemi.h"
+#include "../../core/receive.h"
 #include "../usrloc/usrloc.h"
 #include "registrar.h"
 #include "common.h"
@@ -751,7 +752,7 @@ void reg_ul_expired_contact(ucontact_t* ptr, int type, 
void* param)
                }
        }
        set_route_type(backup_rt);
-
+       ksr_msg_env_reset();
        return;
 error:
        regpv_free_profile(rpp);


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to