Kamailio 5 - kazoo4.1 all in one

146 views
Skip to first unread message

Marcin Muzylo

unread,
Jun 24, 2017, 2:21:54 PM6/24/17
to 2600hz-dev
hi,
have issue with installing latest kz 4.1.16, issue is with kamailio:

[root@kazoo kamailio]# systemctl status kazoo-kamailio -l
● kazoo-kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server Configured for Kazoo
   Loaded: loaded (/usr/lib/systemd/system/kazoo-kamailio.service; enabled; vendor preset: disabled)
   Active: active (running) since sob 2017-06-24 11:45:40 UTC; 8min ago
  Process: 11731 ExecStop=/usr/sbin/kazoo-kamailio stop (code=exited, status=1/FAILURE)
  Process: 11837 ExecStartPre=/usr/sbin/kazoo-kamailio prepare (code=exited, status=0/SUCCESS)
 Main PID: 11848 (kamailio)
   CGroup: /system.slice/kazoo-kamailio.service
           ├─11848 /usr/sbin/kamailio -f /etc/kazoo/kamailio/kamailio.cfg -m 64 -M 8 -DD
           ├─11860 /usr/sbin/kamailio -f /etc/kazoo/kamailio/kamailio.cfg -m 64 -M 8 -DD
           ├─11861 /usr/sbin/kamailio -f /etc/kazoo/kamailio/kamailio.cfg -m 64 -M 8 -DD
           ├─11862 /usr/sbin/kamailio -f /etc/kazoo/kamailio/kamailio.cfg -m 64 -M 8 -DD
           ├─11863 /usr/sbin/kamailio -f /etc/kazoo/kamailio/kamailio.cfg -m 64 -M 8 -DD
    

cze 24 11:53:21 kazoo.mykazoo.com kamailio[11910]: ERROR: kazoo [kz_amqp.c:1239]: kz_amqp_publish(): empty or invalid JSON payload : {"Event-Category" : "nodes", "Event-Name" : "advertise", "Expires" : 5000, "Used-Memory" : 15072104, "Startup" : 1498304740, "XWhApps" : {"kamailio" : {"Startup" : 1498304740 }},  "Roles" : {"Dispatcher" : {"Groups" : { "1" : { "1" : {"destination" : "sip:0.0.0.0:11000", "flags" : "0", "priority" : 0, "attrs" : "" , "description" : ""} } }}, "Presence" : {"Subscribers" : {"message-summary" : <null>, "dialog" : <null>, "presence" : <null>}, "Subscriptions" : {"message-summary" : <null>, "dialog" : <null>, "presence" : <null>}, "Presentities" : {"message-summary" : 0, "dialog" : 0, "presence" : 0}} , "Registrar" : {"Registrations" : 0}}}
cze 24 11:53:26 kazoo.mykazoo.com kamailio[11910]: ERROR: kazoo [kz_amqp.c:1239]: kz_amqp_publish(): empty or invalid JSON payload : {"Event-Category" : "nodes", "Event-Name" : "advertise", "Expires" : 5000, "Used-Memory" : 15066456, "Startup" : 1498304740, "XWhApps" : {"kamailio" : {"Startup" : 1498304740 }},  "Roles" : {"Dispatcher" : {"Groups" : { "1" : { "1" : {"destination" : "sip:0.0.0.0:11000", "flags" : "0", "priority" : 0, "attrs" : "" , "description" : ""} } }}, "Presence" : {"Subscribers" : {"message-summary" : <null>, "dialog" : <null>, "presence" : <null>}, "Subscriptions" : {"message-summary" : <null>, "dialog" : <null>, "presence" : <null>}, "Presentities" : {"message-summary" : 0, "dialog" : 0, "presence" : 0}} , "Registrar" : {"Registrations" : 0}}}

kazoo 4.1.16

[root@kazoo kamailio]# rpm -qa | grep kamailio
kamailio-websocket-5.0.2-13.1.x86_64
kamailio-5.0.2-13.1.x86_64
kamailio-tls-5.0.2-13.1.x86_64
kamailio-uuid-5.0.2-13.1.x86_64
kamailio-kazoo-5.0.2-13.1.x86_64
kazoo-kamailio-4.1-8.el7.centos.noarch
kamailio-presence-5.0.2-13.1.x86_64
kamailio-outbound-5.0.2-13.1.x86_64
kazoo-configs-kamailio-4.1-18.el7.centos.noarch


Thanks for any info
Greetings
Marcin

Luis Azedo

unread,
Jun 24, 2017, 2:26:19 PM6/24/17
to 2600h...@googlegroups.com
you need to get kamailio configs from master or make sure there's at least one subscriber for each of the events (mwi, dialog, presence)


--
You received this message because you are subscribed to the Google Groups "2600hz-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marcin Muzylo

unread,
Jun 26, 2017, 10:43:53 AM6/26/17
to 2600hz-dev
thank you Luis, with config files from kamailio 5.0.1 it works
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages