PbxApi SubscribePresence in Master/Slave environment
Hi Andreas,
Is there any additional requirement to retrieve presence status in MASTER/SLAVE environment?
We have the following configuration enabled:
- Pbx instance has 'Group Default Visibility' with all boxes ticked.
- Each user object has 'Presence', 'On the phone' and 'Presence note' ticked for my 'App' object on 'Visibility' column.
The code is written as this:
var subscribe = new SubscribePresence
{
src = userInfo.e164,
num = userInfo.e164 //e164 number from UserInfo object
};
But 'PresenceState' indicates presence status is disconnected:
11:44:34.49 [TP05] InnovaPbx: OnPresenceState: {
"mt": "PresenceState",
"up": false,
"sip": null,
"dn": null,
"email": null,
"api": "PbxApi",
"src": "263"
}
Also we don't receive any 'PresenceUpdae' at all.
Is there anything else we need to do to get it going in MASTER/SLAVE environment as the same code works in single pbx setup?
Thank you!
Josie