Hi all, I use function "save" to save use information when user register, like this: if (method=="REGISTER") { if (!www_authorize("novsky.com", "subscriber")) { www_challenge("novsky.com", "1"); break; }; save("location"); break; }; But after a SIP UA registed, I sometimes can't see the use in mysql table ser.location. Is it right? And if a user registerd from many different IP address, there are many log about the user in mysql table ser.location.
wangji 12/1/03
__________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
You can check with "serctl monitor" the last line in the monitor will describe the active & total clients registered
Kannaiyan
----- Original Message ----- From: "jimmy way" jimway71@yahoo.com To: serusers@lists.iptel.org Sent: Monday, December 01, 2003 4:21 AM Subject: [Serusers] which table the funtion "save" saved to
Hi all, I use function "save" to save use information when user register, like this: if (method=="REGISTER") { if (!www_authorize("novsky.com", "subscriber")) { www_challenge("novsky.com", "1"); break; }; save("location"); break; }; But after a SIP UA registed, I sometimes can't see the use in mysql table ser.location. Is it right? And if a user registerd from many different IP address, there are many log about the user in mysql table ser.location.
wangji 12/1/03
Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi Jimmy,
The contacts are saved into location table, but they are also cached by SER, so, this is the reason you are not able to see immediately the saved contact into db.
Bogdan
jimmy way wrote:
Hi all, I use function "save" to save use information when user register, like this: if (method=="REGISTER") { if (!www_authorize("novsky.com", "subscriber")) { www_challenge("novsky.com", "1"); break; }; save("location"); break; }; But after a SIP UA registed, I sometimes can't see the use in mysql table ser.location. Is it right? And if a user registerd from many different IP address, there are many log about the user in mysql table ser.location.
wangji 12/1/03
Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Yes, exactly. I guess you set db_mode of usrloc to 2, which means that contacts will be saved into the database with some delay. If you set the parameter to 1 then then you will see them immediately in the database.
Jan.
On 01-12 11:38, Bogdan-Andrei IANCU wrote:
Hi Jimmy,
The contacts are saved into location table, but they are also cached by SER, so, this is the reason you are not able to see immediately the saved contact into db.
Bogdan
jimmy way wrote:
Hi all, I use function "save" to save use information when user register, like this: if (method=="REGISTER") { if (!www_authorize("novsky.com", "subscriber")) { www_challenge("novsky.com", "1"); break; }; save("location"); break; }; But after a SIP UA registed, I sometimes can't see the use in mysql table ser.location. Is it right? And if a user registerd from many different IP address, there are many log about the user in mysql table ser.location.
wangji 12/1/03
Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers