[sr-dev] git:master:66d17d5e: siptrace: when saving into dialog use local stored uri instead of global one

Henning Westerholt henningw at users.noreply.github.com
Tue Apr 9 21:26:06 CEST 2019


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

Author: iionita <ionut-razvan.ionita at 1and1.ro>
Committer: Henning Westerholt <henningw at users.noreply.github.com>
Date: 2019-04-09T21:25:53+02:00

siptrace: when saving into dialog use local stored uri instead of global one

The local one is either the parameter if set or the global one if not.

---

Modified: src/modules/siptrace/siptrace.c

---

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

---

diff --git a/src/modules/siptrace/siptrace.c b/src/modules/siptrace/siptrace.c
index 94167c32e0..fae818ec43 100644
--- a/src/modules/siptrace/siptrace.c
+++ b/src/modules/siptrace/siptrace.c
@@ -969,7 +969,7 @@ static int w_sip_trace3(sip_msg_t *msg, char *dest, char *correlation_id, char *
 		info->correlation_id = correlation_id_str;
 		if (dest) {
 			info->uriState = STRACE_RAW_URI;
-			info->u.dup_uri = dup_uri_str;
+			info->u.dup_uri = dup_uri_param_str;
 		} else {
 			info->uriState = STRACE_UNUSED_URI;
 		}




More information about the sr-dev mailing list