[sr-dev] git:master:7261ac9f: Merge pull request #1246 from kamailio/timer-xavp

GitHub noreply at github.com
Sun Sep 24 11:27:08 CEST 2017


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: GitHub <noreply at github.com>
Date: 2017-09-24T11:27:03+02:00

Merge pull request #1246 from kamailio/timer-xavp

timer: reset xavp using common function

---

Modified: src/modules/timer/timer.c

---

Diff:  https://github.com/kamailio/kamailio/commit/7261ac9fd36b6ea4a70695363b14b91d884e0c81.diff
Patch: https://github.com/kamailio/kamailio/commit/7261ac9fd36b6ea4a70695363b14b91d884e0c81.patch

---

diff --git a/src/modules/timer/timer.c b/src/modules/timer/timer.c
index 877c318408..944e50b4dd 100644
--- a/src/modules/timer/timer.c
+++ b/src/modules/timer/timer.c
@@ -189,7 +189,7 @@ static ticks_t timer_handler(ticks_t ticks, struct timer_ln* tl, void* data) {
 		/* execute post request-script callbacks */
 		exec_post_script_cb(msg, REQUEST_CB_TYPE);
 	end:
-		reset_avps();
+		ksr_msg_env_reset();
 		DEBUG(MODULE_NAME": handler: cleaning up\n");
 	err:
 		free_sip_msg(msg);




More information about the sr-dev mailing list