diff options
author | Joshua Colp <jcolp@digium.com> | 2014-03-19 12:54:25 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2014-03-19 12:54:25 +0000 |
commit | 1cf74b87764fd1d0fa7d81d25d16121e1ce43f4f (patch) | |
tree | a468de791e4e8fbc927c3cc61c1acd6cf13ac0b8 /rest-api | |
parent | e33e003f78a7118751c5a5555ff2878f6988e4d1 (diff) |
res_stasis: Extend bridge type to be a comma separated list of bridge attributes.
This change turns the bridge type field into a comma separated list of attributes.
These attributes include: mixing, holding, dtmf_events, and proxy_media. By setting
the various attributes a user can control the type of bridge created with the
behavior they need for their application.
(closes issue ASTERISK-23437)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/3359/
........
Merged revisions 410904 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@410905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api')
-rw-r--r-- | rest-api/api-docs/bridges.json | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/rest-api/api-docs/bridges.json b/rest-api/api-docs/bridges.json index 3e899788f..0038510f4 100644 --- a/rest-api/api-docs/bridges.json +++ b/rest-api/api-docs/bridges.json @@ -26,18 +26,11 @@ "parameters": [ { "name": "type", - "description": "Type of bridge to create.", + "description": "Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media).", "paramType": "query", "required": false, "allowMultiple": false, - "dataType": "string", - "allowableValues": { - "valueType": "LIST", - "values": [ - "mixing", - "holding" - ] - } + "dataType": "string" }, { "name": "bridgeId", @@ -72,18 +65,11 @@ "parameters": [ { "name": "type", - "description": "Set the type of bridge.", + "description": "Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media) to set.", "paramType": "query", "required": false, "allowMultiple": false, - "dataType": "string", - "allowableValues": { - "valueType": "LIST", - "values": [ - "mixing", - "holding" - ] - } + "dataType": "string" }, { "name": "bridgeId", |