Use the PbxTableUsers API to replicate the user presence
Hi,
I have a question, I`m trying to replicate users with the PbxTableUsers API.
conn.send(JSON.stringify({ api: "PbxTableUsers", mt: "ReplicateStart", columns:
{ guid: { "update": true }, dn: { "update": true }, h323: { "update": true }, cn: { "update": true }, presence: { "update": true }, grps: { "update": true }, cds: { "update": true }, pseudo: { "update": true }, allows: { "update": true }, loc: { "update": true } }, pseudo: [""] }));
An example of a replicated user:
{"mt":"ReplicateNextResult","api":"PbxTableUsers","columns":{"guid":string,"dn":string,"h323":string,"cn":string,"presence":[{"c":string,"a":string,"n":string}],"grps":[],"loc":string}}
My problem is that c in presence (contact) only shows me "tel:" and "calendar:" but not "im:". So that I can`t get the status of the user.
Why is that? And is there a way to get the status with the PbxTableUsers API?