Module: kamailio
Branch: master
Commit: 9743c1226e95e9a9f890d6c22ad1da7b9f9cc543
URL:
https://github.com/kamailio/kamailio/commit/9743c1226e95e9a9f890d6c22ad1da7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-08-26T18:07:47+02:00
corex: set internal flag FL_VIA_NORECEIVED for forward_uac() variants
---
Modified: src/modules/corex/corex_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9743c1226e95e9a9f890d6c22ad1da7…
Patch:
https://github.com/kamailio/kamailio/commit/9743c1226e95e9a9f890d6c22ad1da7…
---
diff --git a/src/modules/corex/corex_mod.c b/src/modules/corex/corex_mod.c
index cf663158fa0..7e121f8bb61 100644
--- a/src/modules/corex/corex_mod.c
+++ b/src/modules/corex/corex_mod.c
@@ -325,6 +325,7 @@ static int ki_forward_uac_uri(sip_msg_t *msg, str *vuri)
return -1;
}
dst.proto = u->proto;
+ msg->msg_flags |= FL_VIA_NORECEIVED;
ret = forward_request_mode(
msg, &u->host, u->port_no, &dst, BUILD_NO_VIA1_UPDATE);
if(ret >= 0) {