Picture of Anton
Registered 5 years 173 days
Anton Friday, 24 May 2024, 11:16 AM
Error "cn Missing"
Hi,

i have a errorMessage on a customer System. And I can't find any information for this message.
I'm doing a UpdateObject call with the PbxAdminApi and as identifier I'm using the guid. But the system is responding with

{"api":"PbxAdminApi","mt":"UpdateObjectResult","error":"cn Missing"}

Can you give me a hint, why I'm receiving this error?

Here is a snippet from the log where the call is send and the resultMessage.


05-24 09:03:24.473 diversion@customer.de AppWebsocket(00b29730)::AppWebsocketRecvResult {"mt":"UpdateObject","api":"PbxAdminApi","guid":"716cd7b7178365018ab4000c294761ea","cds":[{"type":"cfu","ep":[{"e164":"333"}],"precedence":"true","src":[{"ep":[{"e164":"0"},{"h323":"_effexx_app"}],"type":"do"}]}]}
05-24 09:03:24.473 diversion@customer.de AppWebsocket(00b442f0)::AppWebsocketMessageSend {"mt":"UpdateObject","api":"PbxAdminApi","guid":"716cd7b7178365018ab4000c294761ea","cds":[{"type":"cfu","ep":[{"e164":"333"}],"precedence":"true","src":[{"ep":[{"e164":"0"},{"h323":"_effexx_app"}],"type":"do"}]}]} connected:true
05-24 09:03:24.473 diversion@customer.de AppWebsocket(00b29730)::AppWebsocketMessageComplete connected:true
05-24 09:03:24.474 diversion@customer.de AppWebsocket(00b442f0)::WebsocketSendResult() connected=1 sendCount=1
05-24 09:03:24.475 diversion@customer.de AppWebsocket(00b442f0)::AppWebsocketRecvResult {"api":"PbxAdminApi","mt":"UpdateObjectResult","error":"cn Missing"}
05-24 09:03:24.475 diversion@customer.de AppWebsocket(00b29730)::AppWebsocketMessageSend {"api":"PbxAdminApi","mt":"UpdateObjectResult","error":"cn Missing"} connected:true
05-24 09:03:24.475 diversion@customer.de AppWebsocket(00b442f0)::AppWebsocketMessageComplete connected:true
05-24 09:03:24.475 diversion@customer.de AppWebsocket(00b29730)::WebsocketSendResult() connected=1 sendCount=1
05-24 09:03:24.479 diversion@customer.de AppWebsocket(00b30c10)::AppWebsocketRecvResult {"mt":"SqlExec","statement":"add-diversion","src":"1716541404483","args":{"guid":"716cd7b7178365018ab4000c294761ea","diversion":"333","timestamp":"1716541404483","is_internal":"false","action":"added"}}
05-24 09:03:24.479 GenericSession(b30c10)::AppWebsocketMessage(SqlExec)
05-24 09:03:24.479 SqlExec::SqlExec()



Picture of Peter Stock (innovaphone)
Moderator Registered 1 year 57 days
Peter Stock (innovaphone) Friday, 24 May 2024, 12:05 PM
Re: Error "cn Missing"
Hi Anton,

it seems to be that the user is not existing in the pbx, where you send the UpdateObjekt send to.
This could result in Master Slave Scenario when the Slave PBXs connected to the App Service does not have all users replicated.

Maybe it would be senseful that you send the UpdateObject to the pbx, where the user is located.

I think it should work than for all scenarios.

Best Regards,

Peter
← You can define your color theme preference here