Module: kamailio
Branch: master
Commit: 6183319381573e42b882d05ae1748539f7547d8c
URL:
https://github.com/kamailio/kamailio/commit/6183319381573e42b882d05ae174853…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2023-05-18T10:52:52Z
dispatcher: fix force send socket functionality, was not working in some TCP scenarios
---
Modified: src/modules/dispatcher/dispatch.c
---
Diff:
https://github.com/kamailio/kamailio/commit/6183319381573e42b882d05ae174853…
Patch:
https://github.com/kamailio/kamailio/commit/6183319381573e42b882d05ae174853…
---
diff --git a/src/modules/dispatcher/dispatch.c b/src/modules/dispatcher/dispatch.c
index a07f779ab8..f0322a6b57 100644
--- a/src/modules/dispatcher/dispatch.c
+++ b/src/modules/dispatcher/dispatch.c
@@ -1869,7 +1869,8 @@ static inline int ds_push_dst(
break;
}
if(sock) {
- msg->force_send_socket = sock;
+ LM_DBG("set send socket to %.*s\n", sock->sock_str.len,
sock->sock_str.s);
+ set_force_socket(msg, sock);
}
return 0;
}