[asterisk-users] tcpbind and source IP address
Kseniya Blashchuk
ksyblast at gmail.com
Mon Mar 13 06:52:22 CDT 2017
Ah ok, thank you for checking.
I'll maybe also try with the latest asterisk and/or other distro and see if
this behavior is reproduced.
пн, 13 мар. 2017 г. в 14:46, Joshua Colp <jcolp at digium.com>:
> On Mon, Mar 13, 2017, at 08:43 AM, Kseniya Blashchuk wrote:
> > Mmh sorry I'm afraid I did not understand your last message. Yes the code
> > does that but only with UDP, for TCP the source address is 192.168.0.172
> > though it's bound to 192.168.0.177:
> > IP 192.168.0.172.47596 > <mydestip>.5061
> > If it was a system/kernel issue, then why is the behavior different for
> > TCP
> > and UDP? I thought that maybe the application does not request the bound
> > address as a source in case of TCP...
>
> The chan_sip module, from looking at the code, does use the bound
> address when connecting. Someone would need to dig deeper to understand
> if the problem is somehow in Asterisk or if it is the system somehow
> doing it.
>
> --
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
> https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170313/85d6b7d0/attachment.html>
More information about the asterisk-users
mailing list