[SR-Users] NOTIFY message without XML part

denislav.tsonev at musala.com denislav.tsonev at musala.com
Tue Mar 27 10:16:40 CEST 2018


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.


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 







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180327/8ce14584/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5133 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180327/8ce14584/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1825 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180327/8ce14584/attachment-0001.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2091 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180327/8ce14584/attachment-0002.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3074 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180327/8ce14584/attachment-0003.jpe>


More information about the sr-users mailing list