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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-05-29T11:44:22+02:00

siptrace: do not reset the evn on event route

- event route specific avps are cleaned by ksr_msg_env_pop()
- GH #4760

---

Modified: src/modules/siptrace/siptrace.c

---

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

---

diff --git a/src/modules/siptrace/siptrace.c b/src/modules/siptrace/siptrace.c
index e6cc6aeebe6..389630f9d4b 100644
--- a/src/modules/siptrace/siptrace.c
+++ b/src/modules/siptrace/siptrace.c
@@ -2271,7 +2271,6 @@ static int siptrace_exec_evcb_msg(siptrace_data_t *sto)
        }
        siptrace_event_data = NULL;
 
-       ksr_msg_env_reset();
        free_sip_msg(&msg);
        ksr_msg_env_pop(&menv);
        if(ctx.run_flags & DROP_R_F) {

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to