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
Showing
- res/ari/resource_channels.c 59 additions, 30 deletionsres/ari/resource_channels.c
- res/ari/resource_channels.h 3 additions, 1 deletionres/ari/resource_channels.h
- res/res_ari_channels.c 7 additions, 0 deletionsres/res_ari_channels.c
- rest-api/api-docs/channels.json 9 additions, 2 deletionsrest-api/api-docs/channels.json
Loading
Please register or sign in to comment