<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.10.0">
</HEAD>
<BODY>
<FONT COLOR="#9c3000">Hi,</FONT><BR>
<BR>
<BR>
<FONT COLOR="#9c3000"> we are done all the configuration of presence module in openser.cfg file </FONT><BR>
<FONT COLOR="#9c3000"> set all the parameters..........i.e.</FONT><BR>
<BR>
<BR>
modparam("presence|presence_xml", "db_url", "mysql://openser:<A HREF="mailto:openser@localhost">openser@localhost</A>/openser")<BR>
modparam("presence_xml", "force_active", 1)<BR>
modparam("presence", "server_address", "sip:domain:5060")<BR>
modparam("presence", "fallback2db", 1)<BR>
modparam("presence", "presentity_table", "presentity")<BR>
modparam("presence", "active_watchers_table", "active_watchers")<BR>
modparam("presence", "watchers_table", "watchers")<BR>
modparam("presence", "clean_period", 100)<BR>
modparam("presence", "to_tag_pref", 'pres')<BR>
modparam("presence", "expires_offset", 10)<BR>
<BR>
<BR>
modparam("xcap_client", "db_url", "mysql://openser:<A HREF="mailto:openser@localhost">openser@localhost</A>/openser")<BR>
modparam("xcap_client", "xcap_table","xcap")<BR>
<BR>
<BR>
modparam("presence_xml", "db_url", "mysql://openser:<A HREF="mailto:openser@localhost">openser@localhost</A>/openser")<BR>
modparam("presence_xml", "force_active", 0)<BR>
modparam("presence_xml", "xcap_table", "xcap")<BR>
modparam("presence_xml", "pidf_manipulation", 1)<BR>
modparam("presence_xml", "integrated_xcap_server", 1)<BR>
<BR>
<BR>
<BR>
<FONT COLOR="#840000">and route the PUBLISH and SUBSCRIBE massages </FONT><BR>
<BR>
<BR>
if( is_method("PUBLISH|SUBSCRIBE"))<BR>
route(2);<BR>
<BR>
<BR>
<FONT COLOR="#9c3000">route[2] is:::::</FONT><BR>
<BR>
<BR>
<BR>
route[2]<BR>
{<BR>
sl_send_reply("100","trying");<BR>
<BR>
if (!t_newtran())<BR>
{<BR>
sl_reply_error();<BR>
exit;<BR>
};<BR>
<BR>
if(is_method("PUBLISH"))<BR>
{<BR>
<BR>
if($hdr(Sender)!= NULL)<BR>
handle_publish("$hdr(Sender)");<BR>
else<BR>
handle_publish();<BR>
t_release();<BR>
}<BR>
else<BR>
if( is_method("SUBSCRIBE"))<BR>
{<BR>
handle_subscribe();<BR>
t_release();<BR>
}<BR>
<BR>
exit;<BR>
}<BR>
<BR>
<BR>
<BR>
when we are run X-lite is asking you want to allow or deny the user-B...........<BR>
but not showing online even we are allow the user-B..........<BR>
when we are allow the user x-lite not send any type of message......<BR>
<BR>
we see in Notify openser sending a notify with watcher-list but with the status pending inside XML format. <BR>
<BR>
<BR>
please tell me where we are wrong????????????<BR>
there is a problem with X-lite or our configuration?????<BR>
<BR>
<BR>
<BR>
Thanks in advance <BR>
Amit Vijayvargiya<BR>
<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>