<!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>
<BR>
Hi,<BR>
<BR>
thanks for reply my mail.....<BR>
<BR>
<BR>
body i found in presentity table -----&gt;<BR>
<BR>
<B>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</B><BR>
<B>&lt;presence xmlns=&quot;urn:ietf:params:xml:ns:pidf&quot; entity=&quot;<A HREF="mailto:2000@sip.pyrogroup.com">user@domain.com</A>&quot;&gt;</B><BR>
<B> &lt;tuple id=&quot;null&quot;&gt;</B><BR>
<B>&nbsp; &lt;status&gt;</B><BR>
<B>&nbsp;&nbsp; &lt;basic&gt;open&lt;/basic&gt;</B><BR>
<B>&nbsp; &lt;/status&gt;</B><BR>
<B>&nbsp; &lt;note&gt;online&lt;/note&gt;</B><BR>
<B> &lt;/tuple&gt;</B><BR>
<B>&lt;/presence&gt;</B><BR>
<BR>
body i receive in Notify&nbsp;&nbsp; ---&gt; i receive same body even user is offline or online or ideal..............<BR>
<BR>
<B>&lt;?xml version=&quot;1.0&quot;&gt;\n</B><BR>
<B>&lt;watcherinfo xmlns=&quot;urn:ietf:params:xml:ns:watcherinfo&quot; version=&quot;0&quot; state=&quot;full&quot;&gt;\n</B><BR>
<B>&nbsp;&nbsp;&nbsp; &lt;watcher-list resource=&quot;sip:<A HREF="mailto:2000@domain.com">user@domain.com</A>&quot; package=&quot;presence&quot;/&gt;\n</B><BR>
<B>&lt;/watcherinfo&gt;\n</B><BR>
<BR>
<BR>
<BR>
there is any problem????<BR>
<BR>
<BR>
<BR>
Thanks &amp; Regards,<BR>
Amit Vijayvargiya<BR>
<BR>
<BR>
<BR>
<BR>
On Mon, 2008-05-12 at 13:43 +0300, Anca Vamanu wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi Amit,</FONT>

<FONT COLOR="#000000">What do you mean by a wrong body?</FONT>
<FONT COLOR="#000000">Could you print the body you find in your db table and the one you see </FONT>
<FONT COLOR="#000000">in the Notify?</FONT>

<FONT COLOR="#000000">Regards,</FONT>
<FONT COLOR="#000000">Anca Vamanu</FONT>

<FONT COLOR="#000000">Amit Vijayvargiya wrote:</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; hi,</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; i m add *presence* module in openser 1.3.</FONT>
<FONT COLOR="#000000">&gt;          but it not working properly.</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt;          when x-lite send a subscribe to client-B, it receive notify </FONT>
<FONT COLOR="#000000">&gt; but with different body.</FONT>
<FONT COLOR="#000000">&gt;          i see in the table *presentity *it shows right body.</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; where is the problem?????</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; my configuration like this for subscribe and publish......</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; route[2]</FONT>
<FONT COLOR="#000000">&gt; {</FONT>
<FONT COLOR="#000000">&gt;          sl_send_reply(&quot;100&quot;,&quot;trying&quot;);</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt;         append_to_reply(&quot;Contact: &lt;sip:sip.pyrogroup.com:5060&gt;\r\n&quot;);</FONT>
<FONT COLOR="#000000">&gt;         if (!t_newtran())</FONT>
<FONT COLOR="#000000">&gt;         {</FONT>
<FONT COLOR="#000000">&gt;                 sl_reply_error();</FONT>
<FONT COLOR="#000000">&gt;                 exit;</FONT>
<FONT COLOR="#000000">&gt;         };</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt;         if(is_method(&quot;PUBLISH&quot;))</FONT>
<FONT COLOR="#000000">&gt;         {</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt;                 if($hdr(Sender)!= NULL)</FONT>
<FONT COLOR="#000000">&gt;                        handle_publish(&quot;$hdr(Sender)&quot;);</FONT>
<FONT COLOR="#000000">&gt;                 else</FONT>
<FONT COLOR="#000000">&gt;                         handle_publish();</FONT>
<FONT COLOR="#000000">&gt;                 t_release();</FONT>
<FONT COLOR="#000000">&gt;         }</FONT>
<FONT COLOR="#000000">&gt;         else</FONT>
<FONT COLOR="#000000">&gt;         if( is_method(&quot;SUBSCRIBE&quot;))</FONT>
<FONT COLOR="#000000">&gt;         {</FONT>
<FONT COLOR="#000000">&gt;                 handle_subscribe();</FONT>
<FONT COLOR="#000000">&gt;                 t_release();</FONT>
<FONT COLOR="#000000">&gt;         }</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt;         exit;</FONT>
<FONT COLOR="#000000">&gt; }</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; Thanks &amp; Regards,</FONT>
<FONT COLOR="#000000">&gt; Amit</FONT>
<FONT COLOR="#000000">&gt; ------------------------------------------------------------------------</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; _______________________________________________</FONT>
<FONT COLOR="#000000">&gt; Users mailing list</FONT>
<FONT COLOR="#000000">&gt; <A HREF="mailto:Users@lists.openser.org">Users@lists.openser.org</A></FONT>
<FONT COLOR="#000000">&gt; <A HREF="http://lists.openser.org/cgi-bin/mailman/listinfo/users">http://lists.openser.org/cgi-bin/mailman/listinfo/users</A></FONT>
<FONT COLOR="#000000">&gt;   </FONT>


</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>