Picture of Daniel 450
Registered 14 years 35 days
Daniel 450 Monday, 12 December 2022, 04:32 PM
Does a presence change do a table users replication?
Hello,

it looks to me that the Table User Replication processes is doing also an update on every user presence change. Is that right or do i someting wrong?
Picture of Gianluca Allegrino (innovaphone)
Registered 3 years 76 days
Gianluca Allegrino (innovaphone) Tuesday, 13 December 2022, 10:34 AM
Re: Does a presence change do a table users replication?
Hello Daniel,


we looked into this and the Table User Replication Process is doing an update on every user presence change.
It can be seen through the changes at the USN in the PBX config.


Best Regards
Gianluca Allegrino
Picture of Daniel 450
Registered 14 years 35 days
Daniel 450 Wednesday, 14 December 2022, 11:27 AM
Re: Does a presence change do a table users replication?
Hello Gianluca,

thank you for the info.
I checked that and i see the USN change on each presence state change.
I also see at the pbx object in the PBX config, that this also changing: pbx=<presence c="tel:" a="..."/>

But i didn´t understand why the replication send an update. Ok we could register an update in the config but i didn´t register an update via replication, is that right?. I read in the sdk, there is no presence state replication via TableUser replication. For presence change i read that we have to use other sdk apis.
And if i am right that there is no replicated presence info, then i think it is irritating to get an update when there is "nothing" changed and it also causes unnecessary traffic and computing power. It has irritating me and then i had to do a speparate programming to not send to each client an update message if "nothing" changed.
Or did i missunderstood something?

Picture of Gianluca Allegrino (innovaphone)
Registered 3 years 76 days
Gianluca Allegrino (innovaphone) Monday, 19 December 2022, 11:21 AM
Re: Does a presence change do a table users replication?
Hello Daniel,

> I read in the sdk, there is no presence state replication via TableUser replication. For presence change i read that we have to use
> other sdk apis.

Which part of the SDK documentation are you referring to in this statement?



could you please send us a trace? We need to see, why the replication is triggering without any reason.

We tested it and there is indeed a update happening when changing the presence.

We're currently researching this and will come back to you.


Best Regards
Gianluca Allegrino
Picture of Daniel 450
Registered 14 years 35 days
Daniel 450 Friday, 27 January 2023, 08:37 PM
Re: Does a presence change do a table users replication?
Hello Gianluca,

i am refering to PbxTableUsers: https://sdk.innovaphone.com/13r3/doc/appwebsocket/PbxTableUsers.htm

And if i am right, that i didn´t got through this api the actual presence state, why should i got for each presence change an update? It produces a lot of traffic for "nothing".

So before i do a trace, it would be nice to clearify if you could got the state of the changed presence by the PbxTableUsers Api.

Best regards
Daniel
← You can define your color theme preference here