[asterisk-dev] [Code Review] Add tests for Path header support
opticron
reviewboard at asterisk.org
Fri Feb 22 22:39:26 CST 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2325/#review7919
-----------------------------------------------------------
/asterisk/trunk/tests/channels/SIP/path/sipp/registrar.xml
<https://reviewboard.asterisk.org/r/2325/#comment15033>
Needs leading spaces to conform to further indentation.
/asterisk/trunk/tests/channels/SIP/path/sipp/ua1_register.xml
<https://reviewboard.asterisk.org/r/2325/#comment15034>
Combine this to be variables="1,2"
- opticron
On Feb. 22, 2013, 9:56 p.m., Matt Jordan wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2325/
> -----------------------------------------------------------
>
> (Updated Feb. 22, 2013, 9:56 p.m.)
>
>
> Review request for Asterisk Developers, Olle E Johansson and Klaus Darilion.
>
>
> Summary
> -------
>
> This patch adds a test to the Asterisk Test Suite to support the Path header extension in https://reviewboard.asterisk.org/r/2235/. The tests covers two scenarios:
>
> 1. A UA sends a REGISTER request to Asterisk. The test verifies that the Path header in the request is copied into the 200 OK response and that the response indicates support for 'path'. It then verifies that a subsequent request sent to the UA (An INVITE for a new call) contains the path information in the Route header.
>
> 2. If path support is enabled globally, it verifies that outbound REGISTER requests from Asterisk indicate support for 'path'.
>
>
> This addresses bug ASTERISK-16884.
> https://issues.asterisk.org/jira/browse/ASTERISK-16884
>
>
> Diffs
> -----
>
> /asterisk/trunk/tests/channels/SIP/path/configs/ast1/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/channels/SIP/path/configs/ast1/sip.conf PRE-CREATION
> /asterisk/trunk/tests/channels/SIP/path/sipp/registrar.xml PRE-CREATION
> /asterisk/trunk/tests/channels/SIP/path/sipp/ua1_invite_recv.xml PRE-CREATION
> /asterisk/trunk/tests/channels/SIP/path/sipp/ua1_register.xml PRE-CREATION
> /asterisk/trunk/tests/channels/SIP/path/test-config.yaml PRE-CREATION
> /asterisk/trunk/tests/channels/SIP/tests.yaml 3648
>
> Diff: https://reviewboard.asterisk.org/r/2325/diff
>
>
> Testing
> -------
>
> Tests were set up in Bamboo to run on Olle's branch. Note that prior test runs were expected to fail, as the branch didn't yet send the Path header in the REGISTER response, which the test checks for.
>
> A successful test run *should* be http://bamboo.asterisk.org/browse/ASTTEAM-OOLONGPATHSUPPORTTRUNK-12/ (when its done running, anyway)
>
>
> Thanks,
>
> Matt
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130223/dbe3e3e0/attachment.htm>
More information about the asterisk-dev
mailing list