[OpenSIPS-Devel] [OpenSIPS/opensips] 7596eb: Fix socket selection for outbound UDP.
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Jul 5 13:00:05 CEST 2016
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 7596eb99fceb68bd95653b76a388f8bc42fee5c6
https://github.com/OpenSIPS/opensips/commit/7596eb99fceb68bd95653b76a388f8bc42fee5c6
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2016-07-05 (Tue, 05 Jul 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.
More information about the Devel
mailing list