[OpenSER-Users] regarding presence module facing problem

Anca Vamanu anca at voice-system.ro
Mon May 12 12:43:09 CEST 2008


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 at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>   





More information about the sr-users mailing list