[sr-dev] git:master:c671e781: registrar: clean avp/xavp created at 'usrloc:contact-expired' route_event

Victor Seva linuxmaniac at torreviejawireless.org
Thu Jun 27 08:56:54 CEST 2019


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

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2019-06-27T08:56:47+02:00

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

---

Modified: src/modules/registrar/regpv.c

---

Diff:  https://github.com/kamailio/kamailio/commit/c671e78142b51515d64392fd9a9db8f07e904167.diff
Patch: https://github.com/kamailio/kamailio/commit/c671e78142b51515d64392fd9a9db8f07e904167.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);




More information about the sr-dev mailing list