Hi there,
I'm new to DMCC but not to AES in common.
I learned to read the DMCC docs and XML-Messages from the dashboard application.
When I start a monitor using the WTI API onyl with "callcontrol" in it, the monitor is working fine and sends me everything I requested.
The working JSON is:
Now when I try to create a new Monitor using the physicalDeviceFeature I'm getting "Bad Request" as an answer.
This is the not working JSON:
Why is this not working?
I'm new to DMCC but not to AES in common.
I learned to read the DMCC docs and XML-Messages from the dashboard application.
When I start a monitor using the WTI API onyl with "callcontrol" in it, the monitor is working fine and sends me everything I requested.
The working JSON is:
Code:
{ "monitorObject":{ "deviceObject":"84940142:ACM:0.0.0.0:1" }, "requestedMonitorFilter": { "callcontrol": { "originated": true, "delivered": true, "callCleared": true, "connectionCleared": true } }, "extensions":{ "privateData":{ "private":{ "AvayaEvents":{ "invertFilter":true, "deviceServices":{ "transferMonitorObjects":true, "getMonitorList":true, "getDeviceIdList":true }, "endpointRegistrationStateEvents":{ "registered":true, "unregistered":true } } } } }, "targetUrl":"http://[myurl]/events/" }
This is the not working JSON:
Code:
{ "monitorObject":{ "deviceObject":"84940142:ACM:0.0.0.0:1" }, "requestedMonitorFilter": { "physicalDeviceFeature": { "displayUpdated":false, "hookswitch":true, "lampMode":false, "ringerStatus":true } }, "extensions":{ "privateData":{ "private":{ "AvayaEvents":{ "invertFilter":true, "deviceServices":{ "transferMonitorObjects":true, "getMonitorList":true, "getDeviceIdList":true }, "endpointRegistrationStateEvents":{ "registered":true, "unregistered":true } } } } }, "targetUrl":"http://[myurl]/events/" }
Comment