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

Matt Jordan reviewboard at asterisk.org
Tue Dec 23 06:44:44 CST 2014


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

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/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/757f9194/attachment.html>


More information about the asterisk-dev mailing list