Review Board 1.7.16

ARI: Correct error codes for bridge operations

Review Request #2769 - Created Aug. 19, 2013 and submitted

David Lee
This patch adds error checking to ARI bridge operations, when
adding/removing channels to/from bridges.

In general, the error codes fall out as follows:
 * Bridge not found - 404 Not Found
 * Bridge not in Stasis - 409 Conflict
 * Channel not found - 400 Bad Request
 * Channel not in Stasis - 422 Unprocessable Entity
 * Channel not in this bridge (on remove) - 422 Unprocessable Entity
Testsuite tests! (Review to be posted shortly)
Review request changed
Updated (Aug. 23, 2013, 1:20 p.m.)
  • changed from pending to submitted
Committed in revision 397576 runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to