[Asterisk-code-review] pjsip: Add tests for 'ip' option of 'identify by' on endpoint. (testsuite[master])

Joshua Colp asteriskteam at digium.com
Wed Oct 25 13:37:18 CDT 2017


Hello Jenkins2, George Joseph, 

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

    https://gerrit.asterisk.org/6908

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

Change subject: pjsip: Add tests for 'ip' option of 'identify_by' on endpoint.
......................................................................

pjsip: Add tests for 'ip' option of 'identify_by' on endpoint.

This change adds two tests:

The first test sends various calls to Asterisk that initially match
based on the username portion of the From header. The endpoint
is configured to not allow it to be matched based on username.
Afterwards matching based on IP address occurs to a valid
endpoint.

The second test sends various calls to Asterisk that initially match
based on the source IP address of the INVITE. The endpoint is
configured to not allow it to be matched based on this. Afterwards
matching based on username occurs to a valid endpoint.

In both tests if calls work then the right endpoint has been
matched. If calls fail then the endpoint was matched incorrectly.

ASTERISK-27206

Change-Id: Ieb4e504b0063c723f6cdafd0f78281e33027f7ac
---
A tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host_only/configs/ast1/extensions.conf
A tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host_only/configs/ast1/pjsip.conf
A tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host_only/sipp/playback_with_initial_sdp.xml
A tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host_only/test-config.yaml
A tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_user_only/configs/ast1/extensions.conf
A tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_user_only/configs/ast1/pjsip.conf
A tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_user_only/sipp/playback_with_initial_sdp.xml
A tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_user_only/test-config.yaml
M tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/tests.yaml
M tests/channels/pjsip/dialplan_functions/pjsip_endpoint/configs/ast1/pjsip.conf
10 files changed, 366 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/08/6908/3
-- 
To view, visit https://gerrit.asterisk.org/6908
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ieb4e504b0063c723f6cdafd0f78281e33027f7ac
Gerrit-Change-Number: 6908
Gerrit-PatchSet: 3
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171025/04beb7e9/attachment.html>


More information about the asterisk-code-review mailing list