Mapping myApps users of a JS app service to Pbx API connections in master/slave environments.
Scenario: An app with "user" and "admin" entry to the app using RCC and PbxApi, in a MultiPbx environment.
There are two Pbx objects (user, admin) that have RCC and PbxApi checked respectively. The slave Pbxes have replication configured so that both Pbx Objects are replicated to all slaves. Each slave Pbx now creates its own connections for both Pbx Objects (user,admin) and RCC and PbxApi respectively.
In User/Admin Connections from myApps Client I find dn, sip, guid etc. of the connecting user, but I don't see there any information about the Pbx in which the userobject of the user is located.
So my question: for example, I want to set the presence of a user, through which of the Api Connections do I send messages?
{
"api": "PbxApi",
"mt": "SetPresence",
"guid":"dg0d8fg09d8mf0g____of_a_slave_1_user",
"contact": "tel:",
"activity": "busy",
"note": "where will all of this end?",
"src":"callback0.26676369090662666"
}
Does it matter to which of the multiple PbxApi Connections of the Appservice I send the message?
Can I send such a presence message of a user from slave1 via a PbxApi of slave2 or the master (and the Pbxes are signaling the change to each other slave2/master -> slave1)?
Or must this message send exactly to the PbxApi Connection of slave1? Where do I get the info to which Pbx a user/admin belongs in the myApps client? Because this info is missing in the initial JSON message (red in the graphic below).

