summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
authorJean Aunis <jean.aunis@prescom.fr>2016-08-31 12:33:28 +0200
committerJean Aunis <jean.aunis@prescom.fr>2016-08-31 12:33:28 +0200
commit91993ebaa524c45aa105ccc3d7b7005f6c3aa8c9 (patch)
treece3b6aa58b0a6855a8f707aa913e779036bab7ca /rest-api
parente7d06a80978f9e87b91a5009dde97c0cff355ceb (diff)
resource_channels.c: add hangup reason "answered_elsewhere".
In ARI, the channels API allows to hangup a channel with a hangup reason. This commit adds a new reason "answered_elsewhere". When using a SIP channel, this will eventually allow Asterisk to add a proper "Reason" header to a CANCEL message. ASTERISK-26321 Change-Id: Ia97675bd4acd6a7f58eb467953dfb94559f6583d
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 75feeb105..ee18bfe11 100644
--- a/rest-api/api-docs/channels.json
+++ b/rest-api/api-docs/channels.json
@@ -400,7 +400,8 @@
"normal",
"busy",
"congestion",
- "no_answer"
+ "no_answer",
+ "answered_elsewhere"
]
}
}