[asterisk-dev] [Code Review] 3277: testsuite: ARI Originate test for assigning UniqueId on channel creation

Scott Griepentrog reviewboard at asterisk.org
Fri Feb 28 11:43:03 CST 2014

This is an automatically generated e-mail. To reply, visit:

(Updated Feb. 28, 2014, 11:43 a.m.)

Review request for Asterisk Developers.


Updated diff includes bridge id test and improvements to new ari test case features.

Bugs: ASTERISK-23120

Repository: testsuite

Description (updated)

Tests call origination with a specified Unique ID via ARI.


* Borrows basic test plan and AMI/CEL checks from r3274 (AMI version of this same test).

* New class AriOriginateTestObject extends AriTestObject and overrides AMI channel origination with an ARI method.

* New configuration section 'requests' for WebSocketEventModule, which provides ability to issue post/delete/etc request in addition to or in place of a callback.

* Also now includes test for bridge creation with id, using the same ARI test improvements.

Diffs (updated)

  /asterisk/trunk/tests/rest_api/channels/tests.yaml 4735 
  /asterisk/trunk/tests/rest_api/channels/originate_with_id/test-config.yaml PRE-CREATION 
  /asterisk/trunk/tests/rest_api/channels/originate_with_id/configs/ast1/extensions.conf PRE-CREATION 
  /asterisk/trunk/tests/rest_api/bridges/tests.yaml 4735 
  /asterisk/trunk/tests/rest_api/bridges/bridge_by_id/test-config.yaml PRE-CREATION 
  /asterisk/trunk/tests/rest_api/bridges/bridge_by_id/configs/ast1/extensions.conf PRE-CREATION 
  /asterisk/trunk/lib/python/asterisk/ari.py 4735 

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

Testing (updated)

Test passes against r3191.  Changing any specified id is detected by the test.

Note: new bridge id test requires r3278.


Scott Griepentrog

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

More information about the asterisk-dev mailing list