ARI: Allow specifying channel variables during a POST /channels
Added the ability to specify channel variables when creating/originating a channel in ARI. The variables are sent in the body of the request and should be formatted as a single level JSON object. No nested objects allowed. For example: {"variable1": "foo", "variable2": "bar"}. (closes issue ASTERISK-22872) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/3052/ ........ Merged revisions 403752 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- main/http.c 21 additions, 6 deletionsmain/http.c
- res/ari/resource_channels.c 43 additions, 1 deletionres/ari/resource_channels.c
- res/ari/resource_channels.h 2 additions, 0 deletionsres/ari/resource_channels.h
- res/res_ari_channels.c 1 addition, 34 deletionsres/res_ari_channels.c
- rest-api/api-docs/channels.json 8 additions, 0 deletionsrest-api/api-docs/channels.json
Loading
Please register or sign in to comment