[OpenSER-Users] regarding presence module facing problem

Amit Vijayvargiya amit.v at pyronetworks.com
Mon May 12 09:55:06 CEST 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080512/4b5d95f7/attachment.htm 


More information about the Users mailing list