mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Add the ability to continue and originate using priority labels.
With this patch, the following two ARI commands POST /channels POST /channels/{id}/continue Accept a new parameter, label, that can be used to continue to or originate to a priority label in the dialplan. Because this is adding a new parameter to ARI commands, the API version of ARI has been bumped from 1.6.0 to 1.7.0. This patch comes courtesy of Nir Simionovich from Greenfield Tech. Thanks! ASTERISK-24412 #close Reported by Nir Simionovich Review: https://reviewboard.asterisk.org/r/4285 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -56,6 +56,14 @@
|
||||
"allowMultiple": false,
|
||||
"dataType": "long"
|
||||
},
|
||||
{
|
||||
"name": "label",
|
||||
"description": "The label to dial after the endpoint answers. Will supersede 'priority' if provided.",
|
||||
"paramType": "query",
|
||||
"required": false,
|
||||
"allowMultiple": false,
|
||||
"dataType": "string"
|
||||
},
|
||||
{
|
||||
"name": "app",
|
||||
"description": "The application that is subscribed to the originated channel, and passed to the Stasis application.",
|
||||
@@ -204,6 +212,14 @@
|
||||
"allowMultiple": false,
|
||||
"dataType": "long"
|
||||
},
|
||||
{
|
||||
"name": "label",
|
||||
"description": "The label to dial after the endpoint answers. Will supersede priority, if provided",
|
||||
"paramType": "query",
|
||||
"required": false,
|
||||
"allowMultiple": false,
|
||||
"dataType": "string"
|
||||
},
|
||||
{
|
||||
"name": "app",
|
||||
"description": "The application that is subscribed to the originated channel, and passed to the Stasis application.",
|
||||
@@ -356,6 +372,14 @@
|
||||
"required": false,
|
||||
"allowMultiple": false,
|
||||
"dataType": "int"
|
||||
},
|
||||
{
|
||||
"name": "label",
|
||||
"description": "The label to continue to - will supersede 'priority' if both are provided.",
|
||||
"paramType": "query",
|
||||
"required": false,
|
||||
"allowMultiple": false,
|
||||
"dataType": "string"
|
||||
}
|
||||
],
|
||||
"errorResponses": [
|
||||
|
Reference in New Issue
Block a user