[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » amd64,jessie,slave #1040

2018-02-14 Thread jenkins
See 


--
[...truncated 280.72 KB...]
CC (gcc) [M snmpstats.so]   sub_agent.o
LD (gcc) [M snmpstats.so]   snmpstats.so
make[2]: Leaving directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie/src'
make[1]: Leaving directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make every-module group_include="kcarrierroute"
make[1]: Entering directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie/src'
CC (gcc) [M carrierroute.so]parser_carrierroute.o
CC (gcc) [M carrierroute.so]cr_db.o
CC (gcc) [M carrierroute.so]cr_config.o
CC (gcc) [M carrierroute.so]config.o
CC (gcc) [M carrierroute.so]cr_func.o
CC (gcc) [M carrierroute.so]cr_fifo.o
CC (gcc) [M carrierroute.so]cr_domain.o
CC (gcc) [M carrierroute.so]cr_carrier.o
CC (gcc) [M carrierroute.so]cr_rule.o
CC (gcc) [M carrierroute.so]cr_map.o
CC (gcc) [M carrierroute.so]db_carrierroute.o
CC (gcc) [M carrierroute.so]cr_fixup.o
CC (gcc) [M carrierroute.so]carrierroute.o
CC (gcc) [M carrierroute.so]cr_data.o
CC (gcc) [M carrierroute.so]prime_hash.o
make[4]: 'libtrie.so.1.0' is up to date.
make[4]: 'libsrdb1.so.1.0' is up to date.
LD (gcc) [M carrierroute.so]carrierroute.so
make[2]: Leaving directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie/src'
make[1]: Leaving directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make every-module group_include="kxmpp"
make[1]: Entering directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie/src'
CC (gcc) [M xmpp.so]sha.o
CC (gcc) [M xmpp.so]xmpp_server.o
CC (gcc) [M xmpp.so]xmpp_api.o
CC (gcc) [M xmpp.so]xpool.o
CC (gcc) [M xmpp.so]xode.o
CC (gcc) [M xmpp.so]xode_str.o
CC (gcc) [M xmpp.so]xmpp_component.o
CC (gcc) [M xmpp.so]xmpp.o
CC (gcc) [M xmpp.so]util.o
CC (gcc) [M xmpp.so]xsnprintf.o
CC (gcc) [M xmpp.so]xstream.o
CC (gcc) [M xmpp.so]xode_from.o
CC (gcc) [M xmpp.so]network.o
LD (gcc) [M xmpp.so]xmpp.so
make[2]: Leaving directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie/src'
make[1]: Leaving directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make every-module group_include="kcpl"
make[1]: Entering directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie/src'
CC (gcc) [M cplc.so]sub_list.o
CC (gcc) [M cplc.so]cpl_parser.o
CC (gcc) [M cplc.so]cpl_run.o
CC (gcc) [M cplc.so]cpl_time.o
CC (gcc) [M cplc.so]cpl_loader.o
CC (gcc) [M cplc.so]cpl_db.o
CC (gcc) [M cplc.so]cpl_nonsig.o
CC (gcc) [M cplc.so]cpl_log.o
CC (gcc) [M cplc.so]cplc.o
CC (gcc) [M cplc.so]cpl_sig.o
make[4]: 'libsrdb1.so.1.0' is up to date.
LD (gcc) [M cplc.so]cplc.so
make[2]: Leaving directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie/src'
make[1]: Leaving directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make every-module group_include="kredis"
make[1]: Entering directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie/src'
CC (gcc) [M db_redis.so]redis_dbase.o
redis_dbase.c: In function 'db_redis_dump_reply':
redis_dbase.c:39:9: error: 'for' loop initial declarations are only allowed in 
C99 or C11 mode
 for(int i = 0; i < reply->elements; ++i) {
 ^
redis_dbase.c:39:9: note: use option -std=c99, -std=gnu99, -std=c11 or 
-std=gnu11 to compile your code
redis_dbase.c: In function 'db_redis_build_entry_manual_keys':
redis_dbase.c:238:9: error: 'for' loop initial declarations are only allowed in 
C99 or C11 mode
 for (int i = 0; i < _n; ++i) {
 ^
redis_dbase.c: In function 'db_redis_find_query_key':
redis_dbase.c:276:9: error: 'for' loop initial declarations are only allowed in 
C99 or C11 mode
 for (int i = 0; i < _n; ++i) {
 ^
redis_dbase.c: In function 

[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » amd64,wheezy,slave #1040

2018-02-14 Thread jenkins
See 


--
[...truncated 412.11 KB...]
CC (gcc) [M db2_ldap.so]ld_con.o
CC (gcc) [M db2_ldap.so]ld_fld.o
CC (gcc) [M db2_ldap.so]ld_res.o
CC (gcc) [M db2_ldap.so]ld_uri.o
make[4]: `libsrdb2.so.1.0' is up to date.
LD (gcc) [M db2_ldap.so]db2_ldap.so
CC (gcc) [M h350.so]h350_exp_fn.o
CC (gcc) [M h350.so]h350_mod.o
LD (gcc) [M h350.so]h350.so
CC (gcc) [M ldap.so]iniparser.o
CC (gcc) [M ldap.so]ld_session.o
CC (gcc) [M ldap.so]ldap_api_fn.o
CC (gcc) [M ldap.so]ldap_connect.o
CC (gcc) [M ldap.so]ldap_escape.o
CC (gcc) [M ldap.so]ldap_exp_fn.o
CC (gcc) [M ldap.so]ldap_mod.o
LD (gcc) [M ldap.so]ldap.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make every-module group_include="kxml"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
CC (gcc) [M xhttp_pi.so]http_db_handler.o
CC (gcc) [M xhttp_pi.so]xhttp_pi.o
CC (gcc) [M xhttp_pi.so]xhttp_pi_fnc.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M xhttp_pi.so]xhttp_pi.so
CC (gcc) [M xmlrpc.so]  http.o
CC (gcc) [M xmlrpc.so]  xmlrpc.o
LD (gcc) [M xmlrpc.so]  xmlrpc.so
CC (gcc) [M xmlops.so]  pv_xml.o
CC (gcc) [M xmlops.so]  xmlops_mod.o
LD (gcc) [M xmlops.so]  xmlops.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make every-module group_include="kperl"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
CC (gcc) [M app_perl.so]app_perl_mod.o
CC (gcc) [M app_perl.so]perlfunc.o
xsubpp -typemap `perl -MConfig -e 'print 
$Config{installprivlib}'`/ExtUtils/typemap -typemap typemap kamailioxs.xs > 
kamailioxs.c
CC (gcc) [M app_perl.so]kamailioxs.o
LD (gcc) [M app_perl.so]app_perl.so
CC (gcc) [M db_perlvdb.so]  db_perlvdb.o
CC (gcc) [M db_perlvdb.so]  perlvdb_conv.o
CC (gcc) [M db_perlvdb.so]  perlvdb_oohelpers.o
CC (gcc) [M db_perlvdb.so]  perlvdbfunc.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M db_perlvdb.so]  db_perlvdb.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make every-module group_include="kutils"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
CC (gcc) [M utils.so]   conf.o
CC (gcc) [M utils.so]   pidf.o
CC (gcc) [M utils.so]   utils.o
CC (gcc) [M utils.so]   xcap_auth.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M utils.so]   utils.so
CC (gcc) [M http_client.so] curl_api.o
CC (gcc) [M http_client.so] curlcon.o
CC (gcc) [M http_client.so] curlrpc.o
CC (gcc) [M http_client.so] functions.o
CC (gcc) [M http_client.so] http_client.o
LD (gcc) [M http_client.so] http_client.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make every-module group_include="klua"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
CC (gcc) [M app_lua.so] app_lua_api.o
CC (gcc) [M app_lua.so] app_lua_exp.o
CC (gcc) [M app_lua.so] app_lua_kemi_export.o
CC (gcc) [M app_lua.so] app_lua_mod.o
CC (gcc) [M app_lua.so] app_lua_sr.o
LD (gcc) [M app_lua.so] app_lua.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
make[1]: Leaving directory 

[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » amd64,trusty,slave #1040

2018-02-14 Thread jenkins
See 


--
[...truncated 281.18 KB...]
CC (gcc) [M db2_ldap.so]ld_cfg.o
CC (gcc) [M db2_ldap.so]ld_cmd.o
CC (gcc) [M db2_ldap.so]ld_con.o
CC (gcc) [M db2_ldap.so]ld_fld.o
CC (gcc) [M db2_ldap.so]ld_res.o
CC (gcc) [M db2_ldap.so]ld_uri.o
make[4]: `libsrdb2.so.1.0' is up to date.
LD (gcc) [M db2_ldap.so]db2_ldap.so
CC (gcc) [M h350.so]h350_exp_fn.o
CC (gcc) [M h350.so]h350_mod.o
LD (gcc) [M h350.so]h350.so
CC (gcc) [M ldap.so]iniparser.o
CC (gcc) [M ldap.so]ld_session.o
CC (gcc) [M ldap.so]ldap_api_fn.o
CC (gcc) [M ldap.so]ldap_connect.o
CC (gcc) [M ldap.so]ldap_escape.o
CC (gcc) [M ldap.so]ldap_exp_fn.o
CC (gcc) [M ldap.so]ldap_mod.o
LD (gcc) [M ldap.so]ldap.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make every-module group_include="kxml"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
CC (gcc) [M xhttp_pi.so]http_db_handler.o
CC (gcc) [M xhttp_pi.so]xhttp_pi.o
CC (gcc) [M xhttp_pi.so]xhttp_pi_fnc.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M xhttp_pi.so]xhttp_pi.so
CC (gcc) [M xmlrpc.so]  http.o
CC (gcc) [M xmlrpc.so]  xmlrpc.o
LD (gcc) [M xmlrpc.so]  xmlrpc.so
CC (gcc) [M xmlops.so]  pv_xml.o
CC (gcc) [M xmlops.so]  xmlops_mod.o
LD (gcc) [M xmlops.so]  xmlops.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make every-module group_include="kperl"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
CC (gcc) [M app_perl.so]app_perl_mod.o
CC (gcc) [M app_perl.so]perlfunc.o
xsubpp -typemap `perl -MConfig -e 'print 
$Config{installprivlib}'`/ExtUtils/typemap -typemap typemap kamailioxs.xs > 
kamailioxs.c
CC (gcc) [M app_perl.so]kamailioxs.o
LD (gcc) [M app_perl.so]app_perl.so
CC (gcc) [M db_perlvdb.so]  db_perlvdb.o
CC (gcc) [M db_perlvdb.so]  perlvdb_conv.o
CC (gcc) [M db_perlvdb.so]  perlvdb_oohelpers.o
CC (gcc) [M db_perlvdb.so]  perlvdbfunc.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M db_perlvdb.so]  db_perlvdb.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make every-module group_include="kutils"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
CC (gcc) [M utils.so]   conf.o
CC (gcc) [M utils.so]   pidf.o
CC (gcc) [M utils.so]   utils.o
CC (gcc) [M utils.so]   xcap_auth.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M utils.so]   utils.so
CC (gcc) [M http_client.so] curl_api.o
CC (gcc) [M http_client.so] curlcon.o
CC (gcc) [M http_client.so] curlrpc.o
CC (gcc) [M http_client.so] functions.o
CC (gcc) [M http_client.so] http_client.o
LD (gcc) [M http_client.so] http_client.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make every-module group_include="klua"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
CC (gcc) [M app_lua.so] app_lua_api.o
CC (gcc) [M app_lua.so] app_lua_exp.o
CC (gcc) [M app_lua.so] app_lua_kemi_export.o
CC (gcc) [M app_lua.so] app_lua_mod.o
CC (gcc) [M app_lua.so] app_lua_sr.o
LD (gcc) [M app_lua.so] app_lua.so
make[2]: Leaving directory 

[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » i386,jessie,slave #1040

2018-02-14 Thread jenkins
See 


--
[...truncated 291.56 KB...]
CC (gcc) [M xmpp.so]xode.o
CC (gcc) [M xmpp.so]xode_str.o
CC (gcc) [M xmpp.so]xmpp_component.o
CC (gcc) [M xmpp.so]xmpp.o
CC (gcc) [M xmpp.so]util.o
CC (gcc) [M xmpp.so]xsnprintf.o
CC (gcc) [M xmpp.so]xstream.o
CC (gcc) [M xmpp.so]xode_from.o
CC (gcc) [M xmpp.so]network.o
LD (gcc) [M xmpp.so]xmpp.so
make[2]: Leaving directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie/src'
make[1]: Leaving directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make every-module group_include="kcpl"
make[1]: Entering directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie/src'
CC (gcc) [M cplc.so]sub_list.o
CC (gcc) [M cplc.so]cpl_parser.o
CC (gcc) [M cplc.so]cpl_run.o
CC (gcc) [M cplc.so]cpl_time.o
CC (gcc) [M cplc.so]cpl_loader.o
CC (gcc) [M cplc.so]cpl_db.o
CC (gcc) [M cplc.so]cpl_nonsig.o
CC (gcc) [M cplc.so]cpl_log.o
CC (gcc) [M cplc.so]cplc.o
CC (gcc) [M cplc.so]cpl_sig.o
make[4]: 'libsrdb1.so.1.0' is up to date.
LD (gcc) [M cplc.so]cplc.so
make[2]: Leaving directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie/src'
make[1]: Leaving directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make every-module group_include="kredis"
make[1]: Entering directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie/src'
CC (gcc) [M db_redis.so]redis_dbase.o
redis_dbase.c: In function 'db_redis_dump_reply':
redis_dbase.c:38:9: warning: format '%lu' expects argument of type 'long 
unsigned int', but argument 10 has type 'size_t' [-Wformat=]
 LM_DBG("printing %lu elements in array reply\n", reply->elements);
 ^
redis_dbase.c:38:9: warning: format '%lu' expects argument of type 'long 
unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c:39:9: error: 'for' loop initial declarations are only allowed in 
C99 or C11 mode
 for(int i = 0; i < reply->elements; ++i) {
 ^
redis_dbase.c:39:9: note: use option -std=c99, -std=gnu99, -std=c11 or 
-std=gnu11 to compile your code
redis_dbase.c: In function 'db_redis_build_entry_manual_keys':
redis_dbase.c:238:9: error: 'for' loop initial declarations are only allowed in 
C99 or C11 mode
 for (int i = 0; i < _n; ++i) {
 ^
redis_dbase.c: In function 'db_redis_find_query_key':
redis_dbase.c:276:9: error: 'for' loop initial declarations are only allowed in 
C99 or C11 mode
 for (int i = 0; i < _n; ++i) {
 ^
redis_dbase.c: In function 'db_redis_build_query_keys':
redis_dbase.c:563:25: error: 'for' loop initial declarations are only allowed 
in C99 or C11 mode
 for (int i = 0; i < reply->elements; ++i) {
 ^
redis_dbase.c: In function 'db_redis_scan_query_keys':
redis_dbase.c:670:13: warning: format '%lu' expects argument of type 'long 
unsigned int', but argument 12 has type 'size_t' [-Wformat=]
 LM_ERR("Invalid number of reply elements for scan on table '%.*s', 
expected 2, got %lu\n",
 ^
redis_dbase.c:670:13: warning: format '%lu' expects argument of type 'long 
unsigned int', but argument 10 has type 'size_t' [-Wformat=]
redis_dbase.c:699:9: error: 'for' loop initial declarations are only allowed in 
C99 or C11 mode
 for (size_t j = 0; j < reply->element[1]->elements; ++i, ++j) {
 ^
redis_dbase.c:702:17: warning: format '%lu' expects argument of type 'long 
unsigned int', but argument 10 has type 'size_t' [-Wformat=]
 LM_ERR("Invalid null key at cursor result index %lu while 
scanning table '%.*s'\n",
 ^
redis_dbase.c:702:17: warning: format '%lu' expects argument of type 'long 
unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c:707:17: warning: format '%lu' expects argument of type 'long 
unsigned int', but argument 10 has type 'size_t' [-Wformat=]
 LM_ERR("Invalid key type at cursor result index %lu while 
scanning table '%.*s', expected string\n",
 ^
redis_dbase.c:707:17: warning: format '%lu' expects argument of type 'long 
unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c:727:14: error: conflicting types for 'i'
 for (int i = 0; i < _n; ++i) {
  ^

[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » i386,precise,slave #1040

2018-02-14 Thread jenkins
See 


--
[...truncated 267.33 KB...]
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
CC (gcc) [M db2_ldap.so]db2_ldap_mod.o
CC (gcc) [M db2_ldap.so]ld_cfg.o
CC (gcc) [M db2_ldap.so]ld_cmd.o
CC (gcc) [M db2_ldap.so]ld_con.o
CC (gcc) [M db2_ldap.so]ld_fld.o
CC (gcc) [M db2_ldap.so]ld_res.o
CC (gcc) [M db2_ldap.so]ld_uri.o
make[4]: `libsrdb2.so.1.0' is up to date.
LD (gcc) [M db2_ldap.so]db2_ldap.so
CC (gcc) [M h350.so]h350_exp_fn.o
CC (gcc) [M h350.so]h350_mod.o
LD (gcc) [M h350.so]h350.so
CC (gcc) [M ldap.so]iniparser.o
CC (gcc) [M ldap.so]ld_session.o
CC (gcc) [M ldap.so]ldap_api_fn.o
CC (gcc) [M ldap.so]ldap_connect.o
CC (gcc) [M ldap.so]ldap_escape.o
CC (gcc) [M ldap.so]ldap_exp_fn.o
CC (gcc) [M ldap.so]ldap_mod.o
LD (gcc) [M ldap.so]ldap.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make every-module group_include="kxml"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
CC (gcc) [M xhttp_pi.so]http_db_handler.o
CC (gcc) [M xhttp_pi.so]xhttp_pi.o
CC (gcc) [M xhttp_pi.so]xhttp_pi_fnc.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M xhttp_pi.so]xhttp_pi.so
CC (gcc) [M xmlrpc.so]  http.o
CC (gcc) [M xmlrpc.so]  xmlrpc.o
LD (gcc) [M xmlrpc.so]  xmlrpc.so
CC (gcc) [M xmlops.so]  pv_xml.o
CC (gcc) [M xmlops.so]  xmlops_mod.o
LD (gcc) [M xmlops.so]  xmlops.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make every-module group_include="kperl"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
CC (gcc) [M app_perl.so]app_perl_mod.o
CC (gcc) [M app_perl.so]perlfunc.o
xsubpp -typemap `perl -MConfig -e 'print 
$Config{installprivlib}'`/ExtUtils/typemap -typemap typemap kamailioxs.xs > 
kamailioxs.c
CC (gcc) [M app_perl.so]kamailioxs.o
LD (gcc) [M app_perl.so]app_perl.so
CC (gcc) [M db_perlvdb.so]  db_perlvdb.o
CC (gcc) [M db_perlvdb.so]  perlvdb_conv.o
CC (gcc) [M db_perlvdb.so]  perlvdb_oohelpers.o
CC (gcc) [M db_perlvdb.so]  perlvdbfunc.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M db_perlvdb.so]  db_perlvdb.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make every-module group_include="kutils"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
CC (gcc) [M utils.so]   conf.o
CC (gcc) [M utils.so]   pidf.o
CC (gcc) [M utils.so]   utils.o
CC (gcc) [M utils.so]   xcap_auth.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M utils.so]   utils.so
CC (gcc) [M http_client.so] curl_api.o
CC (gcc) [M http_client.so] curlcon.o
CC (gcc) [M http_client.so] curlrpc.o
CC (gcc) [M http_client.so] functions.o
CC (gcc) [M http_client.so] http_client.o
LD (gcc) [M http_client.so] http_client.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make every-module group_include="klua"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
CC (gcc) [M app_lua.so] app_lua_api.o
CC (gcc) [M app_lua.so] app_lua_exp.o
CC (gcc) [M app_lua.so] app_lua_kemi_export.o
CC (gcc) [M app_lua.so] 

[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » i386,trusty,slave #1040

2018-02-14 Thread jenkins
See 


--
[...truncated 290.43 KB...]
CC (gcc) [M db2_ldap.so]ld_cfg.o
CC (gcc) [M db2_ldap.so]ld_cmd.o
CC (gcc) [M db2_ldap.so]ld_con.o
CC (gcc) [M db2_ldap.so]ld_fld.o
CC (gcc) [M db2_ldap.so]ld_res.o
CC (gcc) [M db2_ldap.so]ld_uri.o
make[4]: `libsrdb2.so.1.0' is up to date.
LD (gcc) [M db2_ldap.so]db2_ldap.so
CC (gcc) [M h350.so]h350_exp_fn.o
CC (gcc) [M h350.so]h350_mod.o
LD (gcc) [M h350.so]h350.so
CC (gcc) [M ldap.so]iniparser.o
CC (gcc) [M ldap.so]ld_session.o
CC (gcc) [M ldap.so]ldap_api_fn.o
CC (gcc) [M ldap.so]ldap_connect.o
CC (gcc) [M ldap.so]ldap_escape.o
CC (gcc) [M ldap.so]ldap_exp_fn.o
CC (gcc) [M ldap.so]ldap_mod.o
LD (gcc) [M ldap.so]ldap.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make every-module group_include="kxml"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
CC (gcc) [M xhttp_pi.so]http_db_handler.o
CC (gcc) [M xhttp_pi.so]xhttp_pi.o
CC (gcc) [M xhttp_pi.so]xhttp_pi_fnc.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M xhttp_pi.so]xhttp_pi.so
CC (gcc) [M xmlrpc.so]  http.o
CC (gcc) [M xmlrpc.so]  xmlrpc.o
LD (gcc) [M xmlrpc.so]  xmlrpc.so
CC (gcc) [M xmlops.so]  pv_xml.o
CC (gcc) [M xmlops.so]  xmlops_mod.o
LD (gcc) [M xmlops.so]  xmlops.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make every-module group_include="kperl"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
CC (gcc) [M app_perl.so]app_perl_mod.o
CC (gcc) [M app_perl.so]perlfunc.o
xsubpp -typemap `perl -MConfig -e 'print 
$Config{installprivlib}'`/ExtUtils/typemap -typemap typemap kamailioxs.xs > 
kamailioxs.c
CC (gcc) [M app_perl.so]kamailioxs.o
LD (gcc) [M app_perl.so]app_perl.so
CC (gcc) [M db_perlvdb.so]  db_perlvdb.o
CC (gcc) [M db_perlvdb.so]  perlvdb_conv.o
CC (gcc) [M db_perlvdb.so]  perlvdb_oohelpers.o
CC (gcc) [M db_perlvdb.so]  perlvdbfunc.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M db_perlvdb.so]  db_perlvdb.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make every-module group_include="kutils"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
CC (gcc) [M utils.so]   conf.o
CC (gcc) [M utils.so]   pidf.o
CC (gcc) [M utils.so]   utils.o
CC (gcc) [M utils.so]   xcap_auth.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M utils.so]   utils.so
CC (gcc) [M http_client.so] curl_api.o
CC (gcc) [M http_client.so] curlcon.o
CC (gcc) [M http_client.so] curlrpc.o
CC (gcc) [M http_client.so] functions.o
CC (gcc) [M http_client.so] http_client.o
LD (gcc) [M http_client.so] http_client.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make every-module group_include="klua"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010633.1045+trusty/src'
CC (gcc) [M app_lua.so] app_lua_api.o
CC (gcc) [M app_lua.so] app_lua_exp.o
CC (gcc) [M app_lua.so] app_lua_kemi_export.o
CC (gcc) [M app_lua.so] app_lua_mod.o
CC (gcc) [M app_lua.so] app_lua_sr.o
LD (gcc) [M app_lua.so] app_lua.so
make[2]: Leaving directory 

[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » amd64,precise,slave #1040

2018-02-14 Thread jenkins
See 


--
[...truncated 269.94 KB...]
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
CC (gcc) [M db2_ldap.so]db2_ldap_mod.o
CC (gcc) [M db2_ldap.so]ld_cfg.o
CC (gcc) [M db2_ldap.so]ld_cmd.o
CC (gcc) [M db2_ldap.so]ld_con.o
CC (gcc) [M db2_ldap.so]ld_fld.o
CC (gcc) [M db2_ldap.so]ld_res.o
CC (gcc) [M db2_ldap.so]ld_uri.o
make[4]: `libsrdb2.so.1.0' is up to date.
LD (gcc) [M db2_ldap.so]db2_ldap.so
CC (gcc) [M h350.so]h350_exp_fn.o
CC (gcc) [M h350.so]h350_mod.o
LD (gcc) [M h350.so]h350.so
CC (gcc) [M ldap.so]iniparser.o
CC (gcc) [M ldap.so]ld_session.o
CC (gcc) [M ldap.so]ldap_api_fn.o
CC (gcc) [M ldap.so]ldap_connect.o
CC (gcc) [M ldap.so]ldap_escape.o
CC (gcc) [M ldap.so]ldap_exp_fn.o
CC (gcc) [M ldap.so]ldap_mod.o
LD (gcc) [M ldap.so]ldap.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make every-module group_include="kxml"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
CC (gcc) [M xhttp_pi.so]http_db_handler.o
CC (gcc) [M xhttp_pi.so]xhttp_pi.o
CC (gcc) [M xhttp_pi.so]xhttp_pi_fnc.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M xhttp_pi.so]xhttp_pi.so
CC (gcc) [M xmlrpc.so]  http.o
CC (gcc) [M xmlrpc.so]  xmlrpc.o
LD (gcc) [M xmlrpc.so]  xmlrpc.so
CC (gcc) [M xmlops.so]  pv_xml.o
CC (gcc) [M xmlops.so]  xmlops_mod.o
LD (gcc) [M xmlops.so]  xmlops.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make every-module group_include="kperl"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
CC (gcc) [M app_perl.so]app_perl_mod.o
CC (gcc) [M app_perl.so]perlfunc.o
xsubpp -typemap `perl -MConfig -e 'print 
$Config{installprivlib}'`/ExtUtils/typemap -typemap typemap kamailioxs.xs > 
kamailioxs.c
CC (gcc) [M app_perl.so]kamailioxs.o
LD (gcc) [M app_perl.so]app_perl.so
CC (gcc) [M db_perlvdb.so]  db_perlvdb.o
CC (gcc) [M db_perlvdb.so]  perlvdb_conv.o
CC (gcc) [M db_perlvdb.so]  perlvdb_oohelpers.o
CC (gcc) [M db_perlvdb.so]  perlvdbfunc.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M db_perlvdb.so]  db_perlvdb.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make every-module group_include="kutils"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
CC (gcc) [M utils.so]   conf.o
CC (gcc) [M utils.so]   pidf.o
CC (gcc) [M utils.so]   utils.o
CC (gcc) [M utils.so]   xcap_auth.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M utils.so]   utils.so
CC (gcc) [M http_client.so] curl_api.o
CC (gcc) [M http_client.so] curlcon.o
CC (gcc) [M http_client.so] curlrpc.o
CC (gcc) [M http_client.so] functions.o
CC (gcc) [M http_client.so] http_client.o
LD (gcc) [M http_client.so] http_client.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make every-module group_include="klua"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010143.1045+precise/src'
CC (gcc) [M app_lua.so] app_lua_api.o
CC (gcc) [M app_lua.so] app_lua_exp.o
CC (gcc) [M app_lua.so] app_lua_kemi_export.o
CC (gcc) [M app_lua.so] 

[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » i386,wheezy,slave #1040

2018-02-14 Thread jenkins
See 


--
[...truncated 419.34 KB...]
CC (gcc) [M db2_ldap.so]ld_con.o
CC (gcc) [M db2_ldap.so]ld_fld.o
CC (gcc) [M db2_ldap.so]ld_res.o
CC (gcc) [M db2_ldap.so]ld_uri.o
make[4]: `libsrdb2.so.1.0' is up to date.
LD (gcc) [M db2_ldap.so]db2_ldap.so
CC (gcc) [M h350.so]h350_exp_fn.o
CC (gcc) [M h350.so]h350_mod.o
LD (gcc) [M h350.so]h350.so
CC (gcc) [M ldap.so]iniparser.o
CC (gcc) [M ldap.so]ld_session.o
CC (gcc) [M ldap.so]ldap_api_fn.o
CC (gcc) [M ldap.so]ldap_connect.o
CC (gcc) [M ldap.so]ldap_escape.o
CC (gcc) [M ldap.so]ldap_exp_fn.o
CC (gcc) [M ldap.so]ldap_mod.o
LD (gcc) [M ldap.so]ldap.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make every-module group_include="kxml"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
CC (gcc) [M xhttp_pi.so]http_db_handler.o
CC (gcc) [M xhttp_pi.so]xhttp_pi.o
CC (gcc) [M xhttp_pi.so]xhttp_pi_fnc.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M xhttp_pi.so]xhttp_pi.so
CC (gcc) [M xmlrpc.so]  http.o
CC (gcc) [M xmlrpc.so]  xmlrpc.o
LD (gcc) [M xmlrpc.so]  xmlrpc.so
CC (gcc) [M xmlops.so]  pv_xml.o
CC (gcc) [M xmlops.so]  xmlops_mod.o
LD (gcc) [M xmlops.so]  xmlops.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make every-module group_include="kperl"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
CC (gcc) [M app_perl.so]app_perl_mod.o
CC (gcc) [M app_perl.so]perlfunc.o
xsubpp -typemap `perl -MConfig -e 'print 
$Config{installprivlib}'`/ExtUtils/typemap -typemap typemap kamailioxs.xs > 
kamailioxs.c
CC (gcc) [M app_perl.so]kamailioxs.o
LD (gcc) [M app_perl.so]app_perl.so
CC (gcc) [M db_perlvdb.so]  db_perlvdb.o
CC (gcc) [M db_perlvdb.so]  perlvdb_conv.o
CC (gcc) [M db_perlvdb.so]  perlvdb_oohelpers.o
CC (gcc) [M db_perlvdb.so]  perlvdbfunc.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M db_perlvdb.so]  db_perlvdb.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make every-module group_include="kutils"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
CC (gcc) [M utils.so]   conf.o
CC (gcc) [M utils.so]   pidf.o
CC (gcc) [M utils.so]   utils.o
CC (gcc) [M utils.so]   xcap_auth.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M utils.so]   utils.so
CC (gcc) [M http_client.so] curl_api.o
CC (gcc) [M http_client.so] curlcon.o
CC (gcc) [M http_client.so] curlrpc.o
CC (gcc) [M http_client.so] functions.o
CC (gcc) [M http_client.so] http_client.o
LD (gcc) [M http_client.so] http_client.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make every-module group_include="klua"
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
CC (gcc) [M app_lua.so] app_lua_api.o
CC (gcc) [M app_lua.so] app_lua_exp.o
CC (gcc) [M app_lua.so] app_lua_kemi_export.o
CC (gcc) [M app_lua.so] app_lua_mod.o
CC (gcc) [M app_lua.so] app_lua_sr.o
LD (gcc) [M app_lua.so] app_lua.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.2.0~dev3+0~20180215010855.1045+wheezy/src'
make[1]: Leaving directory 

Re: [sr-dev] [kamailio/kamailio] acc: new json format with outputs to mqueue or syslog (#1437)

2018-02-14 Thread Julien Chavanton
https://github.com/kamailio/kamailio/pull/1440

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1437#issuecomment-365724100___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] acc_json: adding module (#1440)

2018-02-14 Thread Julien Chavanton









 Pre-Submission Checklist



- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, 
...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook 
files
in `doc/` subfolder, the README file is autogenerated)

 Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

 Checklist:

- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue # (replace  with an open issue number)

 Description
See comments in this PR, https://github.com/kamailio/kamailio/pull/1437
new features are now implemented in the module `acc_json`

 Load tested
```
Total 100 INVITE calls sent in 2294479 ms at rate of 435/sec
Total 100 responses received in 2295273 ms at rate of 435/sec:

Detailed responses received:
 - 200 responses:  100 (OK)
--
 TOTAL responses:  100 (rate=435/sec)
```
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1440

-- Commit Summary --

  * acc_json: adding module

-- File Changes --

M src/Makefile.groups (2)
A src/modules/acc_json/Makefile (29)
A src/modules/acc_json/acc_json_mod.c (279)
A src/modules/acc_json/acc_json_mod.h (42)
A src/modules/acc_json/doc/Makefile (4)
A src/modules/acc_json/doc/acc_json.xml (42)
A src/modules/acc_json/doc/acc_json_admin.xml (299)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1440.patch
https://github.com/kamailio/kamailio/pull/1440.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1440
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Issue with Socket selection on Forwarding ACK message (#1428)

2018-02-14 Thread Emmanuel BUU
If I inspect the packet I see a single route without transport information. And 
yet the correct source port is selected ! Can you tell us how kamailio  guess 
the source port to use in that case.



These traces demonstrate that in the loose_route() function, send_socket is NOT 
forced. And yet this is working. Can you tell me HOW kamailio knows that 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1428#issuecomment-365665157___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Issue with Socket selection on Forwarding ACK message (#1428)

2018-02-14 Thread Emmanuel BUU
Ok, I tested and it is working but I would kindly need an explanation

1- the setup : 
- kamailio 5.1 with three listen (on port 5060, 5063, 5066)
- 2 UAs using UDP on port 5063
- added a log in the script


```
route[WITHINDLG] {
if (!has_totag()) return;

# sequential request withing a dialog should
# take the path determined by record-routing
if (loose_route()) {
route(DLGURI);
if (is_method("BYE")) {
setflag(FLT_ACC); # do accounting ...
setflag(FLT_ACCFAILED); # ... even if the transaction 
fails
} else if ( is_method("ACK") ) {
# ACK is forwarded statelessly
xlog("forced socket $fs\n");
route(NATMANAGE);
} else if ( is_method("NOTIFY") ) {
# Add Record-Route for in-dialog NOTIFY as per RFC 6665.
record_route();
}
route(RELAY);

```

2- parameter for rr module

```
modparam("rr", "enable_full_lr", 0)
modparam("rr", "enable_double_rr", 1)

```

3- result - on K master, ACK gets forwarded  **properly** using source port 
5036 with the following traces

```
Feb 14 17:13:50 mcudev3 /usr/local/sbin/kamailio[21394]: {1 5765 ACK 
ffb8d7ca-efae-79ef-6035-dd1043352c55} DEBUG: rr [loose.c:812]: after_loose(): 
Topmost route URI: 'sip:172.21.100.108:5063;lr' is me

Feb 14 17:13:50 mcudev3 /usr/local/sbin/kamailio[21394]: {1 5765 ACK 
ffb8d7ca-efae-79ef-6035-dd1043352c55} DEBUG:  
[core/parser/msg_parser.c:89]: get_hdr_field(): found end of header

Feb 14 17:13:50 mcudev3 /usr/local/sbin/kamailio[21394]: {1 5765 ACK 
ffb8d7ca-efae-79ef-6035-dd1043352c55} DEBUG: rr [loose.c:181]: 
find_next_route(): No next Route HF found
Feb 14 17:13:50 mcudev3 /usr/local/sbin/kamailio[21394]: {1 5765 ACK 
ffb8d7ca-efae-79ef-6035-dd1043352c55} DEBUG: rr [loose.c:842]: after_loose(): 
No next URI found
Feb 14 17:13:50 mcudev3 /usr/local/sbin/kamailio[21394]: {1 5765 ACK 
ffb8d7ca-efae-79ef-6035-dd1043352c55} ERROR: 

[sr-dev] git:master:e727ddce: db_redis: Install redis schema along with module

2018-02-14 Thread Andreas Granig
Module: kamailio
Branch: master
Commit: e727ddcef5113c5235d8d2dde9da86a8c2d2b4bb
URL: 
https://github.com/kamailio/kamailio/commit/e727ddcef5113c5235d8d2dde9da86a8c2d2b4bb

Author: Andreas Granig 
Committer: Andreas Granig 
Date: 2018-02-14T15:38:03+01:00

db_redis: Install redis schema along with module

---

Modified: src/modules/db_redis/Makefile
Modified: utils/kamctl/Makefile

---

Diff:  
https://github.com/kamailio/kamailio/commit/e727ddcef5113c5235d8d2dde9da86a8c2d2b4bb.diff
Patch: 
https://github.com/kamailio/kamailio/commit/e727ddcef5113c5235d8d2dde9da86a8c2d2b4bb.patch

---

diff --git a/src/modules/db_redis/Makefile b/src/modules/db_redis/Makefile
index 58ecd04d36..c4aa0d0731 100644
--- a/src/modules/db_redis/Makefile
+++ b/src/modules/db_redis/Makefile
@@ -35,3 +35,8 @@ SERLIBPATH=../../lib
 SER_LIBS=$(SERLIBPATH)/srdb2/srdb2 $(SERLIBPATH)/srdb1/srdb1
 
 include ../../Makefile.modules
+
+install-redis-scripts: $(bin_prefix)/$(bin_dir)
+   REDISON=yes $(MAKE) -C ../../../utils/kamctl/ install-modules
+
+install-scripts: install-redis-scripts
diff --git a/utils/kamctl/Makefile b/utils/kamctl/Makefile
index 3804d70dc7..9736cf2895 100644
--- a/utils/kamctl/Makefile
+++ b/utils/kamctl/Makefile
@@ -264,7 +264,18 @@ install-modules: $(bin_prefix)/$(bin_dir)
fi ;\
done ; \
fi
-
+   # install Redis stuff
+   if [ "$(REDISON)" = "yes" ]; then \
+   mkdir -p $(data_prefix)/$(data_dir)/db_redis/kamailio ; 
\
+   for FILE in $(wildcard db_redis/kamailio/*) ; do \
+   if [ -f $$FILE ] ; then \
+   $(INSTALL_TOUCH) $$FILE \
+   
$(data_prefix)/$(data_dir)/db_redis/kamailio/`basename "$$FILE"` ; \
+   $(INSTALL_CFG) $$FILE \
+   
$(data_prefix)/$(data_dir)/db_redis/kamailio/`basename "$$FILE"` ; \
+   fi ;\
+   done ; \
+   fi
 
 $(cfg_prefix)/$(cfg_dir):
mkdir -p $(cfg_prefix)/$(cfg_dir)


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] db_redis: Implement db_redis generic db driver (#1432)

2018-02-14 Thread Daniel-Constantin Mierla
A quick note that I updated the path for including hiredis.h:

```
diff --git a/src/modules/db_redis/redis_connection.h 
b/src/modules/db_redis/redis_connection.h
index d6ed4e4ec3..35d58e46a4 100644
--- a/src/modules/db_redis/redis_connection.h
+++ b/src/modules/db_redis/redis_connection.h
@@ -23,7 +23,7 @@
 #ifndef _REDIS_CONNECTION_H_
 #define _REDIS_CONNECTION_H_
 
-#include 
+#include 
 
 #include "db_redis_mod.h"
```

On Debian 9 is where the file is located based on pkg-config output, it doesn't 
compile otherwise (same on MacOS with macports).

I looked in ndb_redis module and has the same path. If you have it in your 
system working without ``, then we need to do some defines 
to set the proper path so it works on common distros.

Thanks again for this contribution!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1432#issuecomment-365562086___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:0da66e70: db_redis: update to hiredis.h include path and deal with broken pkg-config spec

2018-02-14 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 0da66e70bfc390e310f05da0d7ed9a7d1eb7c599
URL: 
https://github.com/kamailio/kamailio/commit/0da66e70bfc390e310f05da0d7ed9a7d1eb7c599

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2018-02-14T11:25:30+01:00

db_redis: update to hiredis.h include path and deal with broken pkg-config spec

- fix for broken output of pkg-config for hiredis
- same for ndb_redis from 4a40dd39cec713c569dc3480c905d808026aad39

---

Modified: src/modules/db_redis/Makefile
Modified: src/modules/db_redis/redis_connection.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/0da66e70bfc390e310f05da0d7ed9a7d1eb7c599.diff
Patch: 
https://github.com/kamailio/kamailio/commit/0da66e70bfc390e310f05da0d7ed9a7d1eb7c599.patch

---

diff --git a/src/modules/db_redis/Makefile b/src/modules/db_redis/Makefile
index 2aec964196..58ecd04d36 100644
--- a/src/modules/db_redis/Makefile
+++ b/src/modules/db_redis/Makefile
@@ -18,6 +18,12 @@ ifeq ($(HIREDIS_BUILDER),)
 else
HIREDISDEFS = $(shell $(HIREDIS_BUILDER) --cflags)
HIREDISLIBS = $(shell $(HIREDIS_BUILDER) --libs)
+
+ifeq ($(HIREDISLIBS),-L -lhiredis)
+   HIREDISDEFS = $(shell $(HIREDIS_BUILDER) --cflags) 
/opt/local/include
+   HIREDISLIBS = -L/opt/local/lib -lhiredis
+endif
+
 endif
 
 DEFS+=$(HIREDISDEFS)
diff --git a/src/modules/db_redis/redis_connection.h 
b/src/modules/db_redis/redis_connection.h
index d6ed4e4ec3..35d58e46a4 100644
--- a/src/modules/db_redis/redis_connection.h
+++ b/src/modules/db_redis/redis_connection.h
@@ -23,7 +23,7 @@
 #ifndef _REDIS_CONNECTION_H_
 #define _REDIS_CONNECTION_H_
 
-#include 
+#include 
 
 #include "db_redis_mod.h"
 


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:65fab0d0: core: atomic - updated email addres in warning message

2018-02-14 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 65fab0d02271c242d6e43e499198ee1da2275a4b
URL: 
https://github.com/kamailio/kamailio/commit/65fab0d02271c242d6e43e499198ee1da2275a4b

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2018-02-14T11:23:55+01:00

core: atomic - updated email addres in warning message

---

Modified: src/core/atomic/atomic_alpha.h
Modified: src/core/atomic/atomic_mips2.h
Modified: src/core/atomic/atomic_ppc.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/65fab0d02271c242d6e43e499198ee1da2275a4b.diff
Patch: 
https://github.com/kamailio/kamailio/commit/65fab0d02271c242d6e43e499198ee1da2275a4b.patch

---

diff --git a/src/core/atomic/atomic_alpha.h b/src/core/atomic/atomic_alpha.h
index 3eecb91381..56ee8cde73 100644
--- a/src/core/atomic/atomic_alpha.h
+++ b/src/core/atomic/atomic_alpha.h
@@ -36,7 +36,7 @@
 #define HAVE_ASM_INLINE_MEMBAR
 
 #warning alpha atomic code was not tested, please report problems to \
-   ser...@iptel.org or and...@iptel.org
+   sr-dev@lists.kamailio.org
 
 #ifdef NOSMP
 #define membar() asm volatile ("" : : : "memory") /* gcc do not cache barrier*/
diff --git a/src/core/atomic/atomic_mips2.h b/src/core/atomic/atomic_mips2.h
index 7d19b4ad87..9c6a1e5643 100644
--- a/src/core/atomic/atomic_mips2.h
+++ b/src/core/atomic/atomic_mips2.h
@@ -39,7 +39,7 @@
 
 #ifdef __CPU_mips64
 #warning mips64 atomic code was not tested, please report problems to \
-   ser...@iptel.org or and...@iptel.org
+   sr-dev@lists.kamailio.org
 #endif
 
 #ifdef NOSMP
diff --git a/src/core/atomic/atomic_ppc.h b/src/core/atomic/atomic_ppc.h
index bb8c43a121..2eefa79b26 100644
--- a/src/core/atomic/atomic_ppc.h
+++ b/src/core/atomic/atomic_ppc.h
@@ -38,7 +38,7 @@
 
 #ifdef __CPU_ppc64
 #warning powerpc64 atomic code was not tested, please report problems to \
-   ser...@iptel.org or and...@iptel.org
+   sr-dev@lists.kamailio.org
 #endif
 
 


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:52a8def8: utils: kamdbctl - updated help message for migrate command

2018-02-14 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 52a8def8d2a3e83170ab554a85b26d977d99f51a
URL: 
https://github.com/kamailio/kamailio/commit/52a8def8d2a3e83170ab554a85b26d977d99f51a

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2018-02-14T11:24:37+01:00

utils: kamdbctl - updated help message for migrate command

---

Modified: utils/kamctl/kamdbctl.base

---

Diff:  
https://github.com/kamailio/kamailio/commit/52a8def8d2a3e83170ab554a85b26d977d99f51a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/52a8def8d2a3e83170ab554a85b26d977d99f51a.patch

---

diff --git a/utils/kamctl/kamdbctl.base b/utils/kamctl/kamdbctl.base
index 2abde29d26..13af37e7c6 100644
--- a/utils/kamctl/kamdbctl.base
+++ b/utils/kamctl/kamdbctl.base
@@ -97,7 +97,7 @@ usage: $COMMAND create  
...(creates a new database
$COMMAND backup  ...(dumps current 
database to file)
$COMMAND restore  ..(restores tables from 
a file)
$COMMAND copy  ...(creates a new db 
from an existing one)
-   $COMMAND migrate   ...(migrates DB from 1.2 
to 1.3, not implemented yet!)
+   $COMMAND migrate   ...(migrates DB - no 
longer maintained!)
$COMMAND presence (adds the presence 
related tables)
$COMMAND extra ...(adds the extra 
tables)
$COMMAND dbuid ...(adds the uid tables)


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] The phonenum module README is missing from 5.1 web docs (#1438)

2018-02-14 Thread Daniel-Constantin Mierla
Thanks for spotting it, fixed:
 
  * https://kamailio.org/docs/modules/5.1.x/#P

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1438#issuecomment-365556715___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] The phonenum module README is missing from 5.1 web docs (#1438)

2018-02-14 Thread Olle E. Johansson
https://kamailio.org/docs/modules/5.1.x/

Can't find the phonenum module there.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1438___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] db_redis: Implement db_redis generic db driver (#1432)

2018-02-14 Thread Andreas Granig
Merged #1432.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1432#event-1473375435___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:56ad1423: db_redis: Use schema files and improve keys def

2018-02-14 Thread Andreas Granig
Module: kamailio
Branch: master
Commit: 56ad14236c02af1c82e3bdbcf1f85bb6f0efd728
URL: 
https://github.com/kamailio/kamailio/commit/56ad14236c02af1c82e3bdbcf1f85bb6f0efd728

Author: Andreas Granig 
Committer: Andreas Granig 
Date: 2018-02-13T16:37:42+01:00

db_redis: Use schema files and improve keys def

* Auto-generate schema files for redis from xml specs and use
  them in module instead of having to define them as mod params.
* Allow key definition line by line with multiple "keys" mod params.
* Fetch table versions from schema to avoid having to populate them
  in Redis.
* Fix reconnection issues on connection drops when Redis takes longer
  to start.
* Fix documentation formatting issues.

---

Added: doc/stylesheets/dbschema_k/xsl/db_redis.xsl
Added: utils/kamctl/db_redis/kamailio/acc
Added: utils/kamctl/db_redis/kamailio/acc_cdrs
Added: utils/kamctl/db_redis/kamailio/active_watchers
Added: utils/kamctl/db_redis/kamailio/address
Added: utils/kamctl/db_redis/kamailio/aliases
Added: utils/kamctl/db_redis/kamailio/carrier_name
Added: utils/kamctl/db_redis/kamailio/carrierfailureroute
Added: utils/kamctl/db_redis/kamailio/carrierroute
Added: utils/kamctl/db_redis/kamailio/cpl
Added: utils/kamctl/db_redis/kamailio/dbaliases
Added: utils/kamctl/db_redis/kamailio/dialog
Added: utils/kamctl/db_redis/kamailio/dialog_vars
Added: utils/kamctl/db_redis/kamailio/dialplan
Added: utils/kamctl/db_redis/kamailio/dispatcher
Added: utils/kamctl/db_redis/kamailio/domain
Added: utils/kamctl/db_redis/kamailio/domain_attrs
Added: utils/kamctl/db_redis/kamailio/domain_name
Added: utils/kamctl/db_redis/kamailio/domainpolicy
Added: utils/kamctl/db_redis/kamailio/dr_gateways
Added: utils/kamctl/db_redis/kamailio/dr_groups
Added: utils/kamctl/db_redis/kamailio/dr_gw_lists
Added: utils/kamctl/db_redis/kamailio/dr_rules
Added: utils/kamctl/db_redis/kamailio/globalblacklist
Added: utils/kamctl/db_redis/kamailio/grp
Added: utils/kamctl/db_redis/kamailio/htable
Added: utils/kamctl/db_redis/kamailio/imc_members
Added: utils/kamctl/db_redis/kamailio/imc_rooms
Added: utils/kamctl/db_redis/kamailio/lcr_gw
Added: utils/kamctl/db_redis/kamailio/lcr_rule
Added: utils/kamctl/db_redis/kamailio/lcr_rule_target
Added: utils/kamctl/db_redis/kamailio/location
Added: utils/kamctl/db_redis/kamailio/location_attrs
Added: utils/kamctl/db_redis/kamailio/matrix
Added: utils/kamctl/db_redis/kamailio/missed_calls
Added: utils/kamctl/db_redis/kamailio/mohqcalls
Added: utils/kamctl/db_redis/kamailio/mohqueues
Added: utils/kamctl/db_redis/kamailio/mtree
Added: utils/kamctl/db_redis/kamailio/mtrees
Added: utils/kamctl/db_redis/kamailio/pdt
Added: utils/kamctl/db_redis/kamailio/pl_pipes
Added: utils/kamctl/db_redis/kamailio/presentity
Added: utils/kamctl/db_redis/kamailio/pua
Added: utils/kamctl/db_redis/kamailio/purplemap
Added: utils/kamctl/db_redis/kamailio/re_grp
Added: utils/kamctl/db_redis/kamailio/rls_presentity
Added: utils/kamctl/db_redis/kamailio/rls_watchers
Added: utils/kamctl/db_redis/kamailio/rtpengine
Added: utils/kamctl/db_redis/kamailio/rtpproxy
Added: utils/kamctl/db_redis/kamailio/sca_subscriptions
Added: utils/kamctl/db_redis/kamailio/silo
Added: utils/kamctl/db_redis/kamailio/sip_trace
Added: utils/kamctl/db_redis/kamailio/speed_dial
Added: utils/kamctl/db_redis/kamailio/subscriber
Added: utils/kamctl/db_redis/kamailio/topos_d
Added: utils/kamctl/db_redis/kamailio/topos_t
Added: utils/kamctl/db_redis/kamailio/trusted
Added: utils/kamctl/db_redis/kamailio/uacreg
Added: utils/kamctl/db_redis/kamailio/uid_credentials
Added: utils/kamctl/db_redis/kamailio/uid_domain
Added: utils/kamctl/db_redis/kamailio/uid_domain_attrs
Added: utils/kamctl/db_redis/kamailio/uid_global_attrs
Added: utils/kamctl/db_redis/kamailio/uid_uri
Added: utils/kamctl/db_redis/kamailio/uid_uri_attrs
Added: utils/kamctl/db_redis/kamailio/uid_user_attrs
Added: utils/kamctl/db_redis/kamailio/uri
Added: utils/kamctl/db_redis/kamailio/userblacklist
Added: utils/kamctl/db_redis/kamailio/usr_preferences
Added: utils/kamctl/db_redis/kamailio/version
Added: utils/kamctl/db_redis/kamailio/watchers
Added: utils/kamctl/db_redis/kamailio/xcap
Modified: src/lib/srdb1/schema/Makefile
Modified: src/modules/db_redis/README
Modified: src/modules/db_redis/db_redis_mod.c
Modified: src/modules/db_redis/db_redis_mod.h
Modified: src/modules/db_redis/doc/db_redis.xml
Modified: src/modules/db_redis/doc/db_redis_admin.xml
Modified: src/modules/db_redis/redis_connection.c
Modified: src/modules/db_redis/redis_dbase.c
Modified: src/modules/db_redis/redis_table.c
Modified: src/modules/db_redis/redis_table.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/56ad14236c02af1c82e3bdbcf1f85bb6f0efd728.diff
Patch: 
https://github.com/kamailio/kamailio/commit/56ad14236c02af1c82e3bdbcf1f85bb6f0efd728.patch


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org

[sr-dev] git:master:53e746b5: db_redis: Implement db_redis generic db driver

2018-02-14 Thread Andreas Granig
Module: kamailio
Branch: master
Commit: 53e746b5c527fa542e4b2b7353af5a3b4042d7d2
URL: 
https://github.com/kamailio/kamailio/commit/53e746b5c527fa542e4b2b7353af5a3b4042d7d2

Author: Andreas Granig 
Committer: Andreas Granig 
Date: 2018-02-08T15:54:02+01:00

db_redis: Implement db_redis generic db driver

This module implements a generic db driver for kamailio. It
requires a "schema" and "key" definition of "tables" and corresponding
keys for redis in the kamailio config file, otherwise it's supposed to
work with every module.

Implemented methods are query (w/o order-by), insert, update, delete.

Tested with usrloc and acc.

---

Added: src/modules/db_redis/Makefile
Added: src/modules/db_redis/README
Added: src/modules/db_redis/db_redis_mod.c
Added: src/modules/db_redis/db_redis_mod.h
Added: src/modules/db_redis/doc/Makefile
Added: src/modules/db_redis/doc/db_redis.xml
Added: src/modules/db_redis/doc/db_redis_admin.xml
Added: src/modules/db_redis/redis_connection.c
Added: src/modules/db_redis/redis_connection.h
Added: src/modules/db_redis/redis_dbase.c
Added: src/modules/db_redis/redis_dbase.h
Added: src/modules/db_redis/redis_table.c
Added: src/modules/db_redis/redis_table.h
Modified: src/Makefile.groups

---

Diff:  
https://github.com/kamailio/kamailio/commit/53e746b5c527fa542e4b2b7353af5a3b4042d7d2.diff
Patch: 
https://github.com/kamailio/kamailio/commit/53e746b5c527fa542e4b2b7353af5a3b4042d7d2.patch


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] presence: incorrect dialog state for multiple dialogs xml body (#1427)

2018-02-14 Thread Vasiliy Ganchev
re-tested it again, it does check only first dialog in a body

your code with my custom logging
```
int ps_match_dialog_state_from_body(str body, int *is_dialog, char *vstate)
{
xmlDocPtr doc;
xmlNodePtr node;
xmlNodePtr childNode;
char *tmp_state;
int rmatch = 0;

*is_dialog = 0;

LM_ERR("** body to parse %s\n", body);

doc = xmlParseMemory(body.s, body.len);
if(doc == NULL || doc->children == NULL)
{
LM_ERR("failed to parse xml document\n");
return -1;
}

node = xmlNodeGetChildByName(doc->children, "dialog");

while(node != NULL)
{
*is_dialog = 1;

childNode = xmlNodeGetChildByName(node, "state");
tmp_state = (char *)xmlNodeGetContent(childNode);

if (tmp_state != NULL)
{
LM_ERR("vstate is %s, tmp_state is %s\n", vstate, 
tmp_state);

if(strcmp(tmp_state, vstate)!=0) {
LM_ERR("states are different! goto done \n");

xmlFree(tmp_state);
rmatch = 0;
goto done;
}
rmatch = 1;
xmlFree(tmp_state);
}
/* search for next dialog node */
do {
LM_ERR("do entered \n");
if(node->next != NULL && node->next->name != NULL
&& xmlStrcmp(node->name, 
node->next->name) == 0) {
node = node->next;
LM_ERR("break it \n");
break;
}
node = node->next;
LM_ERR("node->next \n");
} while(node != NULL);
}

done:
xmlFreeDoc(doc);
LM_ERR("going to return rmatch %d\n", rmatch);
return rmatch;
}
```
body of PUBLISH, that being processed:
```



On the phone

sip:252@10.100.1.85




sip:254@10.100.1.85


confirmed


```
logs printed by kamailio:
```
Feb 14 09:25:48 0050562c117c /usr/sbin/kamailio[29343]: ERROR: presence 
[presentity.c:321]: ps_match_dialog_state_from_body(): ** body to parse 



Ready

252




251


terminated


On the phone

sip:252@10.100.1.85




sip:254@10.100.1.85


confirmed



Feb 14 09:25:48 0050562c117c /usr/sbin/kamailio[29343]: ERROR: presence 
[presentity.c:341]: ps_match_dialog_state_from_body(): vstate is terminated, 
tmp_state is terminated
Feb 14 09:25:48 0050562c117c /usr/sbin/kamailio[29343]: ERROR: presence 
[presentity.c:355]: ps_match_dialog_state_from_body(): do entered 
Feb 14 09:25:48 0050562c117c /usr/sbin/kamailio[29343]: ERROR: presence 
[presentity.c:363]: ps_match_dialog_state_from_body(): node->next 
Feb 14 09:25:48 0050562c117c /usr/sbin/kamailio[29343]: ERROR: presence 
[presentity.c:355]: ps_match_dialog_state_from_body(): do entered 
Feb 14 09:25:48 0050562c117c /usr/sbin/kamailio[29343]: ERROR: presence 
[presentity.c:363]: ps_match_dialog_state_from_body(): node->next 
Feb 14 09:25:48 0050562c117c /usr/sbin/kamailio[29343]: ERROR: presence 
[presentity.c:355]: ps_match_dialog_state_from_body(): do entered 
Feb 14 09:25:48 0050562c117c /usr/sbin/kamailio[29343]: ERROR: presence 
[presentity.c:363]: ps_match_dialog_state_from_body(): node->next 
Feb 14 09:25:48 0050562c117c /usr/sbin/kamailio[29343]: ERROR: presence 
[presentity.c:355]: ps_match_dialog_state_from_body(): do entered 
Feb 14 09:25:48 0050562c117c /usr/sbin/kamailio[29343]: ERROR: presence 
[presentity.c:363]: ps_match_dialog_state_from_body(): node->next 
Feb 14 09:25:48 0050562c117c /usr/sbin/kamailio[29343]: ERROR: presence 
[presentity.c:369]: ps_match_dialog_state_from_body(): going to return rmatch 1
Feb 14 09:25:48 0050562c117c /usr/sbin/kamailio[29343]: ERROR: presence 
[presentity.c:559]: ps_match_dialog_state(): rmatch is 1
```

so for some reason in `do { ... } while ()` it did not break.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1427#issuecomment-365531427___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev