[Home]

Summary:ASTERISK-23974: testsuite: Add test rest_api/channels/hold nominal test
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-07-01 09:47:20Date Closed:
Priority:MajorRegression?
Status:Open/NewComponents:Resources/res_ari Tests/testsuite
Versions:12.3.2 13.18.4 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:This improvement to the testsuite is to add a test for the hold operation in the channels resource. The test should:

# Originate a channel into a Stasis application.
# Use the {{POST /channels/answer}} operation to answer the channel. Verify that the channel is answered in ARI and AMI.
# Use the {{POST /channels/hold}} operation to put the channel on hold. Verify that a hold event is received in AMI.
# Use the {{DELETE /channels/hold}} operation to end the hold operation on the channel. Verify that an unhold event is received in AMI.
# Hang up the channel!

Comments: