Module: kamailio
Branch: master
Commit: c671e78142b51515d64392fd9a9db8f07e904167
URL:
https://github.com/kamailio/kamailio/commit/c671e78142b51515d64392fd9a9db8f…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)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/c671e78142b51515d64392fd9a9db8f…
Patch:
https://github.com/kamailio/kamailio/commit/c671e78142b51515d64392fd9a9db8f…
---
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);