Hey gang.. I'm trying to call the /fe/v1/DeflectCall endpoint, and I keep getting a 400 bad request, "operation": "objectNotKnown". I have my json payload setup like this:
the device Id, I'm guessing should be the id of the device that is calling my One-X station. CallId is in the "DeliveredEvent" payload I get when monitoring a station, newDestionation I've tried an external phone number, as well as an internal vdn. I get the same error for either. I've also tried putting my One-X extension that is being called just in case, that didn't work either.
Any help would be appreciated!!
Have a good day!
Dave
Code:
{
"callToBeDiverted": {
"deviceID": "123456789:RCD2CM2ACT81T::0",
"callID": "1363"
},
"newDestination": "1001000007"
}
the device Id, I'm guessing should be the id of the device that is calling my One-X station. CallId is in the "DeliveredEvent" payload I get when monitoring a station, newDestionation I've tried an external phone number, as well as an internal vdn. I get the same error for either. I've also tried putting my One-X extension that is being called just in case, that didn't work either.
Any help would be appreciated!!
Have a good day!
Dave

This is so cool!
Comment