diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-10-29 12:51:57 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-10-29 12:51:57 +0000 |
commit | aa7f9e55f26bb721e84a3943eef45d5ad959334b (patch) | |
tree | 555532b00db4a4ede6c886ca58deb36616b91864 /rest-api | |
parent | 6c417b0475acea32c508777c94975a6c7abc2ed5 (diff) |
ARI: Remove channels/{channelId}/dial
This removes the /ari/channels/{channelId}/dial URI since it is
redundant, overly complex, is likely to become more externally complex
over time, and is too high-level compared with other ARI operations.
See the following for further information:
http://lists.digium.com/pipermail/asterisk-app-dev/2013-October/000002.html
(closes issue ASTERISK-22784)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2968/
........
Merged revisions 402152 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api')
-rw-r--r-- | rest-api/api-docs/channels.json | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/rest-api/api-docs/channels.json b/rest-api/api-docs/channels.json index 39dc4e376..7d22c41fb 100644 --- a/rest-api/api-docs/channels.json +++ b/rest-api/api-docs/channels.json @@ -150,71 +150,6 @@ ] }, { - "path": "/channels/{channelId}/dial", - "description": "Create a new channel (originate) and bridge to this channel", - "operations": [ - { - "httpMethod": "POST", - "summary": "Create a new channel (originate) and bridge to this channel.", - "nickname": "dial", - "responseClass": "Dialed", - "parameters": [ - { - "name": "channelId", - "description": "Channel's id", - "paramType": "path", - "required": true, - "allowMultiple": false, - "dataType": "string" - }, - { - "name": "endpoint", - "description": "Endpoint to call. If not specified, dial is routed via dialplan", - "paramType": "query", - "required": false, - "allowMultiple": false, - "dataType": "string" - }, - { - "name": "extension", - "description": "Extension to dial", - "paramType": "query", - "required": false, - "allowMultiple": false, - "dataType": "string" - }, - { - "name": "context", - "description": "When routing via dialplan, the context use. If omitted, uses 'default'", - "paramType": "query", - "required": false, - "allowMultiple": false, - "dataType": "string" - }, - { - "name": "timeout", - "description": "Timeout (in seconds) before giving up dialing, or -1 for no timeout.", - "paramType": "query", - "required": false, - "allowMultiple": false, - "dataType": "int", - "defaultValue": 30 - } - ], - "errorResponses": [ - { - "code": 404, - "reason": "Channel not found" - }, - { - "code": 409, - "reason": "Channel not in a Stasis application" - } - ] - } - ] - }, - { "path": "/channels/{channelId}/continue", "description": "Exit application; continue execution in the dialplan", "operations": [ |