[asterisk-dev] [Code Review] Fix DNS resolution for IPv4 when UDP transport is IPv6 only.
Joshua Colp
reviewboard at asterisk.org
Wed Jan 11 10:38:19 CST 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1667/
-----------------------------------------------------------
Review request for Asterisk Developers.
Summary
-------
This changes the address family filtering when doing DNS resolution to take the transport type into account. By taking the transport type into account the correct bound address can be used to return the proper address family. Previously the UDP address was always used so if it were set to IPv6 only then IPv4 resolution was not possible on the TCP or TLS transport.
Diffs
-----
/branches/1.8/channels/chan_sip.c 350362
Diff: https://reviewboard.asterisk.org/r/1667/diff
Testing
-------
Confirmed registrations and calls are now possible when UDP transport is IPv6 only and TCP/TLS transport is IPv4 only.
Thanks,
Joshua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120111/36d5e544/attachment.htm>
More information about the asterisk-dev
mailing list