Hi all,
we're trying to connect Windows Messenger Clients to ser-0.10.99
We've configured ser with pa module.
If I understand how it works : -U1 is connecting for the first time to ser. -U1 add his contacts, and each time he adds a contact, ser inserts the data in watcherinfo table. For exemple, he adds U2 inhis contacts. -U2 is connecting for the first time to ser. -presentity_contact table is updated and U1 can see that U2 is online. -U2 add his contacts, and each time he adds a contact, ser inserts the data in watcherinfo table. For exemple, he adds U1 inhis contacts. -Then presentity_contact table is updated and U2 can see that U1 is online.
We've tested the two following configurations:
-In one hand, if the Usernames of 2 clients are very differents, such as "Mohamed" and "Xavier", it works fine.
-In the other hand, if the Usernames are something like "Xavier1" and "Xavier2" and each of them are in the contacts list of the other, then we found a problem while ser was trying to insert data in presentity_contact table. The s_id generated is the same for each user.
Therefore, only the first user who was connected the first time will see the status of the other user.
B.R. Xavier.
Sorry, I was talking about the s_id key of the watcherinfo table, not in presentity_contact, everybody had understood ;)
Xavier.
Xavier TRENTIN a écrit:
Pas de virus detecté dans l'attachement no filename
Votre Mail a été vérifié par InterScan. ***********-***********
Hi all,
we're trying to connect Windows Messenger Clients to ser-0.10.99
We've configured ser with pa module.
If I understand how it works : -U1 is connecting for the first time to ser. -U1 add his contacts, and each time he adds a contact, ser inserts the
data in watcherinfo table. For exemple, he adds U2 inhis contacts. -U2 is connecting for the first time to ser. -presentity_contact table is updated and U1 can see that U2 is online. -U2 add his contacts, and each time he adds a contact, ser inserts the
data in watcherinfo table. For exemple, he adds U1 inhis contacts. -Then presentity_contact table is updated and U2 can see that U1 is online.
We've tested the two following configurations:
-In one hand, if the Usernames of 2 clients are very differents, such
as "Mohamed" and "Xavier", it works fine.
-In the other hand, if the Usernames are something like "Xavier1" and
"Xavier2" and each of them are in the contacts list of the other, then
we found a problem while ser was trying to insert data in
presentity_contact table. The s_id generated is the same for each user.
Therefore, only the first user who was connected the first time will see
the status of the other user.
B.R. Xavier.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Xavier TRENTIN wrote:
-In the other hand, if the Usernames are something like "Xavier1"
and "Xavier2" and each of them are in the contacts list of the other, then we found a problem while ser was trying to insert data in presentity_contact table. The s_id generated is the same for each user.
I was using a hash to generate the s_id, but it looks like there are collisions, so will have to switch to a new approach.
Jamey
Do you need to generate the S_id key? Why don't you use (w_uri,r_uri) as primary key?
Xavier.
Jamey Hicks a écrit:
Pas de virus detecté dans l'attachement no filename
Votre Mail a été vérifié par InterScan. ***********-***********
Xavier TRENTIN wrote:
-In the other hand, if the Usernames are something like "Xavier1"
and "Xavier2" and each of them are in the contacts list of the other, then we found a problem while ser was trying to insert data in presentity_contact table. The s_id generated is the same for each user.
I was using a hash to generate the s_id, but it looks like there are collisions, so will have to switch to a new approach.
Jamey