[Asterisk-code-review] Add a NAPTR test involving restricted transports. (testsuite[master])

Mark Michelson asteriskteam at digium.com
Thu Jun 11 17:03:22 CDT 2015


Hello Joshua Colp,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/637

to look at the new patch set (#2).

Change subject: Add a NAPTR test involving restricted transports.
......................................................................

Add a NAPTR test involving restricted transports.

Two NAPTR records exist for example.com in this test. The one with the
lowest preference value points to a TCP SRV record. The one with the
highest preference value points to a UDP SRV record. pjsip.conf has no
TCP transport set up. So Asterisk should skip the TCP SRV record lookup
and skip straight to the UDP SRV record lookup.

A SIPp scenario listens at the UDP destination. The test succeeds if the
SIPp scenario succeeds.

ASTERISK-25014 #close
Reported by Matt Jordan

Change-Id: I2940dcf61a5efcf4908a7f934e5c6d8bde5e24fc
---
A tests/channels/pjsip/resolver/naptr/restricted_transport/configs/ast1/extensions.conf
A tests/channels/pjsip/resolver/naptr/restricted_transport/configs/ast1/pjsip.conf
A tests/channels/pjsip/resolver/naptr/restricted_transport/configs/ast1/resolver_unbound.conf
A tests/channels/pjsip/resolver/naptr/restricted_transport/dns_zones/example.com
A tests/channels/pjsip/resolver/naptr/restricted_transport/sipp/uas.xml
A tests/channels/pjsip/resolver/naptr/restricted_transport/test-config.yaml
M tests/channels/pjsip/resolver/naptr/tests.yaml
7 files changed, 172 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/37/637/2
-- 
To view, visit https://gerrit.asterisk.org/637
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I2940dcf61a5efcf4908a7f934e5c6d8bde5e24fc
Gerrit-PatchSet: 2
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>



More information about the asterisk-code-review mailing list