[asterisk-dev] [Code Review] 3869: res_pjsip_publish_asterisk: Inbound and outbound device state test
Joshua Colp
reviewboard at asterisk.org
Wed Jul 30 09:53:23 CDT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3869/
-----------------------------------------------------------
Review request for Asterisk Developers.
Bugs: ASTERISK-24115
https://issues.asterisk.org/jira/browse/ASTERISK-24115
Repository: testsuite
Description
-------
This change adds two things:
1. The ability for an action to be configured for an AMI event handler. Right now two actions are supported: "none" and "stop". If the "stop" action is configured the test will be terminated when the minimum number of events is received.
2. A test which establishes a relationship between two running Asterisk instances and publishes device state from one to the other. The test confirms that the second Asterisk receives all device state changes in the expected order.
Diffs
-----
/asterisk/trunk/tests/channels/pjsip/tests.yaml 5316
/asterisk/trunk/tests/channels/pjsip/publish/tests.yaml PRE-CREATION
/asterisk/trunk/tests/channels/pjsip/publish/asterisk_event_devicestate/test-config.yaml PRE-CREATION
/asterisk/trunk/tests/channels/pjsip/publish/asterisk_event_devicestate/configs/ast2/pjsip.conf PRE-CREATION
/asterisk/trunk/tests/channels/pjsip/publish/asterisk_event_devicestate/configs/ast2/extensions.conf PRE-CREATION
/asterisk/trunk/tests/channels/pjsip/publish/asterisk_event_devicestate/configs/ast1/pjsip.conf PRE-CREATION
/asterisk/trunk/tests/channels/pjsip/publish/asterisk_event_devicestate/configs/ast1/extensions.conf PRE-CREATION
/asterisk/trunk/lib/python/asterisk/ami.py 5316
Diff: https://reviewboard.asterisk.org/r/3869/diff/
Testing
-------
Executed test, it passes. Sabotaged test, it fails.
Thanks,
Joshua Colp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140730/46516e3e/attachment-0001.html>
More information about the asterisk-dev
mailing list