[asterisk-dev] [Code Review] 3869: res_pjsip_publish_asterisk: Inbound and outbound device state test

Joshua Colp reviewboard at asterisk.org
Thu Aug 7 09:19:07 CDT 2014


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

(Updated Aug. 7, 2014, 9:19 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 5371


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/20140807/498b5e94/attachment.html>


More information about the asterisk-dev mailing list