res/ari: Fix model validation for ChannelHold event
authorMatthew Jordan <mjordan@digium.com>
Fri, 10 Apr 2015 14:56:05 +0000 (14:56 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 10 Apr 2015 14:56:05 +0000 (14:56 +0000)
commit894153b8b1557903c1d512994aecedb326dc0951
tree2289d2ea42cf16a6e8181eb7c2bf3efa969a7a39
parent02a0a4d65f9962c210e9407c34c9cb6192f22b5e
res/ari: Fix model validation for ChannelHold event

When the ChannelHold event was added, the 'musicclass' parameter was
erroneously removed. This caused the ChannelHold events to be rejected as
they failed model validation. This patch updates the Swagger schema such that
it now properly reflects the event that is being created.

Hooray for tests that catch things like this.
........

Merged revisions 434597 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/ari/ari_model_validators.c
res/ari/ari_model_validators.h
rest-api/api-docs/events.json