From aa7f9e55f26bb721e84a3943eef45d5ad959334b Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Tue, 29 Oct 2013 12:51:57 +0000 Subject: 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 --- rest-api/api-docs/channels.json | 65 ----------------------------------------- 1 file changed, 65 deletions(-) (limited to 'rest-api/api-docs/channels.json') 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 @@ -149,71 +149,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", -- cgit v1.2.3