Hi,


    we are done all the configuration of presence module in openser.cfg file
    set all the parameters..........i.e.


modparam("presence|presence_xml", "db_url", "mysql://openser:openser@localhost/openser")
modparam("presence_xml", "force_active", 1)
modparam("presence", "server_address", "sip:domain:5060")
modparam("presence", "fallback2db", 1)
modparam("presence", "presentity_table", "presentity")
modparam("presence", "active_watchers_table", "active_watchers")
modparam("presence", "watchers_table", "watchers")
modparam("presence", "clean_period", 100)
modparam("presence", "to_tag_pref", 'pres')
modparam("presence", "expires_offset", 10)


modparam("xcap_client", "db_url", "mysql://openser:openser@localhost/openser")
modparam("xcap_client", "xcap_table","xcap")


modparam("presence_xml", "db_url", "mysql://openser:openser@localhost/openser")
modparam("presence_xml", "force_active", 0)
modparam("presence_xml", "xcap_table", "xcap")
modparam("presence_xml", "pidf_manipulation", 1)
modparam("presence_xml", "integrated_xcap_server", 1)



and route the PUBLISH and SUBSCRIBE massages


if( is_method("PUBLISH|SUBSCRIBE"))
                        route(2);


route[2] is:::::



route[2]
{
         sl_send_reply("100","trying");

        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;
}



when we are run X-lite is asking you want to allow or deny the user-B...........
but not showing online even we are allow the user-B..........
when we are allow the user x-lite not send any type of message......

we see in Notify openser sending a notify with watcher-list but with the status pending inside XML format. 


please tell me where we are wrong????????????
there is a problem with X-lite or our configuration?????



Thanks in advance
Amit Vijayvargiya