Hello,

I use kamailio 5.1.1 with default configuration for PRESENCE:

Route:

#!ifdef WITH_PRESENCE
        if (!t_newtran()) {
                sl_reply_error();
                exit;
        }

        if(is_method("PUBLISH")) {
                handle_publish();
                t_release();
        } else if(is_method("SUBSCRIBE")) {
                handle_subscribe();
                t_release();
        }
        exit;
#!endif

and modparams:

#!ifdef WITH_PRESENCE
# ----- presence params -----
modparam("presence", "db_url", DBURL)

# ----- presence_xml params -----
modparam("presence_xml", "db_url", DBURL)
modparam("presence_xml", "force_active", 1)
#!endif

I use and GRANSTREAM phones.

When I make subscribe from soft sip client (Micro sip) to the grandstreams, all NOTIFY messages are without XML.

Subscriptions between two soft sip clients like Zoiper and Micro SIP works perfectly. Is this related to GRANDSTREAM phones - configuration or so... or is necessary to modify kamailio configuration and if Yes, please provide some hitns how to change kamailio config?

Thanks in advance.

Best regards.

Musala Soft Jsc. Denislav Raychev Tsonev  |  Integration and Infrastructure Engineer |  Musala Soft JSC
www.musala.com  |  t: +359 2 969 58 21   |  m: +359 878 270 965   |  f: +359 2 969 58 22
World Trade Center, 36 Dragan Tsankov blvd., Sofia 1057, Bulgaria

Find Us on Facebook LinkedIn Group Muffin Conference