Module: kamailio
Branch: master
Commit: 287600cc1560d2a035b766700fb2aba85456605c
URL:
https://github.com/kamailio/kamailio/commit/287600cc1560d2a035b766700fb2aba…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-04-18T11:21:59+02:00
tm: fix setting t->callid_val after previous changes to keep shortcuts
- GH #3417
---
Modified: src/modules/tm/t_msgbuilder.c
---
Diff:
https://github.com/kamailio/kamailio/commit/287600cc1560d2a035b766700fb2aba…
Patch:
https://github.com/kamailio/kamailio/commit/287600cc1560d2a035b766700fb2aba…
---
diff --git a/src/modules/tm/t_msgbuilder.c b/src/modules/tm/t_msgbuilder.c
index 2e053341b19..9240e551764 100644
--- a/src/modules/tm/t_msgbuilder.c
+++ b/src/modules/tm/t_msgbuilder.c
@@ -1526,7 +1526,7 @@ static inline char* print_callid(char* w, dlg_t* dialog, struct
cell* t)
w = print_callid_mini(w, dialog->id.call_id);
- t->callid_val.s = t->callid_val.s + CALLID_LEN;
+ t->callid_val.s = t->callid_hdr.s + CALLID_LEN;
t->callid_val.len = dialog->id.call_id.len;
trim(&t->callid_val);