[asterisk-dev] [Code Review] 4294: testsuite: Add a test for user_eq_phone setting in PJSIP

Joshua Colp reviewboard at asterisk.org
Tue Dec 23 08:07:11 CST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4294/#review14031
-----------------------------------------------------------

Ship it!


Ship It!

- Joshua Colp


On Dec. 23, 2014, 12:46 p.m., Matt Jordan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4294/
> -----------------------------------------------------------
> 
> (Updated Dec. 23, 2014, 12:46 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Repository: testsuite
> 
> 
> Description
> -------
> 
> This patch adds a test for the user_eq_phone endpoint setting in PJSIP.
> 
> The test verifies that when the user_eq_phone setting is enabled on a PJSIP endpoint, a request sent from Asterisk to that endpoint that contains a telephone number in the request URI has a 'user=phone' specified appended to it. The test originates a Local channel that causes an outbound dial to number 12568675309 at endpoint 'jenny'. The SIPp scenario verifies that a 'user=phone' tag is found in the INVITE request received from Asterisk.
> 
> Note that this patch was originally applied to trunk, but a test is being provided both because tests are awesome as well as to backport the patch to 13. Some providers really like to know something is a phone number. Interoperability, yay!
> 
> 
> Diffs
> -----
> 
>   /asterisk/trunk/tests/channels/pjsip/user_eq_phone/test-config.yaml PRE-CREATION 
>   /asterisk/trunk/tests/channels/pjsip/user_eq_phone/sipp/uas.xml PRE-CREATION 
>   /asterisk/trunk/tests/channels/pjsip/user_eq_phone/configs/ast1/pjsip.conf PRE-CREATION 
>   /asterisk/trunk/tests/channels/pjsip/user_eq_phone/configs/ast1/extensions.conf PRE-CREATION 
>   /asterisk/trunk/tests/channels/pjsip/tests.yaml 6133 
> 
> Diff: https://reviewboard.asterisk.org/r/4294/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Matt Jordan
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141223/c2b2f175/attachment.html>


More information about the asterisk-dev mailing list