]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_ari: Correct Location headers returned by some ARI resources 35/2835/1
authorSean Bright <sean.bright@gmail.com>
Sat, 14 May 2016 17:29:09 +0000 (13:29 -0400)
committerSean Bright <sean.bright@gmail.com>
Sat, 14 May 2016 17:48:59 +0000 (12:48 -0500)
commit14938184a38bd76b0b7bf04d583bbc1c2933407d
treeb649369942d7f9eb1dc30684ba0070374eee1dab
parentd9c5882e69e28c11e6de82329f6d9a9bd40d7dc0
res_ari: Correct Location headers returned by some ARI resources

The Location headers returned by:

 * /bridges/{bridgeId}/play
 * /bridges/{bridgeId}/record
 * /channels/{channelId}/play
 * /channels/{channelId}/record

Did not have the '/ari' prefix, and in the case of the 'play' resources, were
using 'playback' instead of 'playbacks.'

Change-Id: I957c58a3a1471bf477dae7c67faa1b74fcd9241c
res/ari/resource_bridges.c
res/ari/resource_channels.c
res/res_ari.c