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