Module: kamailio
Branch: 4.4
Commit: e9d576019622059b0b0b6d4d6ca27940662fb605
URL:
https://github.com/kamailio/kamailio/commit/e9d576019622059b0b0b6d4d6ca2794…
Author: lazedo <luis.azedo(a)factorlusitano.com>
Committer: GitHub <noreply(a)github.com>
Date: 2017-01-24T12:55:12Z
Merge pull request #946 from kamailio/lazedo-patch-3
tm: apply new updates with Via with updated request
---
Modified: modules/tm/uac.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e9d576019622059b0b0b6d4d6ca2794…
Patch:
https://github.com/kamailio/kamailio/commit/e9d576019622059b0b0b6d4d6ca2794…
---
diff --git a/modules/tm/uac.c b/modules/tm/uac.c
index 8c3a485..93ed0c9 100644
--- a/modules/tm/uac.c
+++ b/modules/tm/uac.c
@@ -426,7 +426,7 @@ static inline int t_uac_prepare(uac_req_t *uac_r,
LM_DBG("apply new updates with Via to sip msg\n");
buf1 = build_req_buf_from_sip_req(&lreq,
- (unsigned int*)&buf_len1, &dst, BUILD_IN_SHM);
+ (unsigned int*)&buf_len1, &request->dst, BUILD_IN_SHM);
if (likely(buf1)){
shm_free(buf);
buf = buf1;