]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ARI: Add duplicate channel ID checking for channel creation. 58/4158/4
authorMark Michelson <mmichelson@digium.com>
Wed, 19 Oct 2016 17:05:28 +0000 (12:05 -0500)
committerMark Michelson <mmichelson@digium.com>
Thu, 20 Oct 2016 18:00:24 +0000 (13:00 -0500)
commitba145944a010441c1b1a744063178d967744f91f
tree0a73a21aaec62f282a4afc892243ed273fc5b792
parent98378133c05bf683792337612f964663b63c72d6
ARI: Add duplicate channel ID checking for channel creation.

This is similar to what is done for origination, but for the 14 and up
channel creation method. When attempting to create a channel, if a
channel ID is specified and a channel already exists with that ID, then
a 409 is returned.

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