[Asterisk-code-review] pjsip_resolver.c: Ensure AAAA dns requests are made. (asterisk[master])

Sean Bright asteriskteam at digium.com
Mon May 11 17:12:47 CDT 2020


Sean Bright has uploaded a new patch set (#3) to the change originally created by Roger James. ( https://gerrit.asterisk.org/c/asterisk/+/14404 )

Change subject: pjsip_resolver.c: Ensure AAAA dns requests are made.
......................................................................

pjsip_resolver.c: Ensure AAAA dns requests are made.

1. Modify sip_resolve and sip_resolve_callback to request AAAA lookups
   when an IPV6 transport type has been requested.

2. Rename all occurrences of pjsip_transport_get_type_name to
   pjsip_transport_get_type_desc. This ensures that the log/debug info
   shows whether the transport is IPv6 or IPv4.

3. Do not add the constant PJSIP_TRANSPORT_IPV6 to existing transport
   types. This results in invalid values. Use a bitwise or instead.

ASTERISK-26780
Patches:
    pjsip_resolver.c uploaded by Peter Sokolov (License #7070)

Change-Id: I8b1e298f8efa682d0a7644113258fe76d9889c58
---
M res/res_pjsip/pjsip_resolver.c
1 file changed, 15 insertions(+), 11 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/04/14404/3
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14404
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I8b1e298f8efa682d0a7644113258fe76d9889c58
Gerrit-Change-Number: 14404
Gerrit-PatchSet: 3
Gerrit-Owner: Roger James <roger at beardandsandals.co.uk>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200511/741c3be8/attachment.html>


More information about the asterisk-code-review mailing list