]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/ari/resource_channels.c: Added hangup reason code for channels
authorsungtae kim <sungtae@messagebird.com>
Mon, 15 Apr 2019 23:26:46 +0000 (01:26 +0200)
committerKevin Harwell <kharwell@digium.com>
Thu, 27 Jun 2019 16:03:08 +0000 (11:03 -0500)
commit613a335de54e5818cdf47cff68f2a6cb7cf3b19e
treeeea22cb58315b37752778ad12ab38114522ae339
parentccbc83fed7cc18afde9dcf35c0a59d82db597621
res/ari/resource_channels.c: Added hangup reason code for channels

Currently, DELETE /ari/channels/<channelID> supports only few hangup reasons.
It's good enough for simple use, but when it needs to set the detail reason,
it comes challenges.
Added reason_code query parameter for that.

ASTERISK-28385

Change-Id: I1cf1d991ffd759d0591b347445a55f416ddc3ff2
res/ari/resource_channels.c
res/ari/resource_channels.h
res/res_ari_channels.c
rest-api/api-docs/channels.json