summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2015-02-09 03:12:16 +0000
committerMatthew Jordan <mjordan@digium.com>2015-02-09 03:12:16 +0000
commit858e8255688dec31748c81f222c7036c9776ac44 (patch)
treefdae1f61f7ce3d714b4405e4a367f47537850a01 /rest-api
parent17247daae6c5054c0880f1858d1f0de46cef85d1 (diff)
res/ari/resource_channels: Add missing 'no_answer' reason to DELETE /channels
One of the canonical reasons for hanging up a channel is because the far end failed to answer - or because someone else answered, and we want to get rid of this channel. This patch adds the missing value to the 'reason' query parameter for the DELETE /channels operation. Review: https://reviewboard.asterisk.org/r/4400 ASTERISK-24745 #close Reported by: Ben Merrills patches: add_no_answer_ari_hangup_cause.diff uploaded by Ben Merrills (License 6678) ........ Merged revisions 431622 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@431623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api')
-rw-r--r--rest-api/api-docs/channels.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/rest-api/api-docs/channels.json b/rest-api/api-docs/channels.json
index 887191373..6baebe354 100644
--- a/rest-api/api-docs/channels.json
+++ b/rest-api/api-docs/channels.json
@@ -313,7 +313,8 @@
"values": [
"normal",
"busy",
- "congestion"
+ "congestion",
+ "no_answer"
]
}
}