Hi,

thanks for reply my mail.....


body i found in presentity table ----->

<?xml version="1.0" encoding="UTF-8"?>
<presence xmlns="urn:ietf:params:xml:ns:pidf" entity="user@domain.com">
<tuple id="null">
  <status>
   <basic>open</basic>
  </status>
  <note>online</note>
</tuple>
</presence>

body i receive in Notify   ---> i receive same body even user is offline or online or ideal..............

<?xml version="1.0">\n
<watcherinfo xmlns="urn:ietf:params:xml:ns:watcherinfo" version="0" state="full">\n
    <watcher-list resource="sip:user@domain.com" package="presence"/>\n
</watcherinfo>\n



there is any problem????



Thanks & Regards,
Amit Vijayvargiya




On Mon, 2008-05-12 at 13:43 +0300, Anca Vamanu wrote:
Hi Amit,

What do you mean by a wrong body?
Could you print the body you find in your db table and the one you see 
in the Notify?

Regards,
Anca Vamanu

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