<!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">&nbsp;&nbsp;&nbsp; we are done all the configuration of presence module in openser.cfg file </FONT><BR>
<FONT COLOR="#9c3000">&nbsp;&nbsp;&nbsp; set all the parameters..........i.e.</FONT><BR>
<BR>
<BR>
modparam(&quot;presence|presence_xml&quot;, &quot;db_url&quot;, &quot;mysql://openser:<A HREF="mailto:openser@localhost">openser@localhost</A>/openser&quot;)<BR>
modparam(&quot;presence_xml&quot;, &quot;force_active&quot;, 1)<BR>
modparam(&quot;presence&quot;, &quot;server_address&quot;, &quot;sip:domain:5060&quot;)<BR>
modparam(&quot;presence&quot;, &quot;fallback2db&quot;, 1)<BR>
modparam(&quot;presence&quot;, &quot;presentity_table&quot;, &quot;presentity&quot;)<BR>
modparam(&quot;presence&quot;, &quot;active_watchers_table&quot;, &quot;active_watchers&quot;)<BR>
modparam(&quot;presence&quot;, &quot;watchers_table&quot;, &quot;watchers&quot;)<BR>
modparam(&quot;presence&quot;, &quot;clean_period&quot;, 100)<BR>
modparam(&quot;presence&quot;, &quot;to_tag_pref&quot;, 'pres')<BR>
modparam(&quot;presence&quot;, &quot;expires_offset&quot;, 10)<BR>
<BR>
<BR>
modparam(&quot;xcap_client&quot;, &quot;db_url&quot;, &quot;mysql://openser:<A HREF="mailto:openser@localhost">openser@localhost</A>/openser&quot;)<BR>
modparam(&quot;xcap_client&quot;, &quot;xcap_table&quot;,&quot;xcap&quot;)<BR>
<BR>
<BR>
modparam(&quot;presence_xml&quot;, &quot;db_url&quot;, &quot;mysql://openser:<A HREF="mailto:openser@localhost">openser@localhost</A>/openser&quot;)<BR>
modparam(&quot;presence_xml&quot;, &quot;force_active&quot;, 0)<BR>
modparam(&quot;presence_xml&quot;, &quot;xcap_table&quot;, &quot;xcap&quot;)<BR>
modparam(&quot;presence_xml&quot;, &quot;pidf_manipulation&quot;, 1)<BR>
modparam(&quot;presence_xml&quot;, &quot;integrated_xcap_server&quot;, 1)<BR>
<BR>
<BR>
<BR>
<FONT COLOR="#840000">and route the PUBLISH and SUBSCRIBE massages </FONT><BR>
<BR>
<BR>
 if( is_method(&quot;PUBLISH|SUBSCRIBE&quot;))<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(2);<BR>
<BR>
<BR>
<FONT COLOR="#9c3000">route[2] is:::::</FONT><BR>
<BR>
<BR>
<BR>
route[2]<BR>
{<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply(&quot;100&quot;,&quot;trying&quot;);<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!t_newtran())<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_reply_error();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(is_method(&quot;PUBLISH&quot;))<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbs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;&nbsp;&nbsp;&nbsp;&nbsp; t_release();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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.&nbsp; <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>