Hello.
The library wraps filtering body in "filter" key, but official docs say it should be without "filter"
This is ari4java code:
private AriRequest build() {
AriRequest ariRequest =
new AriRequest("/applications/" + encodeUrlPart(applicationName) + "/eventFilter", "PUT");
ariRequest.setBodyField("filter", filter);
ariRequest.addErrorResponse(HttpResponse.build(400, "Bad request."));
ariRequest.addErrorResponse(HttpResponse.build(404, "Application does not exist."));
return ariRequest;
}
As I understand, asterisk REST API expects just (as described in https://www.asterisk.org/filtering-event-types-ari/):
{ “disallowed”: [ { “type”: “StasisStart” }, { “type”: “StasisEnd” } ] }
Hello.
The library wraps filtering body in "filter" key, but official docs say it should be without "filter"
This is ari4java code:
As I understand, asterisk REST API expects just (as described in https://www.asterisk.org/filtering-event-types-ari/):
{ “disallowed”: [ { “type”: “StasisStart” }, { “type”: “StasisEnd” } ] }