<div dir="ltr">Hi. I trying to implement full presence server<br>I set config like this (part of it)<br><br><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-family:consolas,menlo,"liberation mono",courier,monospace;font-size:12px;line-height:1.4;color:rgb(51,51,51)"><span class="gmail-c1" style="font-style:italic;color:rgb(153,153,136)">#!define FLT_DLG 9</span>
<a name="kamailio.cfg-130" style="color:rgb(53,114,176)"></a><span class="gmail-c1" style="font-style:italic;color:rgb(153,153,136)">#!define FLT_DLGINFO 10</span></pre><br><br><div>modparam("dialog", "timeout_avp", "$avp(i:10)")</div><div>modparam("dialog", "dlg_flag", 4)</div><div>modparam("dialog", "initial_cbs_inscript", 1)</div><div>modparam("dialog", "profiles_with_value", "caller")</div><div>modparam("dialog", "track_cseq_updates", 1)</div><div>modparam("dialog", "enable_stats", 1)</div><div>modparam("dialog", "dlg_flag", FLT_DLG)</div><br><pre style="margin-top:0px;margin-bottom:0px;padding:0px"><font color="#333333" face="consolas, menlo, liberation mono, courier, monospace"><span style="line-height:16.8px">modparam("presence", "db_url", DBURL)
modparam("presence", "server_address", SIPURI)
modparam("presence", "send_fast_notify", 1)
modparam("presence", "db_update_period", 20)
modparam("presence", "clean_period", 40)
modparam("presence", "subs_db_mode", 1)
modparam("presence", "fetch_rows", 1000)
modparam("presence", "local_log_level", 3)
# ----- presence_xml params -----
modparam("presence_xml", "db_url", DBURL)
modparam("presence_xml", "force_active", 1)

#-------presence_dialoginfo params -----
modparam("presence_dialoginfo", "force_dummy_dialog", 1)
modparam("presence_dialoginfo", "force_single_dialog",1)

# ----- pua params -----
modparam("pua", "db_url", DBURL)
modparam("pua", "db_mode", 2)
modparam("pua", "update_period", 10)
modparam("pua", "dlginfo_increase_version", 0)
modparam("pua", "reginfo_increase_version", 0)
modparam("pua", "check_remote_contact", 1)
modparam("pua", "fetch_rows", 1000)

# ----- pua_dialoginfo params -----
modparam("pua_dialoginfo", "include_callid", 1)
modparam("pua_dialoginfo", "send_publish_flag", FLT_DLGINFO)
modparam("pua_dialoginfo", "caller_confirmed", 0)
modparam("pua_dialoginfo", "include_tags", 1)
modparam("pua_dialoginfo", "override_lifetime", 124)
modparam("presence", "db_url", DBURL)
modparam("presence", "server_address", SIPURI)
modparam("presence", "send_fast_notify", 1)
modparam("presence", "db_update_period", 20)
modparam("presence", "clean_period", 40)
modparam("presence", "subs_db_mode", 1)
modparam("presence", "fetch_rows", 1000)
modparam("presence", "local_log_level", 3)
# ----- presence_xml params -----
modparam("presence_xml", "db_url", DBURL)
modparam("presence_xml", "force_active", 1)

#-------presence_dialoginfo params -----
modparam("presence_dialoginfo", "force_dummy_dialog", 1)
modparam("presence_dialoginfo", "force_single_dialog",1)

# ----- pua params -----
modparam("pua", "db_url", DBURL)
modparam("pua", "db_mode", 2)
modparam("pua", "update_period", 10)
modparam("pua", "dlginfo_increase_version", 0)
modparam("pua", "reginfo_increase_version", 0)
modparam("pua", "check_remote_contact", 1)
modparam("pua", "fetch_rows", 1000)

# ----- pua_dialoginfo params -----
modparam("pua_dialoginfo", "include_callid", 1)
modparam("pua_dialoginfo", "send_publish_flag", FLT_DLGINFO)
modparam("pua_dialoginfo", "caller_confirmed", 0)
modparam("pua_dialoginfo", "include_tags", 1)
modparam("pua_dialoginfo", "override_lifetime", 124)
</span><span style="line-height:1.4">

At the config file i made some changes 

</span><span style="line-height:18.2px">route[BLF]
{
        # absorb retransmissions
        if (! t_newtran())
        {
                sl_reply_error();
                exit;
        };
 
        if(is_method("PUBLISH"))
        {
                if (handle_publish()) {
           xlog("L_INFO","{$rm} handled");
                };
        t_release();
        } else if( is_method("SUBSCRIBE")) {
       
                if (handle_subscribe()) {
           xlog("L_INFO","{$rm} handled");
        };
                t_release();
        };
 
        exit;
}</span><span style="line-height:1.4">

Also added for evey call dlg_manage() function

So for now i have issue that no NOTIFY event was sent at the any update of any device
I see PUBLISH events and SUBSCRIBE events but it looks like 
</span></font><pre style="margin-top:0px;margin-bottom:0px;padding:0px"><font color="#333333" face="consolas, menlo, liberation mono, courier, monospace"><span style="line-height:18.2px">handle_publish()
and
</span></font><pre style="margin-top:0px;margin-bottom:0px;padding:0px"><font color="#333333" face="consolas, menlo, liberation mono, courier, monospace"><span style="line-height:18.2px">handle_subscribe() 
not sending any NOTIFY
But at the dump i see </span></font></pre><font color="#333333" face="consolas, menlo, liberation mono, courier, monospace"><span style="line-height:18.2px">
</span></font><pre style="margin-top:0px;margin-bottom:0px;padding:0px"><font color="#333333" face="consolas, menlo, liberation mono, courier, monospace"><span style="line-height:18.2px">xlog("L_INFO","{$rm} handled"); where $rm is correct SUBSCRIBE and PUBLISH if it is.

Just dont know what i need to change. 

I will be very grateful if someone heps me to resolve this issue.

Thanks</span></font></pre><font color="#333333" face="consolas, menlo, liberation mono, courier, monospace"><span style="line-height:18.2px">
</span></font></pre><span class="err" style="color:rgb(166,23,23);font-family:consolas,menlo,"liberation mono",courier,monospace;font-size:12px;line-height:1.4;background-color:rgb(227,210,210)"><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-family:consolas,menlo,"liberation mono",courier,monospace;line-height:1.4;color:rgb(51,51,51);background-color:rgb(255,255,255)"><span class="err" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">
<br></span></pre></span></pre></div>