ARI: channel/bridge recording errors when invalid format specified
authorJonathan Rose <jrose@digium.com>
Fri, 25 Oct 2013 22:01:43 +0000 (22:01 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 25 Oct 2013 22:01:43 +0000 (22:01 +0000)
commit5c696bde67411848e4bbbc2cc18c2f881a0a7ead
tree48cb93ea327e770c325918b84d21c78352dd2981
parentd8a760307e43031033b5607264f7edd8ecfe73a4
ARI: channel/bridge recording errors when invalid format specified

Asterisk will now issue 422 if recording is requested against channels
or bridges with an unknown format

(closes issue ASTERISK-22626)
Reported by: Joshua Colp
Review: https://reviewboard.asterisk.org/r/2939/
........

Merged revisions 402001 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/ari/resource_bridges.c
res/ari/resource_channels.c
res/res_ari_bridges.c
res/res_ari_channels.c
rest-api/api-docs/bridges.json
rest-api/api-docs/channels.json