<font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">I'm trying to configure Kamailio to
be "Presence Server". Simple scheme: two phones (one "hard
phone" Grandstream GXP1620 and "Soft phone" MicroSIP) and
Kamailio server with default configuration. So when "MicroSIP"
send SIP SUBSCRIBE to Kamailio, server response with SIP NOTIFY but without
XML part. Then when hard phone change his status from "Ready"
to "Ringing" and then "On-The-Phone" Kamailio is not
sending any SIP NOTIFY messages. Is this normal behavior or I missed something?
(In DB I have records in "active_watchers" and  "watchers"
tables but not in "presentity" table)</font>
<br><font size=2 face="sans-serif">======================================================================</font>
<br><font size=2 face="sans-serif">====================== Module configuration:
=============================</font>
<br><font size=2 face="sans-serif">======================================================================</font>
<br>
<br><font size=2 face="sans-serif">#!ifdef WITH_PRESENCE</font>
<br><font size=2 face="sans-serif">loadmodule "presence.so"</font>
<br><font size=2 face="sans-serif">loadmodule "presence_xml.so"</font>
<br><font size=2 face="sans-serif">#!endif</font>
<br>
<br><font size=2 face="sans-serif">#!ifdef WITH_PRESENCE</font>
<br><font size=2 face="sans-serif"># ----- presence params -----</font>
<br><font size=2 face="sans-serif">modparam("presence", "db_url",
DBURL)</font>
<br><font size=2 face="sans-serif">modparam("presence", "server_address",
"sip:10.0.6.123:5060")</font>
<br>
<br><font size=2 face="sans-serif"># ----- presence_xml params -----</font>
<br><font size=2 face="sans-serif">modparam("presence_xml", "db_url",
DBURL)</font>
<br><font size=2 face="sans-serif">modparam("presence_xml", "force_active",
1)</font>
<br>
<br><font size=2 face="sans-serif">#!endif</font>
<br>
<br><font size=2 face="sans-serif">======================================================================</font>
<br>
<br>
<br><font size=2 face="sans-serif">==============================================================</font>
<br><font size=2 face="sans-serif">======================== Route: ================================</font>
<br><font size=2 face="sans-serif">==============================================================</font>
<br><font size=2 face="sans-serif">route[PRESENCE] {</font>
<br><font size=2 face="sans-serif">        if(!is_method("PUBLISH|SUBSCRIBE"))</font>
<br><font size=2 face="sans-serif">           
    return;</font>
<br>
<br><font size=2 face="sans-serif">#!ifdef WITH_PRESENCE</font>
<br><font size=2 face="sans-serif">        if (!t_newtran())
{</font>
<br><font size=2 face="sans-serif">           
    sl_reply_error();</font>
<br><font size=2 face="sans-serif">           
    exit;</font>
<br><font size=2 face="sans-serif">        }</font>
<br>
<br><font size=2 face="sans-serif">        if(is_method("PUBLISH"))
{</font>
<br><font size=2 face="sans-serif">           
    handle_publish();</font>
<br><font size=2 face="sans-serif">           
    t_release();</font>
<br><font size=2 face="sans-serif">        } else if(is_method("SUBSCRIBE"))
{</font>
<br><font size=2 face="sans-serif">           
    handle_subscribe();</font>
<br><font size=2 face="sans-serif">           
    t_release();</font>
<br><font size=2 face="sans-serif">        }</font>
<br><font size=2 face="sans-serif">        exit;</font>
<br><font size=2 face="sans-serif">#!endif</font>
<br>
<br><font size=2 face="sans-serif">        # if presence
enabled, this part will not be executed</font>
<br><font size=2 face="sans-serif">        if (is_method("PUBLISH")
|| $rU==$null) {</font>
<br><font size=2 face="sans-serif">           
    sl_send_reply("404", "Not here");</font>
<br><font size=2 face="sans-serif">           
    exit;</font>
<br><font size=2 face="sans-serif">        }</font>
<br><font size=2 face="sans-serif">        return;</font>
<br><font size=2 face="sans-serif">}</font>
<br>
<br><font size=2 face="sans-serif">================================================================</font>
<br><font size=2 face="sans-serif"><br>
Thanks in advance</font>
<br>
<table width=573 style="border-collapse:collapse;">
<tr height=8>
<td width=573 colspan=2 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<hr>
<tr height=8>
<td width=52 rowspan=3 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><img align=bottom src=cid:_2_0F4527D00F4525900044E5C0C225834D alt="Musala Soft Jsc." style="border:0px solid;">
<td width=521 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=2 face="Arial"><b>Denislav
Raychev Tsonev</b>  |  Integration and Infrastructure Engineer
|  <b>Musala Soft JSC</b> </font>
<tr height=8>
<td width=521 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><a href=www.musala.com><font size=1 color=#0060a0 face="Arial"><u>www.musala.com</u></font></a><font size=1 color=#808080 face="Arial">
 |  t: +359 2 969 58 21   |  m: +359 878 270 965  
|  f: +359 2 969 58 22 </font>
<tr height=8>
<td width=521 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#808080 face="Arial">World
Trade Center, 36 Dragan Tsankov blvd., Sofia 1057, Bulgaria </font>
<tr height=8>
<td width=52 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<td width=521 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1><br>
</font>
<table width=265 style="border-collapse:collapse;">
<tr height=8>
<td width=55 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><a href=https://www.facebook.com/MusalaSoft target=_blank><img align=bottom src=cid:_2_0F453F280F453BF40044E5C2C225834D alt="Find Us on Facebook" style="border:0px solid;"></a>
<td width=55 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><a href=https://www.linkedin.com/company/26544 target=_blank><img align=bottom src=cid:_2_0F4546680F4542EC0044E5C2C225834D alt="LinkedIn Group" style="border:0px solid;"></a>
<td width=155 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><a href=https://muffin.musala.com/ target=_blank><img align=bottom src=cid:_2_0F454DA80F454A2C0044E5C2C225834D alt="Muffin Conference" style="border:0px solid;"></a></table>
<br></table>
<br>