[Asterisk-code-review] SIP: Add redirecting reason test. (testsuite[master])

Mark Michelson asteriskteam at digium.com
Mon Aug 10 09:57:25 CDT 2015


Mark Michelson has uploaded a new patch set (#2).

Change subject: SIP: Add redirecting reason test.
......................................................................

SIP: Add redirecting reason test.

This is a test I actually wrote nearly three years ago and somehow did
not manage to get merged.

This test ensures that the REDIRECTING(reason) gets set to specific
values when we expect them to. We check this in three scenarios:

* As the ;reason parameter on a Diversion header in an incoming INVITE
* As the ;reason parameter on a Diversion header in an incoming 302
* As the status text on a 480 response on an outgoing call

Change-Id: Ie9f609da197a746ce2a9b8bd2595db0419e5bd87
---
A tests/channels/SIP/redirecting_reason/configs/ast1/extensions.conf
A tests/channels/SIP/redirecting_reason/configs/ast1/sip.conf
A tests/channels/SIP/redirecting_reason/sipp/uac-diversion.xml
A tests/channels/SIP/redirecting_reason/sipp/uac-no-hangup.xml
A tests/channels/SIP/redirecting_reason/sipp/uas-480.xml
A tests/channels/SIP/redirecting_reason/sipp/uas-redirect.xml
A tests/channels/SIP/redirecting_reason/test-config.yaml
M tests/channels/SIP/tests.yaml
8 files changed, 335 insertions(+), 0 deletions(-)


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

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie9f609da197a746ce2a9b8bd2595db0419e5bd87
Gerrit-PatchSet: 2
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>



More information about the asterisk-code-review mailing list