[OpenSIPS-Devel] [OpenSIPS/opensips] c26401: Fix socket selection for outbound UDP.
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Sep 20 10:25:50 CEST 2016
Branch: refs/heads/2.2
Home: https://github.com/OpenSIPS/opensips
Commit: c26401a9cb13758bbf02e153284de6bee6a9f651
https://github.com/OpenSIPS/opensips/commit/c26401a9cb13758bbf02e153284de6bee6a9f651
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2016-09-20 (Tue, 20 Sep 2016)
Changed paths:
M forward.c
Log Message:
-----------
Fix socket selection for outbound UDP.
Do not use the bind_address of the process when comes to send an UDP package (bind_address may be different from process to process, so the selection may give different results, depending on the processes sending the UDP).
If you have a sip_msg, try using received interface of the msg (if matches), otherwise use the first UDP interface.
(cherry picked from commit 7596eb99fceb68bd95653b76a388f8bc42fee5c6)
More information about the Devel
mailing list