[Home]

Summary:ASTERISK-25012: DNS Tests: NAPTR Nominal - Correct Order
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2015-04-24 11:39:43Date Closed:2015-06-05 18:54:12
Priority:MajorRegression?
Status:Closed/CompleteComponents:Tests/testsuite
Versions:Frequency of
Occurrence
Related
Issues:
is related toASTERISK-25013 DNS Tests: NAPTR Nominal - Correct Preference
is related toASTERISK-25014 DNS Tests: NAPTR Nominal - Restricted Transport
is related toASTERISK-25015 DNS Tests: NAPTR Nominal - Failover of preferences
Environment:Attachments:
Description:h2. NAPTR Nominal Tests

h3. Goal

Ensure that when multiple NAPTR records are returned, that the record with the lowest order is used.

h3. Procedure:

# Set up the following DNS records for test.internal:
{noformat}
   ;        order pref flags  service      regexp  replacement
   IN NAPTR    50   50   "s"  "SIP+D2T"    ""      _sip._tcp.test.internal.
   IN NAPTR    90   40   "s"  "SIP+D2U"    ""      _sip._udp.test.internal.
{noformat}
# Enable NAPTR lookups for outbound SIP calls. Allow both UDP and TCP transports to be used for the outgoing call.
# Place an outbound SIP call to sip:test.internal.
# Ensure that a NAPTR lookup of test.internal occurs
# Ensure that the NAPTR lookup results in an SRV lookup of _sip._tcp.test.internal
Comments: