[Serusers] RE: IM + Presence help

Suraj Kumar suraj at backpost.com
Mon May 15 03:02:38 CEST 2006


Thanks Vaclav for the information as at one stage I thought my message was lost!

Is that the user must need to be in the database? I though the user location in memory should work. Since my registration packet arrives fine and I can see the response to the REGISTER packets, I assume users are are in memory but I could not check from serctl command as I mentioned earlier. 

I will use the latest serctl but I would like to know if the database is absolutely must for the presence to work?

Regards,
Suraj
----------------------------------------------------------------------------------


Hi Suraj.
Sorry for delayed reply.

On Wed, May 03, 2006 at 11:10:32PM -0400, Suraj Kumar wrote:
> Hi Vaclav,
> 
> Thanks for the help! That helped!!
> 
> However, when I registered two users from windows messanger, I can login but I
cannot see them with the serctl ul show command which shows the following
message :
> 
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 500 Command 'ul_dump' not found
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Might be, that this command is still not implemented (it worked in older
SER versions, but it was rewritten then and may be, that it was not
reimplemented yet). May be, that new serctl (in tools/serctl in source
tree) has another command which is similar to this. Try to look there.

> 
> If i add a contact in the IM client, SER displays the following message:
> 
> 
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> subscription to invalid user sip:201 at xxx.xxx.248.115
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 
> I have used the config sample from the example with DB in the presence hand
book:
> but my user location is set as follows : 
> modparam("usrloc", "db_mode",   0)
> 

There are used functions lookup_user and lookup_domain from modules
uri_db and domain (I think) which work with database. The subscription
probably fails due to that these functions can not find the user in
database. Have you added this user using serctl?

	Vaclav

> 
> Thanks a lot!
> Suraj
> 




More information about the sr-users mailing list