The documentation for the ARI Applications eventFilter seems a bit different than other ARI documentation.
I’m trying to run a test where I set an eventFilter for my application named Test using a curl request. The request is accepted and Asterisk returns the application object. However, it never modifies the events allowed or disallowed. Any suggestions for what I am doing wrong?
curl -v -u myuser:mypassword -X PUT “http://myboxname:8088/ari/applications/Test/eventFilter” -H “Content-Type: application/json” -d ‘{“filter”:{“allowed”:[{“type”:“StasisStart”}],“disallowed”:[{“type”:“PlaybackContinuing”},{“type”:“PlaybackFinished”},{“type”:“PlaybackStarted”}]}}’