main/json.c: Added app_name, app_data to channel type

It was difficult to check the channel's current application and
parameters using ARI for current channels. Added app_name, app_data
items to show the current application information.

ASTERISK-28343

Change-Id: Ia48972b3850e5099deab0faeaaf51223a1f2f38c
This commit is contained in:
sungtae kim
2019-03-22 00:09:14 +01:00
parent 4f0b8c3ed3
commit d5a318f148
8 changed files with 91 additions and 13 deletions

View File

@@ -1746,6 +1746,16 @@
"required": true,
"type": "long",
"description": "Priority in the dialplan"
},
"app_name": {
"required": true,
"type": "string",
"description": "Name of current dialplan application"
},
"app_data": {
"required": true,
"type": "string",
"description": "Parameter of current dialplan application"
}
}
},