[Home]

Summary:ASTERISK-21754: Bridge API Enhancements - write tests for the new Bridge AMI actions/events
Reporter:Matt Jordan (mjordan)Labels:Asterisk12
Date Opened:2013-05-02 12:56:30Date Closed:2013-05-17 15:33:44
Priority:MajorRegression?
Status:Closed/CompleteComponents:Core/Bridging Tests/testsuite
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:A number of new AMI actions were added to help with inspection of the bridges in the bridge framework, namely:
* {{BridgeInfo}} - get information about a single bridge
* {{BridgeList}} - get all information about a bridge

In addition, several new bridge events were added - in particular, the most important being the {{BridgeEnter}} and {{BridgeLeave}} events.

This task covers two things:
# Create a test that executes the AMI commands and verifies that it gets back a list of bridges, and that it can inspect a single bridge. Verify that the information returned is correct.
# Add basic event checking for bridge events to the {{simple_bridge}} test.
Comments:By: Kinsey Moore (kmoore) 2013-05-03 12:55:51.004-0500

The tests described here are now available in the branch at
http://svn.digium.com/svn/testsuite/team/group/bridge_construction

The new test that covers the manager actions can be found at tests/manager/bridge_actions.

By: Kinsey Moore (kmoore) 2013-05-07 14:10:16.274-0500

This is up on reviewboard at https://reviewboard.asterisk.org/r/2505/