From 91993ebaa524c45aa105ccc3d7b7005f6c3aa8c9 Mon Sep 17 00:00:00 2001 From: Jean Aunis Date: Wed, 31 Aug 2016 12:33:28 +0200 Subject: 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 --- rest-api/api-docs/channels.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rest-api') 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" ] } } -- cgit v1.2.3