Picture of nickname
Registered 2 years 261 days
nickname Sunday, 30 October 2022, 03:38 PM
Replicating other pseudos, mixed parsing
Dear innovaphone forum,

when replicating waiting queues from the pbx in JS we get the following response:

AppWebsocketRecvResult {"mt":"ReplicateUpdate","api":"PbxTableUsers","columns":{"guid":"8973b3fa1df66201a038000c29a8e95e","h323":"switchboard","cn":"switchboard","dn":"switchboard","e164":"*2","grps":[{"name":"switchboard","mode":"active"}],"pseudo":"<pseudo type=\"waiting\"><dtmf match=\"111\"><dest e164=\"111\"/></dtmf><dtmf match=\"123\"><dest e164=\"123\"/></dtmf></pseudo>"}}

It´s a mixture of JSON and XML. Is there a possibility that the content of the pseudo tag also gets parsed into JSON? Otherwise we would parse it ourself.

Also it wolud be a nice feature if a XML parser could be added for the JS Service (for the cdr´s for example)
Andreas Fink
Moderator Registered 12 years 277 days
Andreas Fink (innovaphone) Thursday, 3 November 2022, 10:46 AM
Re: Replicating other pseudos, mixed parsing
Hello Nick,

in the v13r3 the format of the extended object data was changed to JSON.

Could you try this with 13r3 beta installed on the PBX?

Best Regards
Andreas Fink
Picture of Daniel 450
Registered 14 years 34 days
Daniel 450 Monday, 6 February 2023, 04:56 PM
Re: Replicating other pseudos, mixed parsing
Hello Andreas,

we installed 13r3 and found that xml is still being transferred instead of json for the pseudo object via TableUsers replication.
← You can define your color theme preference here