channels/chan_sip.c: use binding IP address for outgoing TCP SIP connections
authorThierry Magnien <thierry.magnien@gmail.com>
Wed, 26 Apr 2017 12:58:44 +0000 (14:58 +0200)
committerThierry Magnien <thierry.magnien@gmail.com>
Wed, 26 Apr 2017 12:58:44 +0000 (14:58 +0200)
commit585f9405b11da980d7ffb2f71b90ccd4d5842383
treeac715419f1a0d511541f8f7868b3ee69c3cd6a3b
parent5a987fc5e915fdc016e0c6c7e2958bd72078b95d
channels/chan_sip.c: use binding IP address for outgoing TCP SIP connections

For outgoing TCP connections, Asterisk uses the first IP address of the
interface instead of the IP address we asked him to bind to.

ASTERISK-26922 #close
Reported-by: Ksenia

Change-Id: I43c71ca89211dbf1838e5bcdb9be8d06d98e54eb
channels/chan_sip.c