kamailio 4.4.2 fails to start on Debian 8
with error below (on latest kazoo-config)
● kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server
Loaded: loaded (/lib/systemd/system/kamailio.service; enabled)
Active: failed (Result: exit-code) since Sun 2016-10-02 16:05:57 EDT; 4s ago
Process: 17225 ExecStart=/usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP (code=exited, status=255)
Oct 02 16:05:57 uskazu1. kamailio[17225]: ERROR: <core> [pvapi.c:828]: pv_parse_spec2(): error searching pvar "sht"
Oct 02 16:05:57 uskazu1. kamailio[17225]: ERROR: <core> [pvapi.c:1032]: pv_parse_spec2(): wrong char [f/102] in [$sht(failover=>$ci::current)] at [5 (5)]
Oct 02 16:05:57
uskazu1.com kamailio[17225]: : <core> [cfg.y:3365]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/dispatcher-role.cfg, line 59, column 9-36: Can't get from cache: $sht(fai...=>$ci::current)
Oct 02 16:05:57
uskazu1.com kamailio[17225]: WARNING: <core> [ppcfg.c:221]: pp_ifdef_level_check(): different number of preprocessor directives: N(#!IF[N]DEF) - N(#!ENDIF) = 1
Oct 02 16:05:57
uskazu1.com kamailio[17225]: INFO: <core> [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
Oct 02 16:05:57
uskazu1.com kamailio[17225]: ERROR: bad config file (73 errors)
Oct 02 16:05:57
uskazu1.com kamailio[17225]: loading modules under config path: /usr/lib64/kamailio/modules/
Oct 02 16:05:57
uskazu1.com systemd[1]: kamailio.service: control process exited, code=exited status=255
Oct 02 16:05:57
uskazu1.com systemd[1]: Failed to start Kamailio (OpenSER) - the Open Source SIP Server.
Oct 02 16:05:57
uskazu1.com systemd[1]: Unit kamailio.service entered failed state.