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

Matt Jordan reviewboard at asterisk.org
Wed Dec 24 06:55:14 CST 2014


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

(Updated Dec. 24, 2014, 6:55 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 6135


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/20141224/e2ca54fd/attachment.html>


More information about the asterisk-dev mailing list