[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:46:06 CST 2014


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

(Updated Dec. 23, 2014, 6:46 a.m.)


Review request for Asterisk Developers.


Changes
-------

It would probably help if I actually added the test.


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 (updated)
-----

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


More information about the asterisk-dev mailing list