[asterisk-dev] [Code Review] 3725: testsuite: Add a test for res_pjsip endpoint accountcode setting

Matt Jordan reviewboard at asterisk.org
Tue Jul 15 16:08:53 CDT 2014


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

(Updated July 15, 2014, 4:08 p.m.)


Review request for Asterisk Developers.


Changes
-------

Address Richard's findings


Bugs: ASTERISK-24000
    https://issues.asterisk.org/jira/browse/ASTERISK-24000


Repository: testsuite


Description
-------

This patch adds a test for the endpoint configuration setting 'accountcode'. It creates a PJSIP channel (by way of a Local channel) that dials an endpoint that conveniently happens to be associated with the same address as the Asterisk instance. The two resulting PJSIP channels are checked to make sure that they have an accountcode on creation by way of the Newchannel AMI event.


Diffs (updated)
-----

  /asterisk/trunk/tests/channels/pjsip/tests.yaml 5222 
  /asterisk/trunk/tests/channels/pjsip/accountcode/test-config.yaml PRE-CREATION 
  /asterisk/trunk/tests/channels/pjsip/accountcode/configs/ast1/pjsip.conf PRE-CREATION 
  /asterisk/trunk/tests/channels/pjsip/accountcode/configs/ast1/extensions.conf PRE-CREATION 

Diff: https://reviewboard.asterisk.org/r/3725/diff/


Testing
-------


Thanks,

Matt Jordan

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


More information about the asterisk-dev mailing list