[Asterisk-code-review] res api/channels: Add test for channels/create and channels... (testsuite[master])

George Joseph asteriskteam at digium.com
Thu May 26 13:45:00 CDT 2016


Hello Mark Michelson, Anonymous Coward #1000019,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/2779

to look at the new patch set (#4).

Change subject: res_api/channels:  Add test for channels/create and channels/dial
......................................................................

res_api/channels:  Add test for channels/create and channels/dial

This is the first (and pilot) test for the new channels/create
and channels/dial ARI methods.

* Create channel 1 using channels/create with endpoint = Local/s at default
  which answers and plays tt-weasels (but not until dialed below).
* Create bridge1.
* Add channel 1 to bridge 1.
* Create channel 2 using channels/create with endpoint = Local/amd at default
  which just runs the AMD() app (but not until dialed below).
* Add channel 2 to bridge 1.
* Dial channel 1.
* Dial channel 2.
* Make sure AMD detects HUMAN.
* Wait for channel 2 to hang itself up after AMD returns.
* Delete channel 1 and the bridge.
* Stop.

ASTERISK-26000 #close

Change-Id: I20a9cc235ff0ade747846526d5c37167199870f4
---
A tests/rest_api/channels/create_and_dial/configs/ast1/extensions.conf
A tests/rest_api/channels/create_and_dial/test-config.yaml
M tests/rest_api/channels/tests.yaml
3 files changed, 167 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/79/2779/4
-- 
To view, visit https://gerrit.asterisk.org/2779
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I20a9cc235ff0ade747846526d5c37167199870f4
Gerrit-PatchSet: 4
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>



More information about the asterisk-code-review mailing list