So, another post reminded me that there is a RegisterTerminalRequest in the api, and I got it to work using this payload:
And, most importantly, I got the unregister to work as well.
I noticed it kicked me out of One-X, which I expected, and for fun I called the number from my cell and my web page still get the "BroadcastStationEvent" with the phone call info in it. Does that mean I could also answer the call from my web page? Without Avaya One-X? That just doesn't seem like that would work. I haven't built that part yet into my proof of concept tool..
Dave
Code:
{
"device": "3138675309:RCD2CM2ACT81T:0.0.0.0:1",
"loginInfo": {
"forceLogin": true,
"sharedControl": false,
"password": "1234",
"mediaMode": "NONE",
"dependencyMode": "MAIN"
}
}
I noticed it kicked me out of One-X, which I expected, and for fun I called the number from my cell and my web page still get the "BroadcastStationEvent" with the phone call info in it. Does that mean I could also answer the call from my web page? Without Avaya One-X? That just doesn't seem like that would work. I haven't built that part yet into my proof of concept tool.. Dave


Comment