<!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 -----><BR>
<BR>
<B><?xml version="1.0" encoding="UTF-8"?></B><BR>
<B><presence xmlns="urn:ietf:params:xml:ns:pidf" entity="<A HREF="mailto:2000@sip.pyrogroup.com">user@domain.com</A>"></B><BR>
<B> <tuple id="null"></B><BR>
<B> <status></B><BR>
<B> <basic>open</basic></B><BR>
<B> </status></B><BR>
<B> <note>online</note></B><BR>
<B> </tuple></B><BR>
<B></presence></B><BR>
<BR>
body i receive in Notify ---> i receive same body even user is offline or online or ideal..............<BR>
<BR>
<B><?xml version="1.0">\n</B><BR>
<B><watcherinfo xmlns="urn:ietf:params:xml:ns:watcherinfo" version="0" state="full">\n</B><BR>
<B> <watcher-list resource="sip:<A HREF="mailto:2000@domain.com">user@domain.com</A>" package="presence"/>\n</B><BR>
<B></watcherinfo>\n</B><BR>
<BR>
<BR>
<BR>
there is any problem????<BR>
<BR>
<BR>
<BR>
Thanks & 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">></FONT>
<FONT COLOR="#000000">> hi,</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> i m add *presence* module in openser 1.3.</FONT>
<FONT COLOR="#000000">> but it not working properly.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> when x-lite send a subscribe to client-B, it receive notify </FONT>
<FONT COLOR="#000000">> but with different body.</FONT>
<FONT COLOR="#000000">> i see in the table *presentity *it shows right body.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> where is the problem?????</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> my configuration like this for subscribe and publish......</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> route[2]</FONT>
<FONT COLOR="#000000">> {</FONT>
<FONT COLOR="#000000">> sl_send_reply("100","trying");</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> append_to_reply("Contact: <sip:sip.pyrogroup.com:5060>\r\n");</FONT>
<FONT COLOR="#000000">> if (!t_newtran())</FONT>
<FONT COLOR="#000000">> {</FONT>
<FONT COLOR="#000000">> sl_reply_error();</FONT>
<FONT COLOR="#000000">> exit;</FONT>
<FONT COLOR="#000000">> };</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> if(is_method("PUBLISH"))</FONT>
<FONT COLOR="#000000">> {</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> if($hdr(Sender)!= NULL)</FONT>
<FONT COLOR="#000000">> handle_publish("$hdr(Sender)");</FONT>
<FONT COLOR="#000000">> else</FONT>
<FONT COLOR="#000000">> handle_publish();</FONT>
<FONT COLOR="#000000">> t_release();</FONT>
<FONT COLOR="#000000">> }</FONT>
<FONT COLOR="#000000">> else</FONT>
<FONT COLOR="#000000">> if( is_method("SUBSCRIBE"))</FONT>
<FONT COLOR="#000000">> {</FONT>
<FONT COLOR="#000000">> handle_subscribe();</FONT>
<FONT COLOR="#000000">> t_release();</FONT>
<FONT COLOR="#000000">> }</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> exit;</FONT>
<FONT COLOR="#000000">> }</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> Thanks & Regards,</FONT>
<FONT COLOR="#000000">> Amit</FONT>
<FONT COLOR="#000000">> ------------------------------------------------------------------------</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> _______________________________________________</FONT>
<FONT COLOR="#000000">> Users mailing list</FONT>
<FONT COLOR="#000000">> <A HREF="mailto:Users@lists.openser.org">Users@lists.openser.org</A></FONT>
<FONT COLOR="#000000">> <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">> </FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>