I'm trying to get cap_server.so running in kamailio so i can pull contact list from the server to the client. I install all the dependencies I saw in the documentation but it isn't working. Please let me know if I'm doing something wrong. I attach my debug file, the dependency install plus my syslog file. Thanks for the help.
ii libsp-gxmlcpp-dev 1.0.20040603-5build1 S+P C++ wrapper for Gnome libxml2/libxslt ii libsp-gxmlcpp1 1.0.20040603-5build1 S+P C++ wrapper for Gnome libxml2/libxslt ii libxml++2.6-2 2.34.1-1build1 C++ interface to the GNOME XML library (libxml2) ii libxml++2.6-dev 2.34.1-1build1 C++ interface to the GNOME XML library (libxml2) ii libxml2 2.7.8.dfsg-5.1ubuntu4.4 GNOME XML library ii libxml2-dbg 2.7.8.dfsg-5.1ubuntu4.4 Debugging symbols for the GNOME XML library ii libxml2-dev 2.7.8.dfsg-5.1ubuntu4.4 Development files for the GNOME XML library ii libxml2-doc 2.7.8.dfsg-5.1ubuntu4.4 Documentation for the GNOME XML library ii libxml2-utils 2.7.8.dfsg-5.1ubuntu4.4 XML utilities ii python-lxml 2.3.2-1 pythonic binding for the libxml2 and libxslt libraries ii python3-lxml 2.3.2-1 pythonic binding for the libxml2 and libxslt libraries ii python3-lxml-dbg 2.3.2-1 pythonic binding for the libxml2 and libxslt libraries (debug extension)
root@kmlx:/home/kmlx# /etc/init.d/kamailio restart Restarting Kamailio: 0(28334) DEBUG: <core> [cfg.y:1804]: loading modules under /usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/ loading modules under /usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/ 0(28334) DEBUG: <core> [cfg.y:1791]: loading module mi_fifo.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/mi_fifo.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/mi_fifo/mi_fifo.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/mi_fifo.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module kex.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/kex.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/kex/kex.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/kex.so> 0(28334) DEBUG: <core> [sr_module.c:343]: register PV from: kex 0(28334) DEBUG: <core> [cfg.y:1791]: loading module corex.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/corex.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/corex/corex.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/corex.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module tm.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/tm.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/tm/tm.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/tm.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module tmx.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/tmx.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/tmx/tmx.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/tmx.so> 0(28334) DEBUG: <core> [sr_module.c:343]: register PV from: tmx 0(28334) DEBUG: <core> [cfg.y:1791]: loading module sl.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/sl.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/sl/sl.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/sl.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module rr.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/rr.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/rr/rr.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/rr.so> 0(28334) DEBUG: <core> [sr_module.c:343]: register PV from: rr 0(28334) DEBUG: <core> [cfg.y:1791]: loading module pv.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/pv.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/pv/pv.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/pv.so> 0(28334) DEBUG: <core> [sr_module.c:343]: register PV from: pv 0(28334) DEBUG: <core> [cfg.y:1791]: loading module maxfwd.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/maxfwd.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/maxfwd/maxfwd.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/maxfwd.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module usrloc.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/usrloc.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/usrloc/usrloc.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/usrloc.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module registrar.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/registrar.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/registrar/registrar.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/registrar.so> 0(28334) DEBUG: <core> [sr_module.c:343]: register PV from: registrar 0(28334) DEBUG: <core> [cfg.y:1791]: loading module textops.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/textops.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/textops/textops.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/textops.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module siputils.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/siputils.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/siputils/siputils.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/siputils.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module xlog.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/xlog.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/xlog/xlog.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/xlog.so> 0(28334) DEBUG: <core> [sr_module.c:343]: register PV from: xlog 0(28334) DEBUG: <core> [cfg.y:1791]: loading module sanity.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/sanity.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/sanity/sanity.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/sanity.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module ctl.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/ctl.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/ctl/ctl.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/ctl.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module cfg_rpc.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/cfg_rpc.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/cfg_rpc/cfg_rpc.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/cfg_rpc.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module mi_rpc.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/mi_rpc.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/mi_rpc/mi_rpc.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/mi_rpc.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module acc.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/acc.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/acc/acc.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/acc.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module nathelper.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/nathelper.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/nathelper/nathelper.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/nathelper.so> 0(28334) DEBUG: <core> [sr_module.c:343]: register PV from: nathelper 0(28334) DEBUG: <core> [cfg.y:1791]: loading module rtpproxy.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/rtpproxy.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/rtpproxy/rtpproxy.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/rtpproxy.so> 0(28334) DEBUG: <core> [sr_module.c:343]: register PV from: rtpproxy 0(28334) DEBUG: <core> [cfg.y:1791]: loading module tls.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/tls.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/tls/tls.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/tls.so> 0(28334) DEBUG: <core> [mem/q_malloc.c:202]: qm_malloc_init: QM_OPTIMIZE=16384, /ROUNDTO=1024 0(28334) DEBUG: <core> [mem/q_malloc.c:204]: qm_malloc_init: QM_HASH_SIZE=1043, qm_block size=20884 0(28334) DEBUG: <core> [mem/q_malloc.c:205]: qm_malloc_init(0xb2bc3000, 67108864), start=0xb2bc3000 0(28334) DEBUG: <core> [mem/q_malloc.c:213]: qm_malloc_init: size= 67108864, init_overhead=20912 0(28334) DEBUG: <core> [mem/shm_mem.c:203]: shm_mem_init: success 0(28334) INFO: tls [tls_init.c:385]: tls: init_tls: disabling compression... 0(28334) DEBUG: <core> [sr_module.c:343]: register PV from: tls 0(28334) DEBUG: <core> [cfg.y:1791]: loading module htable.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/htable.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/htable/htable.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/htable.so> 0(28334) DEBUG: <core> [sr_module.c:343]: register PV from: htable 0(28334) DEBUG: <core> [cfg.y:1791]: loading module pike.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/pike.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/pike/pike.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/pike.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module debugger.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/debugger.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/debugger/debugger.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/debugger.so> 0(28334) DEBUG: <core> [cfg.y:1791]: loading module xhttp.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/xhttp.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/xhttp/xhttp.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/xhttp.so> 0(28334) DEBUG: <core> [sr_module.c:343]: register PV from: xhttp 0(28334) DEBUG: <core> [cfg.y:1791]: loading module xcap_server.so 0(28334) DEBUG: <core> [sr_module.c:499]: load_module: module file not found </usr/local/lib/kamailio/modules_k/xcap_server.so> 0(28334) DEBUG: <core> [sr_module.c:522]: load_module: module file not found </usr/local/lib/kamailio/modules_k/xcap_server/xcap_server.so> 0(28334) DEBUG: <core> [sr_module.c:564]: load_module: trying to load </usr/local/lib/kamailio/modules/xcap_server.so> 0(28334) DEBUG: <core> [sr_module.c:343]: register PV from: xcap_server 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'mi_fifo' matches module 'mi_fifo' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <fifo_name> in module mi_fifo [/usr/local/lib/kamailio/modules/mi_fifo.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <fifo_name> in module mi_fifo [/usr/local/lib/kamailio/modules/mi_fifo.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'tm' matches module 'tm' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <failure_reply_mode> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <failure_reply_mode> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'tm' matches module 'tm' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <fr_timer> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <fr_timer> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'tm' matches module 'tm' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <fr_inv_timer> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <fr_inv_timer> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'rr' matches module 'rr' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <enable_full_lr> in module rr [/usr/local/lib/kamailio/modules/rr.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <enable_full_lr> in module rr [/usr/local/lib/kamailio/modules/rr.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'rr' matches module 'rr' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <append_fromtag> in module rr [/usr/local/lib/kamailio/modules/rr.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <append_fromtag> in module rr [/usr/local/lib/kamailio/modules/rr.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'registrar' matches module 'registrar' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <method_filtering> in module registrar [/usr/local/lib/kamailio/modules/registrar.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <method_filtering> in module registrar [/usr/local/lib/kamailio/modules/registrar.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'registrar' matches module 'registrar' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <max_expires> in module registrar [/usr/local/lib/kamailio/modules/registrar.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <max_expires> in module registrar [/usr/local/lib/kamailio/modules/registrar.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'registrar' matches module 'registrar' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <gruu_enabled> in module registrar [/usr/local/lib/kamailio/modules/registrar.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <gruu_enabled> in module registrar [/usr/local/lib/kamailio/modules/registrar.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <early_media> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <early_media> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <report_ack> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <report_ack> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <report_cancels> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <report_cancels> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <detect_direction> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <detect_direction> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLT_ACC] value [1] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <log_flag> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <log_flag> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLT_ACCMISSED] value [2] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <log_missed_flag> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <log_missed_flag> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <log_extra> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <log_extra> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLT_ACCFAILED] value [3] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <failed_transaction_flag> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <failed_transaction_flag> in module acc [/usr/local/lib/kamailio/modules/acc.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'rtpproxy' matches module 'rtpproxy' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <rtpproxy_sock> in module rtpproxy [/usr/local/lib/kamailio/modules/rtpproxy.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <rtpproxy_sock> in module rtpproxy [/usr/local/lib/kamailio/modules/rtpproxy.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'nathelper' matches module 'nathelper' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <natping_interval> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <natping_interval> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'nathelper' matches module 'nathelper' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <ping_nated_only> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <ping_nated_only> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLB_NATSIPPING] value [7] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'nathelper' matches module 'nathelper' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <sipping_bflag> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <sipping_bflag> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'nathelper' matches module 'nathelper' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <sipping_from> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <sipping_from> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'nathelper|registrar' matches module 'nathelper' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <received_avp> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <received_avp> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'nathelper|registrar' matches module 'registrar' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <received_avp> in module registrar [/usr/local/lib/kamailio/modules/registrar.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <received_avp> in module registrar [/usr/local/lib/kamailio/modules/registrar.so] 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLB_NATB] value [6] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'usrloc' matches module 'usrloc' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <nat_bflag> in module usrloc [/usr/local/lib/kamailio/modules/usrloc.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <nat_bflag> in module usrloc [/usr/local/lib/kamailio/modules/usrloc.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'tls' matches module 'tls' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <config> in module tls [/usr/local/lib/kamailio/modules/tls.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <config> in module tls [/usr/local/lib/kamailio/modules/tls.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'pike' matches module 'pike' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <sampling_time_unit> in module pike [/usr/local/lib/kamailio/modules/pike.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <sampling_time_unit> in module pike [/usr/local/lib/kamailio/modules/pike.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'pike' matches module 'pike' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <reqs_density_per_unit> in module pike [/usr/local/lib/kamailio/modules/pike.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <reqs_density_per_unit> in module pike [/usr/local/lib/kamailio/modules/pike.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'pike' matches module 'pike' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <remove_latency> in module pike [/usr/local/lib/kamailio/modules/pike.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <remove_latency> in module pike [/usr/local/lib/kamailio/modules/pike.so] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'htable' matches module 'htable' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <htable> in module htable [/usr/local/lib/kamailio/modules/htable.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <htable> in module htable [/usr/local/lib/kamailio/modules/htable.so] 0(28334) DEBUG: htable [ht_api.c:802]: htable [ipban] - expire [300] 0(28334) DEBUG: htable [ht_api.c:807]: htable [ipban] - size [8] 0(28334) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'debugger' matches module 'debugger' 0(28334) DEBUG: <core> [sr_module.c:770]: find_param_export: found <cfgtrace> in module debugger [/usr/local/lib/kamailio/modules/debugger.so] 0(28334) DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <cfgtrace> in module debugger [/usr/local/lib/kamailio/modules/debugger.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb718fa48 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb718fb68 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_check_trans> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb71906b8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb7190318 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb7190748 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb718fe38 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71907d8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb7190988 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_check_trans> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb7190bc8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <remove_hf> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <record_route> in module rr [/usr/local/lib/kamailio/modules/rr.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71913e8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb7191878 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLT_ACC] value [1] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#39 #0/1: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb7191b48 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb7191f08 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb7192028 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb7192148 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb7192268 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <sl_send_reply> in module sl [/usr/local/lib/kamailio/modules/sl.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb7192c28 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb7193058 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb71936c8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb71937e8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_is_set> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_on_branch> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb7194138 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb7194568 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb7193968 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb7194688 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_is_set> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_on_reply> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb7195338 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb7195768 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb7194a48 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb7195888 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_is_set> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_on_failure> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb7196488 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71968b8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb7195c28 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71969d8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_relay> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <sl_reply_error> in module sl [/usr/local/lib/kamailio/modules/sl.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb7197138 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb7196ca8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: htable [ht_var.c:162]: htable [ipban] - key [$si] 0(28334) DEBUG: <core> [pvapi.c:390]: PV <$si> is not in cache 0(28334) DEBUG: <core> [pvapi.c:269]: PV cache not initialized, doing it now 0(28334) DEBUG: <core> [pvapi.c:294]: pvar [$si] added in cache 0(28334) DEBUG: htable [ht_api.c:216]: htable found [ipban] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <xdbg> in module xlog [/usr/local/lib/kamailio/modules/xlog.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb7198398 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71987c8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <pike_check_req> in module pike [/usr/local/lib/kamailio/modules/pike.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <xlog> in module xlog [/usr/local/lib/kamailio/modules/xlog.so] 0(28334) DEBUG: htable [ht_var.c:162]: htable [ipban] - key [$si] 0(28334) DEBUG: <core> [pvapi.c:322]: pvar [$si] found in cache 0(28334) DEBUG: htable [ht_api.c:216]: htable found [ipban] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#63 #0/2: 21(15)/ 0xb71995e8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#63 #1/2: 22(16)/ 0xb7199928 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71990c8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb7198bb8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71976e8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb7198978 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <mf_process_maxfwd_header> in module maxfwd [/usr/local/lib/kamailio/modules/maxfwd.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <sl_send_reply> in module sl [/usr/local/lib/kamailio/modules/sl.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb719a5b8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb719a9e8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <sanity_check> in module sanity [/usr/local/lib/kamailio/modules/sanity.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <xlog> in module xlog [/usr/local/lib/kamailio/modules/xlog.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb719ab08 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb719b788 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <has_totag> in module siputils [/usr/local/lib/kamailio/modules/siputils.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <loose_route> in module rr [/usr/local/lib/kamailio/modules/rr.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb719c498 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLT_ACC] value [1] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#39 #0/1: 3(3)/ 0x1 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLT_ACCFAILED] value [3] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#39 #0/1: 3(3)/ 0x3 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb719d1b8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <record_route> in module rr [/usr/local/lib/kamailio/modules/rr.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb719d488 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb719d8d8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb719cdf8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb719d248 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 8(8)/ 0xb719d968 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb719c768 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb719cb28 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 8(8)/ 0xb719d9f8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb719db18 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb719e918 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb719e578 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb719e9a8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_check_trans> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb719f588 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb719f1e8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb719f618 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 8(8)/ 0xb719f738 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb719ed08 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb719f7c8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <sl_send_reply> in module sl [/usr/local/lib/kamailio/modules/sl.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb719c0f8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb719c528 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 8(8)/ 0xb719eac8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb719bcc8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb719fec8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLT_NATS] value [5] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#41 #0/1: 3(3)/ 0x5 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLB_NATB] value [6] 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <setbflag> in module kex [/usr/local/lib/kamailio/modules/kex.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71a0648 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb719fc68 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <save> in module registrar [/usr/local/lib/kamailio/modules/registrar.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <sl_reply_error> in module sl [/usr/local/lib/kamailio/modules/sl.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71a1268 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71a1698 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71a02a8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb719fcf8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [usr_avp.c:895]: Parsing 'oexten' 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#63 #0/2: 21(15)/ 0xb71a1a98 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#63 #1/2: 22(16)/ 0xb71a1b68 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <lookup> in module registrar [/usr/local/lib/kamailio/modules/registrar.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#63 #0/2: 21(15)/ 0xb71a2948 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#63 #1/2: 22(16)/ 0xb71a2988 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb71a2db8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_newtran> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <send_reply> in module sl [/usr/local/lib/kamailio/modules/sl.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <send_reply> in module sl [/usr/local/lib/kamailio/modules/sl.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#17 #0/2: 22(16)/ 0xb71a3088 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#17 #1/2: 24(18)/ 0xb71a1a58 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71a24e8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71a2d28 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLT_ACCMISSED] value [2] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#39 #0/1: 3(3)/ 0x2 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71a4548 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71a4c88 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb71a4da8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x2 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71a55c8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71a5968 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <sl_send_reply> in module sl [/usr/local/lib/kamailio/modules/sl.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71a6c18 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71a7048 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x2 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x2 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <nat_uac_test> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_method> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <fix_nated_register> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <add_contact_alias> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71a7df8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71a8228 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 8(8)/ 0xb71a8348 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLT_NATS] value [5] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#39 #0/1: 3(3)/ 0x5 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71a7938 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71a83d8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x2 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_request> in module siputils [/usr/local/lib/kamailio/modules/siputils.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <has_totag> in module siputils [/usr/local/lib/kamailio/modules/siputils.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <check_route_param> in module rr [/usr/local/lib/kamailio/modules/rr.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLB_NATB] value [6] 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <setbflag> in module kex [/usr/local/lib/kamailio/modules/kex.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71a95c8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71a99f8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71a8cd8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71a9e28 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71a8818 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71a9eb8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLT_NATS] value [5] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#41 #0/1: 3(3)/ 0x5 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLB_NATB] value [6] 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <isbflagset> in module kex [/usr/local/lib/kamailio/modules/kex.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x2 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71ab008 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71ab3a8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <rtpproxy_manage> in module rtpproxy [/usr/local/lib/kamailio/modules/rtpproxy.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_request> in module siputils [/usr/local/lib/kamailio/modules/siputils.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <has_totag> in module siputils [/usr/local/lib/kamailio/modules/siputils.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <add_rr_param> in module rr [/usr/local/lib/kamailio/modules/rr.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71abf68 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71ac398 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71ab708 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71ac4b8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <is_reply> in module siputils [/usr/local/lib/kamailio/modules/siputils.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [cfg.lex:1879]: ### returning define ID [FLB_NATB] value [6] 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <isbflagset> in module kex [/usr/local/lib/kamailio/modules/kex.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <add_contact_alias> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71acfb8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71ad3e8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71ac878 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71ad478 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x2 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <isdsturiset> in module kex [/usr/local/lib/kamailio/modules/kex.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <handle_ruri_alias> in module nathelper [/usr/local/lib/kamailio/modules/nathelper.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71adb78 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71adfa8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x2 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <append_hf> in module textops [/usr/local/lib/kamailio/modules/textops.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb71aeb38 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71ae5e8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71aea18 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x2 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x2 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <xdbg> in module xlog [/usr/local/lib/kamailio/modules/xlog.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb71af238 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <xdbg> in module xlog [/usr/local/lib/kamailio/modules/xlog.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb71af718 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71afdd8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71af7a8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#5 #0/1: 1(1)/ 0xb71b0178 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #0/2: 9(9)/ (nil) 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#24 #1/2: 3(3)/ (nil) 0(28334) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_is_canceled> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #0/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#2 #1/2: 3(3)/ 0x1 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #0/3: 22(16)/ 0xb71b03b8 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #1/3: 8(8)/ 0xb71b0758 0(28334) DEBUG: <core> [route_struct.c:166]: ACTION_#16 #2/3: 0(0)/ (nil) 0(28334) DEBUG: <core> [route.c:2205]: routing table 0: 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "REQINIT" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "NATDETECT" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "RELAY" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "WITHINDLG" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb71855e8> 0(28334) DEBUG: <core> [route_struct.c:530]: , 0 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "AUTH" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7189168> 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:580]: , type<22> 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7186378> 0(28334) DEBUG: <core> [route_struct.c:530]: , 0 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:405]: setflag( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "SIPOUT" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "PRESENCE" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "REGISTRAR" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7186088> 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:561]: , "484" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "PSTN" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "LOCATION" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: routing table 1: 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb71852a8> 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:561]: , "MANAGE_BRANCH" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7185288> 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:561]: , "MANAGE_REPLY" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7185268> 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:561]: , "MANAGE_FAILURE" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb71860e8> 0(28334) DEBUG: <core> [route_struct.c:530]: , 0 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: routing table 2: 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7189ad8> 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:561]: , "request from blocked IP - $rm from $fu (IP:$si:$sp) " 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7189a98> 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:561]: , "L_ALERT" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:479]: assign( 0(28334) DEBUG: <core> [route_struct.c:520]: type<21> 0(28334) DEBUG: <core> [route_struct.c:554]: , type<22> 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7186088> 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:561]: , "483" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7189a78> 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:561]: , "Malformed SIP message from $si:$sp " 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: routing table 3: 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "DLGURI" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:405]: setflag( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:405]: setflag( 0(28334) DEBUG: <core> [route_struct.c:492]: 3 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "NATMANAGE" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7186378> 0(28334) DEBUG: <core> [route_struct.c:530]: , 0 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "RELAY" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "PRESENCE" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "RELAY" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7186088> 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:561]: , "404" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: routing table 4: 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb71848b8> 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:580]: , type<22> 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb71860e8> 0(28334) DEBUG: <core> [route_struct.c:530]: , 0 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: routing table 5: 0(28334) DEBUG: <core> [route_struct.c:479]: assign( 0(28334) DEBUG: <core> [route_struct.c:520]: type<21> 0(28334) DEBUG: <core> [route_struct.c:554]: , type<22> 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:479]: assign( 0(28334) DEBUG: <core> [route_struct.c:520]: type<21> 0(28334) DEBUG: <core> [route_struct.c:554]: , type<22> 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "TOVOICEMAIL" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7184e68> 0(28334) DEBUG: <core> [route_struct.c:530]: , 0 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:485]: UNKNOWN( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:554]: , type<24> 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:405]: setflag( 0(28334) DEBUG: <core> [route_struct.c:492]: 2 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "RELAY" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: routing table 6: 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7186088> 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:561]: , "404" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: routing table 7: 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: routing table 8: 0(28334) DEBUG: <core> [route_struct.c:458]: force_rport( 0(28334) DEBUG: <core> [route_struct.c:520]: type<0> 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb718b4c8> 0(28334) DEBUG: <core> [route_struct.c:530]: , 0 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb718b408> 0(28334) DEBUG: <core> [route_struct.c:530]: , 0 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:405]: setflag( 0(28334) DEBUG: <core> [route_struct.c:492]: 5 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: routing table 9: 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb71848b8> 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:580]: , type<22> 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb718b938> 0(28334) DEBUG: <core> [route_struct.c:530]: , 0 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7186418> 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:561]: , ";nat=yes" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb718b408> 0(28334) DEBUG: <core> [route_struct.c:530]: , 0 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: routing table 10: 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb718b448> 0(28334) DEBUG: <core> [route_struct.c:530]: , 0 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: routing table 11: 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb71890c8> 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:561]: , "P-hint: outbound " 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "RELAY" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: routing table 12: 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: routing table 13: 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 2 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: onreply routing table 1: 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7189ad8> 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:561]: , "incoming reply " 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "NATMANAGE" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: failure routing table 1: 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "NATMANAGE" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:438]: if ( 0(28334) DEBUG: <core> [route_struct.c:520]: type<22> 0(28334) DEBUG: <core> [route_struct.c:522]: ) { 0(28334) DEBUG: <core> [route_struct.c:375]: drop( 0(28334) DEBUG: <core> [route_struct.c:492]: 1 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:556]: } else { 0(28334) DEBUG: <core> [route_struct.c:582]: }; 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) DEBUG: <core> [route.c:2205]: branch routing table 1: 0(28334) DEBUG: <core> [route_struct.c:455]: external_module_call( 0(28334) DEBUG: <core> [route_struct.c:504]: f_ptr<0xb7189ad8> 0(28334) DEBUG: <core> [route_struct.c:530]: , 1 0(28334) DEBUG: <core> [route_struct.c:561]: , "new branch [$T_branch_idx] to $ru " 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route_struct.c:384]: route( 0(28334) DEBUG: <core> [route_struct.c:489]: "NATMANAGE" 0(28334) DEBUG: <core> [route_struct.c:583]: ); 0(28334) DEBUG: <core> [route.c:2207]: 0(28334) WARNING: <core> [socket_info.c:1407]: WARNING: fix_hostname: could not rev. resolve 172.16.250.162 0(28334) WARNING: <core> [socket_info.c:1407]: WARNING: fix_hostname: could not rev. resolve 172.16.250.162 0(28334) WARNING: <core> [socket_info.c:1407]: WARNING: fix_hostname: could not rev. resolve 172.16.250.162 Listening on udp: 127.0.0.1:5060 udp: 172.16.250.162:5060 tcp: 127.0.0.1:5060 tcp: 172.16.250.162:5060 tls: 127.0.0.1:5061 tls: 172.16.250.162:5061 Aliases: tls: localhost:5061 tcp: localhost:5060 udp: localhost:5060
0(28334) DEBUG: <core> [cfg/cfg.c:178]: DEBUG: register_cfg_def(): new config group has been registered: 'core' (num=49, size=196) 0(28334) DEBUG: <core> [cfg/cfg.c:178]: DEBUG: register_cfg_def(): new config group has been registered: 'tcp' (num=26, size=104) 0(28334) DEBUG: <core> [timer.c:272]: init_timer: starting with *ticks=275131553 0(28334) DEBUG: <core> [timer.c:314]: init_timer: timer_list between 0xb2bc8448 and 0xb2bea448 0(28334) INFO: <core> [tcp_main.c:4846]: init_tcp: using epoll_lt as the io watch method (auto detected) 0(28336) DEBUG: <core> [daemonize.c:219]: trying enable core dumping... 0(28336) DEBUG: <core> [daemonize.c:237]: core dumping is enabled now (1)... 0(28336) DEBUG: <core> [daemonize.c:575]: core dump limits set to 4294967295 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: mi_fifo 0(28336) DEBUG: mi_fifo [mi_fifo.c:124]: testing mi_fifo existance ... 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: kex 0(28336) DEBUG: <core> [sruid.c:100]: root for sruid is [srid-51d9f53c-6eb0-] (0 / 19) 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: corex 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: tm 0(28336) DEBUG: tm [tm.c:751]: TM - (sizeof cell=3256, sip_msg=912) initializing... 0(28336) DEBUG: tm [callid.c:105]: Call-ID initialization: '3f3da3ef' 0(28336) DEBUG: tm [lock.c:87]: DEBUG: lock_initialize: lock initialization started 0(28336) DEBUG: tm [timer.c:226]: tm: tm_init_timers: fr=480 fr_inv=1920 wait=80 delete=4 t1=500 t2=4000 max_inv_lifetime=2880 max_noninv_lifetime=512 0(28336) DEBUG: <core> [cfg/cfg.c:178]: DEBUG: register_cfg_def(): new config group has been registered: 'tm' (num=36, size=148) 0(28336) DEBUG: <core> [md5utils.c:67]: DEBUG: MD5 calculated: 533cb9e91f4b999cf76861cbb9ed54ed 0(28336) DEBUG: <core> [md5utils.c:67]: DEBUG: MD5 calculated: a6a1c5f60faecf035a1ae5b6e96e979a 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: tmx 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <load_tm> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_newtran> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_relay> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_release> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: sl 0(28336) DEBUG: <core> [md5utils.c:67]: DEBUG: MD5 calculated: b27e1a1d33761e85846fc98f5f3a7e58 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <load_tm> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_newtran> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_relay> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_release> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: rr 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <bind_ob> not found 0(28336) INFO: rr [../outbound/api.h:49]: Failed to import bind_ob 0(28336) INFO: rr [rr_mod.c:159]: outbound module not available 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: pv 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: maxfwd 0(28336) DEBUG: <core> [cfg/cfg.c:178]: DEBUG: register_cfg_def(): new config group has been registered: 'maxfwd' (num=1, size=4) 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: usrloc 0(28336) DEBUG: <core> [sruid.c:100]: root for sruid is [ulcx-51d9f53c-6eb0-] (0 / 19) 0(28336) INFO: usrloc [hslot.c:53]: locks array size 512 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: registrar 0(28336) DEBUG: <core> [sruid.c:100]: root for sruid is [uloc-51d9f53c-6eb0-] (0 / 19) 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <bind_sl> in module sl [/usr/local/lib/kamailio/modules/sl.so] 0(28336) DEBUG: <core> [cfg/cfg.c:178]: DEBUG: register_cfg_def(): new config group has been registered: 'registrar' (num=10, size=44) 0(28336) DEBUG: <core> [usr_avp.c:895]: Parsing 'RECEIVED' 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <ul_bind_usrloc> in module usrloc [/usr/local/lib/kamailio/modules/usrloc.so] 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: textops 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: siputils 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <bind_sl> in module sl [/usr/local/lib/kamailio/modules/sl.so] 0(28336) DEBUG: <core> [usr_avp.c:895]: Parsing 's:rpid' 0(28336) DEBUG: <core> [cfg/cfg.c:178]: DEBUG: register_cfg_def(): new config group has been registered: 'siputils' (num=1, size=4) 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: xlog 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: sanity 0(28336) DEBUG: sanity [mod_sanity.c:103]: sanity initializing 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <bind_sl> in module sl [/usr/local/lib/kamailio/modules/sl.so] 0(28336) DEBUG: sanity [mod_sanity.c:111]: parsing proxy requires string: 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: ctl 0(28336) DEBUG: ctl [ctl.c:242]: listening on: 0(28336) DEBUG: ctl [ctl.c:252]: [binrpc:unix stream] /tmp/kamailio_ctl 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: cfg_rpc 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: mi_rpc 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: acc 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <load_tm> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_newtran> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_relay> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_release> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: nathelper 0(28336) DEBUG: <core> [usr_avp.c:895]: Parsing 'RECEIVED' 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <ul_bind_usrloc> in module usrloc [/usr/local/lib/kamailio/modules/usrloc.so] 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: rtpproxy 0(28336) DEBUG: rtpproxy [rtpproxy.c:554]: url is udp:127.0.0.1:7722, len is 18 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <load_tm> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_newtran> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_relay_to_tcp> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_relay_to_udp> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_relay> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_forward_nonack> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <t_release> in module tm [/usr/local/lib/kamailio/modules/tm.so] 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: tls 0(28336) DEBUG: <core> [cfg/cfg.c:178]: DEBUG: register_cfg_def(): new config group has been registered: 'tls' (num=27, size=140) 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: htable 0(28336) DEBUG: htable [htable.c:175]: starting auto-expire timer 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: pike 0(28336) INFO: pike [pike.c:115]: PIKE - initializing 0(28336) INFO: pike [ip_tree.c:88]: probing 256 set size 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: debugger 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: xhttp 0(28336) WARNING: xhttp [xhttp_mod.c:125]: event_route[xhttp:request] is empty 0(28336) DEBUG: <core> [sr_module.c:674]: find_export_record: found <bind_sl> in module sl [/usr/local/lib/kamailio/modules/sl.so] 0(28336) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: xcap_server 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_bind_api> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_bind_api> in module <db_mysql> not found 0(28336) DEBUG: <core> [db.c:221]: using export interface to bind db_mysql 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_use_table> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_use_table> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_init> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_init> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_init2> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_init2> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_close> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_close> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_query> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_query> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_fetch_result> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_fetch_result> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_raw_query> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_raw_query> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_free_result> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_free_result> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_insert> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_insert> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_delete> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_delete> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_update> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_update> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_replace> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_replace> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_last_inserted_id> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_last_inserted_id> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_affected_rows> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_affected_rows> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_insert_update> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_insert_update> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_insert_delayed> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_insert_delayed> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_start_transaction> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_start_transaction> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_end_transaction> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_end_transaction> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_abort_transaction> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_abort_transaction> in module <db_mysql> not found 0(28336) DEBUG: <core> [sr_module.c:680]: find_export_record: <db_query_lock> not found 0(28336) DEBUG: <core> [sr_module.c:733]: find_mod_export: <db_query_lock> in module <db_mysql> not found 0(28336) ERROR: <core> [db.c:81]: module db_mysql does not export db_use_table function 0(28336) ERROR: xcap_server [xcap_server.c:191]: Database module not found 0(28336) ERROR: <core> [sr_module.c:939]: init_mod(): Error while initializing module xcap_server (/usr/local/lib/kamailio/modules/xcap_server.so) ERROR: error while initializing modules 0(28336) DEBUG: tm [t_funcs.c:118]: DEBUG: tm_shutdown : start 0(28336) DEBUG: tm [t_funcs.c:121]: DEBUG: tm_shutdown : emptying hash table 0(28336) DEBUG: tm [t_funcs.c:123]: DEBUG: tm_shutdown : removing semaphores 0(28336) DEBUG: tm [t_funcs.c:125]: DEBUG: tm_shutdown : destroying tmcb lists 0(28336) DEBUG: tm [t_funcs.c:128]: DEBUG: tm_shutdown : done 0(28336) DEBUG: tls [tls_init.c:682]: tls module final tls destroy 0(28336) DEBUG: <core> [mem/shm_mem.c:242]: shm_mem_destroy 0(28336) DEBUG: <core> [mem/shm_mem.c:245]: destroying the shared memory lock kamailio error, failed to start.
On 7/8/13 4:36 PM, Kethzer Docteur wrote:
I'm trying to get cap_server.so running in kamailio so i can pull contact list from the server to the client. I install all the dependencies I saw in the documentation but it isn't working. Please let me know if I'm doing something wrong. I attach my debug file, the dependency install plus my syslog file. Thanks for the help.
It seems you don't have db_mysql installed or loaded.
Cheers, Daniel
I resolve this problem with that #!define WITH_MYSQL. Here is my config file, the Xcap part isn't working at all.
#!KAMAILIO # # Kamailio (OpenSER) SIP Server v4.0 - default configuration script # - web: http://www.kamailio.org # - git: http://sip-router.org # # Direct your questions about this file to: sr-users@lists.sip-router.org # # Refer to the Core CookBook at http://www.kamailio.org/wiki/ # for an explanation of possible statements, functions and parameters. # # Several features can be enabled using '#!define WITH_FEATURE' directives: # # *** To run in debug mode: # - define WITH_DEBUG # # *** To enable mysql: # - define WITH_MYSQL # # *** To enable authentication execute: # - enable mysql # - define WITH_AUTH # - add users using 'kamctl' # # *** To enable IP authentication execute: # - enable mysql # - enable authentication # - define WITH_IPAUTH # - add IP addresses with group id '1' to 'address' table # # *** To enable persistent user location execute: # - enable mysql # - define WITH_USRLOCDB # # *** To enable presence server execute: # - enable mysql # - define WITH_PRESENCE # # *** To enable nat traversal execute: # - define WITH_NAT # - install RTPProxy: http://www.rtpproxy.org # - start RTPProxy: # rtpproxy -l _your_public_ip_ -s udp:localhost:7722 # # *** To enable PSTN gateway routing execute: # - define WITH_PSTN # - set the value of pstn.gw_ip # - check route[PSTN] for regexp routing condition # # *** To enable database aliases lookup execute: # - enable mysql # - define WITH_ALIASDB # # *** To enable speed dial lookup execute: # - enable mysql # - define WITH_SPEEDDIAL # # *** To enable multi-domain support execute: # - enable mysql # - define WITH_MULTIDOMAIN # # *** To enable TLS support execute: # - adjust CFGDIR/tls.cfg as needed # - define WITH_TLS # # *** To enable XMLRPC support execute: # - define WITH_XMLRPC # - adjust route[XMLRPC] for access policy # # *** To enable anti-flood detection execute: # - adjust pike and htable=>ipban settings as needed (default is # block if more than 16 requests in 2 seconds and ban for 300 seconds) # - define WITH_ANTIFLOOD # # *** To block 3XX redirect replies execute: # - define WITH_BLOCK3XX # # *** To enable VoiceMail routing execute: # - define WITH_VOICEMAIL # - set the value of voicemail.srv_ip # - adjust the value of voicemail.srv_port # # *** To enhance accounting execute: # - enable mysql # - define WITH_ACCDB # - add following columns to database #!ifdef ACCDB_COMMENT ALTER TABLE acc ADD COLUMN src_user VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE acc ADD COLUMN src_domain VARCHAR(128) NOT NULL DEFAULT ''; ALTER TABLE acc ADD COLUMN src_ip varchar(64) NOT NULL default ''; ALTER TABLE acc ADD COLUMN dst_ouser VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE acc ADD COLUMN dst_user VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE acc ADD COLUMN dst_domain VARCHAR(128) NOT NULL DEFAULT ''; ALTER TABLE missed_calls ADD COLUMN src_user VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE missed_calls ADD COLUMN src_domain VARCHAR(128) NOT NULL DEFAULT ''; ALTER TABLE missed_calls ADD COLUMN src_ip varchar(64) NOT NULL default ''; ALTER TABLE missed_calls ADD COLUMN dst_ouser VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE missed_calls ADD COLUMN dst_user VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE missed_calls ADD COLUMN dst_domain VARCHAR(128) NOT NULL DEFAULT ''; #!endif
####### Include Local Config If Exists ######### import_file "kamailio-local.cfg"
####### Defined Values #########
# *** Value defines - IDs used later in config #!define WITH_PRESENCE #!define WITH_XCAPSRV #!define WITH_NAT #!define WITH_TLS #!define WITH_ANTIFLOOD #!define WITH_MYSQL #!ifdef WITH_MYSQL # - database URL - used to connect to database server by modules such # as: auth_db, acc, usrloc, a.s.o. #!ifndef DBURL #!define DBURL "mysql://kamailio:kamailiorw@localhost/kamailio" #!endif #!endif #!ifdef WITH_MULTIDOMAIN # - the value for 'use_domain' parameters #!define MULTIDOMAIN 1 #!else #!define MULTIDOMAIN 0 #!endif
# - flags # FLT_ - per transaction (message) flags # FLB_ - per branch flags #!define FLT_ACC 1 #!define FLT_ACCMISSED 2 #!define FLT_ACCFAILED 3 #!define FLT_NATS 5
#!define FLB_NATB 6 #!define FLB_NATSIPPING 7
####### Global Parameters #########
### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR #!ifdef WITH_DEBUG debug=3 log_stderror=yes #!else debug=2 log_stderror=no #!endif
memdbg=5 memlog=5
log_facility=LOG_LOCAL0
fork=yes children=4
/* uncomment the next line to disable TCP (default on) */ #disable_tcp=yes
/* uncomment the next line to disable the auto discovery of local aliases based on reverse DNS on IPs (default on) */ #auto_aliases=no
/* add local domain aliases */ #alias="sip.mydomain.com"
/* uncomment and configure the following line if you want Kamailio to bind on a specific interface/port/proto (default bind on all available) */ #listen=udp:10.0.0.10:5060
/* port to listen to * - can be specified more than once if needed to listen on many ports */ port=5060
#!ifdef WITH_TLS enable_tls=yes #!endif
# to allow HTTP requests #tcp_accept_no_cl=yes
#!ifdef WITH_XCAPSRV tcp_accept_no_cl=yes #!endif
# life time of TCP connection when there is no traffic # - a bit higher than registration expires to cope with UA behind NAT #tcp_connection_lifetime=3605 tcp_connection_lifetime=3064
####### Custom Parameters #########
# These parameters can be modified runtime via RPC interface # - see the documentation of 'cfg_rpc' module. # # Format: group.id = value 'desc' description # Access: $sel(cfg_get.group.id) or @cfg_get.group.id #
#!ifdef WITH_PSTN # PSTN GW Routing # # - pstn.gw_ip: valid IP or hostname as string value, example: # pstn.gw_ip = "10.0.0.101" desc "My PSTN GW Address" # # - by default is empty to avoid misrouting pstn.gw_ip = "" desc "PSTN GW Address" pstn.gw_port = "" desc "PSTN GW Port" #!endif
#!ifdef WITH_VOICEMAIL # VoiceMail Routing on offline, busy or no answer # # - by default Voicemail server IP is empty to avoid misrouting voicemail.srv_ip = "" desc "VoiceMail IP Address" voicemail.srv_port = "5060" desc "VoiceMail Port" #!endif
####### Modules Section ########
# set paths to location of modules (to sources or installation folders) #!ifdef WITH_SRCPATH mpath="modules_k:modules" #!else mpath="/usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/" #!endif
#!ifdef WITH_MYSQL loadmodule "db_mysql.so" #!endif
loadmodule "mi_fifo.so" loadmodule "kex.so" loadmodule "corex.so" loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "rr.so" loadmodule "pv.so" loadmodule "maxfwd.so" loadmodule "usrloc.so" loadmodule "registrar.so" loadmodule "textops.so" loadmodule "siputils.so" loadmodule "xlog.so" loadmodule "sanity.so" loadmodule "ctl.so" loadmodule "cfg_rpc.so" loadmodule "mi_rpc.so" loadmodule "acc.so" #loadmodule "xcap_client"
#!ifdef WITH_AUTH loadmodule "auth.so" loadmodule "auth_db.so" #!ifdef WITH_IPAUTH loadmodule "permissions.so" #!endif #!endif
#!ifdef WITH_ALIASDB loadmodule "alias_db.so" #!endif
#!ifdef WITH_SPEEDDIAL loadmodule "speeddial.so" #!endif
#!ifdef WITH_MULTIDOMAIN loadmodule "domain.so" #!endif
#!ifdef WITH_PRESENCE loadmodule "presence.so" loadmodule "presence_xml.so" #!endif
#!ifdef WITH_NAT loadmodule "nathelper.so" loadmodule "rtpproxy.so" #!endif
#!ifdef WITH_TLS loadmodule "tls.so" #!endif
#!ifdef WITH_ANTIFLOOD loadmodule "htable.so" loadmodule "pike.so" #!endif
#!ifdef WITH_XMLRPC loadmodule "xmlrpc.so" #!endif
#!ifdef WITH_XCAP_SERVER #loadmodule "xcap_server.so" #!endif
#!ifdef WITH_DEBUG loadmodule "debugger.so" #!endif
#!ifdef WITH_XCAPSRV loadmodule "xhttp.so" loadmodule "xcap_server.so" #!endif
# ----------------- setting module-specific parameters ---------------
# ----- mi_fifo params ----- modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")
# ----- tm params ----- # auto-discard branches from previous serial forking leg modparam("tm", "failure_reply_mode", 3) # default retransmission timeout: 30sec modparam("tm", "fr_timer", 30000) # default invite retransmission timeout after 1xx: 120sec modparam("tm", "fr_inv_timer", 120000)
# ----- rr params ----- # add value to ;lr param to cope with most of the UAs modparam("rr", "enable_full_lr", 1) # do not append from tag to the RR (no need for this script) modparam("rr", "append_fromtag", 0)
# ----- registrar params ----- modparam("registrar", "method_filtering", 1) /* uncomment the next line to disable parallel forking via location */ # modparam("registrar", "append_branches", 0) /* uncomment the next line not to allow more than 10 contacts per AOR */ #modparam("registrar", "max_contacts", 10) # max value for expires of registrations modparam("registrar", "max_expires", 3600) # set it to 1 to enable GRUU modparam("registrar", "gruu_enabled", 0)
# ----- acc params ----- /* what special events should be accounted ? */ modparam("acc", "early_media", 0) modparam("acc", "report_ack", 0) modparam("acc", "report_cancels", 0) /* by default ww do not adjust the direct of the sequential requests. if you enable this parameter, be sure the enable "append_fromtag" in "rr" module */ modparam("acc", "detect_direction", 0) /* account triggers (flags) */ modparam("acc", "log_flag", FLT_ACC) modparam("acc", "log_missed_flag", FLT_ACCMISSED) modparam("acc", "log_extra", "src_user=$fU;src_domain=$fd;src_ip=$si;" "dst_ouser=$tU;dst_user=$rU;dst_domain=$rd") modparam("acc", "failed_transaction_flag", FLT_ACCFAILED) /* enhanced DB accounting */ #!ifdef WITH_ACCDB modparam("acc", "db_flag", FLT_ACC) modparam("acc", "db_missed_flag", FLT_ACCMISSED) modparam("acc", "db_url", DBURL) modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;src_ip=$si;" "dst_ouser=$tU;dst_user=$rU;dst_domain=$rd") #!endif
# ----- usrloc params ----- /* enable DB persistency for location entries */ #!ifdef WITH_USRLOCDB modparam("usrloc", "db_url", DBURL) modparam("usrloc", "db_mode", 2) modparam("usrloc", "use_domain", MULTIDOMAIN) #!endif
# ----- auth_db params ----- #!ifdef WITH_AUTH modparam("auth_db", "db_url", DBURL) modparam("auth_db", "calculate_ha1", yes) modparam("auth_db", "password_column", "password") modparam("auth_db", "load_credentials", "") modparam("auth_db", "use_domain", MULTIDOMAIN)
# ----- permissions params ----- #!ifdef WITH_IPAUTH modparam("permissions", "db_url", DBURL) modparam("permissions", "db_mode", 1) #!endif
#!endif
# ----- alias_db params ----- #!ifdef WITH_ALIASDB modparam("alias_db", "db_url", DBURL) modparam("alias_db", "use_domain", MULTIDOMAIN) #!endif
# ----- speeddial params ----- #!ifdef WITH_SPEEDDIAL modparam("speeddial", "db_url", DBURL) modparam("speeddial", "use_domain", MULTIDOMAIN) #!endif
# ----- domain params ----- #!ifdef WITH_MULTIDOMAIN modparam("domain", "db_url", DBURL) # register callback to match myself condition with domains list modparam("domain", "register_myself", 1) #!endif
#!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
#!ifdef WITH_NAT # ----- rtpproxy params ----- modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7722")
# ----- nathelper params ----- modparam("nathelper", "natping_interval", 30) modparam("nathelper", "ping_nated_only", 1) modparam("nathelper", "sipping_bflag", FLB_NATSIPPING) modparam("nathelper", "sipping_from", "sip:pinger@kamailio.org")
# params needed for NAT traversal in other modules modparam("nathelper|registrar", "received_avp", "$avp(RECEIVED)") modparam("usrloc", "nat_bflag", FLB_NATB) #!endif
#!ifdef WITH_TLS # ----- tls params ----- modparam("tls", "config", "/usr/local/etc/kamailio/tls.cfg") #!endif
#!ifdef WITH_ANTIFLOOD # ----- pike params ----- modparam("pike", "sampling_time_unit", 2) modparam("pike", "reqs_density_per_unit", 16) modparam("pike", "remove_latency", 4)
# ----- htable params ----- # ip ban htable with autoexpire after 5 minutes modparam("htable", "htable", "ipban=>size=8;autoexpire=300;") #!endif
#!ifdef WITH_XMLRPC # ----- xmlrpc params ----- modparam("xmlrpc", "route", "XMLRPC"); modparam("xmlrpc", "url_match", "^/RPC") #!endif
#!ifdef WITH_DEBUG # ----- debugger params ----- modparam("debugger", "cfgtrace", 1) #!endif
# ----- xcap_server params ----- modparam("xcap_server", "db_url", "mysql://kamailio:kamailiorw@localhost /kamailio") #modparam("xcap_server", "xacp_table", "xcapdocs") modparam("xcap_server", "xcap_root", "/xcap-root/") modparam("xcap_server", "buf_size", 2048)
####### Routing Logic ########
######################################
#!ifdef WITH_XCAPSRV #!define WITH_XHTTPAUTH event_route[xhttp:request] { xdbg("===== xhttp: request [$rv] $rm => $hu\n"); if (!www_authorize("xcap", "subscriber")) { www_challenge("xcap", "0"); exit; } if($hu=~"^/xcap-root/") { set_reply_close(); set_reply_no_connect(); # xcap ops - break down http uri to get xcap user id $xcapuri(u=>data) = $hu; if($xcapuri(u=>xuid)=~"^sip:.+@.+") $var(uri) = $xcapuri(u=>xuid); else $var(uri) = "sip:"+ $xcapuri(u=>xuid) + "@" + $Ri; xlog("===== xhttp: $xcapuri(u=>auid) : $xcapuri(u=>xuid)\n"); # handle XCAP capability request if($rm=="GET" && $xcapuri(u=>auid)=="xcap-caps") { $var(xbody) = "<?xml version='1.0' encoding='UTF-8'?> <xcap-caps xmlns='urn:ietf:params:xml:ns:xcap-caps'> <auids> <auid>rls-services</auid> <auid>pidf-manipulation</auid> <auid>xcap-caps</auid> <auid>resource-lists</auid> <auid>pres-rules</auid> <auid>org.openmobilealliance.pres-rules</auid> </auids> <extensions> </extensions> <namespaces> <namespace>urn:ietf:params:xml:ns:rls-services</namespace> <namespace>urn:ietf:params:xml:ns:pidf</namespace> <namespace>urn:ietf:params:xml:ns:xcap-caps</namespace> <namespace>urn:ietf:params:xml:ns:resource-lists</namespace> <namespace>urn:ietf:params:xml:ns:pres-rules</namespace> </namespaces> </xcap-caps>"; xhttp_reply("200", "ok", "application/xcap-caps+xml", "$var(xbody)"); exit; } # be sure auth user access only its documents if ($au!=$(var(uri){uri.user})) { xhttp_reply("403", "Forbidden", "text/html", "operation not allowed"); exit; }
xdbg("SCRIPT: xcap service $xcapuri(u=>auid) for $xcapuri(u=>xuid)\n"); switch($rm) { case "PUT": xcaps_put("$var(uri)", "$hu", "$rb"); if($xcapuri(u=>auid)=~"pres-rules") { xlog("===== xhttp put: refreshing watchers for $var(uri)\n"); pres_update_watchers("$var(uri)", "presence"); pres_refresh_watchers("$var(uri)", "presence", 1); } exit; break; case "GET": xlog("===== xhttp: get $var(uri) => $hu\n"); xcaps_get("$var(uri)", "$hu"); exit; break; case "DELETE": xcaps_del("$var(uri)", "$hu"); if($xcapuri(u=>auid)=~"pres-rules") { xlog("===== xhttp del: refreshing watchers for $var(uri)\n"); pres_update_watchers("$var(uri)", "presence"); pres_refresh_watchers("$var(uri)", "presence", 1); } exit; break; } }
# other http requests xhttp_reply("200", "OK", "text/html", "<html><body>OK: $si:$sp</body></html>"); exit; } #!endif
###################################### # Main SIP request routing logic # - processing of any incoming SIP request starts with this route # - note: this is the same as route { ... } request_route {
# per request initial checks route(REQINIT);
# NAT detection route(NATDETECT);
# CANCEL processing if (is_method("CANCEL")) { if (t_check_trans()) { route(RELAY); } exit; }
# handle requests within SIP dialogs route(WITHINDLG);
### only initial requests (no To tag)
t_check_trans();
# authentication route(AUTH);
# record routing for dialog forming requests (in case they are routed) # - remove preloaded route headers remove_hf("Route"); if (is_method("INVITE|SUBSCRIBE")) record_route();
# account only INVITEs if (is_method("INVITE")) { setflag(FLT_ACC); # do accounting }
# dispatch requests to foreign domains route(SIPOUT);
### requests for my local domains
# handle presence related requests route(PRESENCE);
# handle registrations route(REGISTRAR);
if ($rU==$null) { # request with no Username in RURI sl_send_reply("484","Address Incomplete"); exit; }
# dispatch destinations to PSTN route(PSTN);
# user location service route(LOCATION); }
route[RELAY] {
# enable additional event routes for forwarded requests # - serial forking, RTP relaying handling, a.s.o. if (is_method("INVITE|BYE|SUBSCRIBE|UPDATE")) { if(!t_is_set("branch_route")) t_on_branch("MANAGE_BRANCH"); } if (is_method("INVITE|SUBSCRIBE|UPDATE")) { if(!t_is_set("onreply_route")) t_on_reply("MANAGE_REPLY"); } if (is_method("INVITE")) { if(!t_is_set("failure_route")) t_on_failure("MANAGE_FAILURE"); }
if (!t_relay()) { sl_reply_error(); } exit; }
# Per SIP request initial checks route[REQINIT] { #!ifdef WITH_ANTIFLOOD # flood dection from same IP and traffic ban for a while # be sure you exclude checking trusted peers, such as pstn gateways # - local host excluded (e.g., loop to self) if(src_ip!=myself) { if($sht(ipban=>$si)!=$null) { # ip is already blocked xdbg("request from blocked IP - $rm from $fu (IP:$si:$sp)\n"); exit; } if (!pike_check_req()) { xlog("L_ALERT","ALERT: pike blocking $rm from $fu (IP:$si:$sp)\n"); $sht(ipban=>$si) = 1; exit; } } #!endif
if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); exit; }
if(!sanity_check("1511", "7")) { xlog("Malformed SIP message from $si:$sp\n"); exit; } }
# Handle requests within SIP dialogs route[WITHINDLG] { if (has_totag()) { # 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 statelessy route(NATMANAGE); } else if ( is_method("NOTIFY") ) { # Add Record-Route for in-dialog NOTIFY as per RFC 6665. record_route(); } route(RELAY); } else { if (is_method("SUBSCRIBE") && uri == myself) { # in-dialog subscribe requests route(PRESENCE); exit; } if ( is_method("ACK") ) { if ( t_check_trans() ) { # no loose-route, but stateful ACK; # must be an ACK after a 487 # or e.g. 404 from upstream server route(RELAY); exit; } else { # ACK without matching transaction ... ignore and discard exit; } } sl_send_reply("404","Not here"); } exit; } }
# Handle SIP registrations route[REGISTRAR] { if (is_method("REGISTER")) { if(isflagset(FLT_NATS)) { setbflag(FLB_NATB); # uncomment next line to do SIP NAT pinging ## setbflag(FLB_NATSIPPING); } if (!save("location")) sl_reply_error();
exit; } }
# USER location service route[LOCATION] {
#!ifdef WITH_SPEEDDIAL # search for short dialing - 2-digit extension if($rU=~"^[0-9][0-9]$") if(sd_lookup("speed_dial")) route(SIPOUT); #!endif
#!ifdef WITH_ALIASDB # search in DB-based aliases if(alias_db_lookup("dbaliases")) route(SIPOUT); #!endif
$avp(oexten) = $rU; if (!lookup("location")) { $var(rc) = $rc; route(TOVOICEMAIL); t_newtran(); switch ($var(rc)) { case -1: case -3: send_reply("404", "Not Found"); exit; case -2: send_reply("405", "Method Not Allowed"); exit; } }
# when routing via usrloc, log the missed calls also if (is_method("INVITE")) { setflag(FLT_ACCMISSED); }
route(RELAY); exit; }
# Presence server route route[PRESENCE] { if(!is_method("PUBLISH|SUBSCRIBE")) return;
#!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
# if presence enabled, this part will not be executed if (is_method("PUBLISH") || $rU==$null) { sl_send_reply("404", "Not here"); exit; } return; }
# Authentication route route[AUTH] { #!ifdef WITH_AUTH
#!ifdef WITH_IPAUTH if((!is_method("REGISTER")) && allow_source_address()) { # source IP allowed return; } #!endif
if (is_method("REGISTER") || from_uri==myself) { # authenticate requests if (!auth_check("$fd", "subscriber", "1")) { auth_challenge("$fd", "0"); exit; } # user authenticated - remove auth header if(!is_method("REGISTER|PUBLISH")) consume_credentials(); } # if caller is not local subscriber, then check if it calls # a local destination, otherwise deny, not an open relay here if (from_uri!=myself && uri!=myself) { sl_send_reply("403","Not relaying"); exit; }
#!endif return; }
# Caller NAT detection route route[NATDETECT] { #!ifdef WITH_NAT force_rport(); if (nat_uac_test("19")) { if (is_method("REGISTER")) { fix_nated_register(); } else { add_contact_alias(); } setflag(FLT_NATS); } #!endif return; }
# RTPProxy control route[NATMANAGE] { #!ifdef WITH_NAT if (is_request()) { if(has_totag()) { if(check_route_param("nat=yes")) { setbflag(FLB_NATB); } } } if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB))) return;
rtpproxy_manage();
if (is_request()) { if (!has_totag()) { add_rr_param(";nat=yes"); } } if (is_reply()) { if(isbflagset(FLB_NATB)) { add_contact_alias(); } } #!endif return; }
# URI update for dialog requests route[DLGURI] { #!ifdef WITH_NAT if(!isdsturiset()) { handle_ruri_alias(); } #!endif return; }
# Routing to foreign domains route[SIPOUT] { if (!uri==myself) { append_hf("P-hint: outbound\r\n"); route(RELAY); } }
# PSTN GW routing route[PSTN] { #!ifdef WITH_PSTN # check if PSTN GW IP is defined if (strempty($sel(cfg_get.pstn.gw_ip))) { xlog("SCRIPT: PSTN rotuing enabled but pstn.gw_ip not defined\n"); return; }
# route to PSTN dialed numbers starting with '+' or '00' # (international format) # - update the condition to match your dialing rules for PSTN routing if(!($rU=~"^(+|00)[1-9][0-9]{3,20}$")) return;
# only local users allowed to call if(from_uri!=myself) { sl_send_reply("403", "Not Allowed"); exit; }
if (strempty($sel(cfg_get.pstn.gw_port))) { $ru = "sip:" + $rU + "@" + $sel(cfg_get.pstn.gw_ip); } else { $ru = "sip:" + $rU + "@" + $sel(cfg_get.pstn.gw_ip) + ":" + $sel(cfg_get.pstn.gw_port); }
route(RELAY); exit; #!endif
return; }
# XMLRPC routing #!ifdef WITH_XMLRPC route[XMLRPC] { # allow XMLRPC from localhost if ((method=="POST" || method=="GET") && (src_ip==127.0.0.1)) { # close connection only for xmlrpclib user agents (there is a bug in # xmlrpclib: it waits for EOF before interpreting the response). if ($hdr(User-Agent) =~ "xmlrpclib") set_reply_close(); set_reply_no_connect(); dispatch_rpc(); exit; } send_reply("403", "Forbidden"); exit; } #!endif
# route to voicemail server route[TOVOICEMAIL] { #!ifdef WITH_VOICEMAIL if(!is_method("INVITE")) return;
# check if VoiceMail server IP is defined if (strempty($sel(cfg_get.voicemail.srv_ip))) { xlog("SCRIPT: VoiceMail rotuing enabled but IP not defined\n"); return; } if($avp(oexten)==$null) return;
$ru = "sip:" + $avp(oexten) + "@" + $sel(cfg_get.voicemail.srv_ip) + ":" + $sel(cfg_get.voicemail.srv_port); route(RELAY); exit; #!endif
return; }
# manage outgoing branches branch_route[MANAGE_BRANCH] { xdbg("new branch [$T_branch_idx] to $ru\n"); route(NATMANAGE); }
# manage incoming replies onreply_route[MANAGE_REPLY] { xdbg("incoming reply\n"); if(status=~"[12][0-9][0-9]") route(NATMANAGE); }
# manage failure routing cases failure_route[MANAGE_FAILURE] { route(NATMANAGE);
if (t_is_canceled()) { exit; }
#!ifdef WITH_BLOCK3XX # block call redirect based on 3xx replies. if (t_check_status("3[0-9][0-9]")) { t_reply("404","Not found"); exit; } #!endif
#!ifdef WITH_VOICEMAIL # serial forking # - route to voicemail on busy or no answer (timeout) if (t_check_status("486|408")) { route(TOVOICEMAIL); exit; } #!endif }
On Tue, Jul 9, 2013 at 5:23 AM, Daniel-Constantin Mierla miconda@gmail.comwrote:
On 7/8/13 4:36 PM, Kethzer Docteur wrote:
I'm trying to get cap_server.so running in kamailio so i can pull contact list from the server to the client. I install all the dependencies I saw in the documentation but it isn't working. Please let me know if I'm doing something wrong. I attach my debug file, the dependency install plus my syslog file. Thanks for the help.
It seems you don't have db_mysql installed or loaded.
Cheers, Daniel
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/**micondahttp://www.linkedin.com/in/miconda
______________________________**_________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**usershttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
error message are coming from thos 2 lines #!ifdef WITH_XCAPSRV #!define WITH_XHTTPAUTH event_route[xhttp:request] { xdbg("===== xhttp: request [$rv] $rm => $hu\n"); unknown command, missing loadmodule? if (!www_authorize("xcap", "subscriber")) { www_challenge("xcap", "0"); unknown command, missing loadmodule? exit;
On Tue, Jul 9, 2013 at 10:35 AM, Kethzer Docteur kethzer.dr@gmail.comwrote:
I resolve this problem with that #!define WITH_MYSQL. Here is my config file, the Xcap part isn't working at all.
#!KAMAILIO # # Kamailio (OpenSER) SIP Server v4.0 - default configuration script # - web: http://www.kamailio.org # - git: http://sip-router.org # # Direct your questions about this file to: <sr-users@lists.sip-router.org
# # Refer to the Core CookBook at http://www.kamailio.org/wiki/ # for an explanation of possible statements, functions and parameters. # # Several features can be enabled using '#!define WITH_FEATURE' directives: # # *** To run in debug mode: # - define WITH_DEBUG # # *** To enable mysql: # - define WITH_MYSQL # # *** To enable authentication execute: # - enable mysql # - define WITH_AUTH # - add users using 'kamctl' # # *** To enable IP authentication execute: # - enable mysql # - enable authentication # - define WITH_IPAUTH # - add IP addresses with group id '1' to 'address' table # # *** To enable persistent user location execute: # - enable mysql # - define WITH_USRLOCDB # # *** To enable presence server execute: # - enable mysql # - define WITH_PRESENCE # # *** To enable nat traversal execute: # - define WITH_NAT # - install RTPProxy: http://www.rtpproxy.org # - start RTPProxy: # rtpproxy -l _your_public_ip_ -s udp:localhost:7722 # # *** To enable PSTN gateway routing execute: # - define WITH_PSTN # - set the value of pstn.gw_ip # - check route[PSTN] for regexp routing condition # # *** To enable database aliases lookup execute: # - enable mysql # - define WITH_ALIASDB # # *** To enable speed dial lookup execute: # - enable mysql # - define WITH_SPEEDDIAL # # *** To enable multi-domain support execute: # - enable mysql # - define WITH_MULTIDOMAIN # # *** To enable TLS support execute: # - adjust CFGDIR/tls.cfg as needed # - define WITH_TLS # # *** To enable XMLRPC support execute: # - define WITH_XMLRPC # - adjust route[XMLRPC] for access policy # # *** To enable anti-flood detection execute: # - adjust pike and htable=>ipban settings as needed (default is # block if more than 16 requests in 2 seconds and ban for 300 seconds) # - define WITH_ANTIFLOOD # # *** To block 3XX redirect replies execute: # - define WITH_BLOCK3XX # # *** To enable VoiceMail routing execute: # - define WITH_VOICEMAIL # - set the value of voicemail.srv_ip # - adjust the value of voicemail.srv_port # # *** To enhance accounting execute: # - enable mysql # - define WITH_ACCDB # - add following columns to database #!ifdef ACCDB_COMMENT ALTER TABLE acc ADD COLUMN src_user VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE acc ADD COLUMN src_domain VARCHAR(128) NOT NULL DEFAULT ''; ALTER TABLE acc ADD COLUMN src_ip varchar(64) NOT NULL default ''; ALTER TABLE acc ADD COLUMN dst_ouser VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE acc ADD COLUMN dst_user VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE acc ADD COLUMN dst_domain VARCHAR(128) NOT NULL DEFAULT ''; ALTER TABLE missed_calls ADD COLUMN src_user VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE missed_calls ADD COLUMN src_domain VARCHAR(128) NOT NULL DEFAULT ''; ALTER TABLE missed_calls ADD COLUMN src_ip varchar(64) NOT NULL default ''; ALTER TABLE missed_calls ADD COLUMN dst_ouser VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE missed_calls ADD COLUMN dst_user VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE missed_calls ADD COLUMN dst_domain VARCHAR(128) NOT NULL DEFAULT ''; #!endif
####### Include Local Config If Exists ######### import_file "kamailio-local.cfg"
####### Defined Values #########
# *** Value defines - IDs used later in config #!define WITH_PRESENCE #!define WITH_XCAPSRV #!define WITH_NAT #!define WITH_TLS #!define WITH_ANTIFLOOD #!define WITH_MYSQL #!ifdef WITH_MYSQL # - database URL - used to connect to database server by modules such # as: auth_db, acc, usrloc, a.s.o. #!ifndef DBURL #!define DBURL "mysql://kamailio:kamailiorw@localhost/kamailio" #!endif #!endif #!ifdef WITH_MULTIDOMAIN # - the value for 'use_domain' parameters #!define MULTIDOMAIN 1 #!else #!define MULTIDOMAIN 0 #!endif
# - flags # FLT_ - per transaction (message) flags # FLB_ - per branch flags #!define FLT_ACC 1 #!define FLT_ACCMISSED 2 #!define FLT_ACCFAILED 3 #!define FLT_NATS 5
#!define FLB_NATB 6 #!define FLB_NATSIPPING 7
####### Global Parameters #########
### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR #!ifdef WITH_DEBUG debug=3 log_stderror=yes #!else debug=2 log_stderror=no #!endif
memdbg=5 memlog=5
log_facility=LOG_LOCAL0
fork=yes children=4
/* uncomment the next line to disable TCP (default on) */ #disable_tcp=yes
/* uncomment the next line to disable the auto discovery of local aliases based on reverse DNS on IPs (default on) */ #auto_aliases=no
/* add local domain aliases */ #alias="sip.mydomain.com"
/* uncomment and configure the following line if you want Kamailio to bind on a specific interface/port/proto (default bind on all available) */ #listen=udp:10.0.0.10:5060
/* port to listen to
- can be specified more than once if needed to listen on many ports */
port=5060
#!ifdef WITH_TLS enable_tls=yes #!endif
# to allow HTTP requests #tcp_accept_no_cl=yes
#!ifdef WITH_XCAPSRV tcp_accept_no_cl=yes #!endif
# life time of TCP connection when there is no traffic # - a bit higher than registration expires to cope with UA behind NAT #tcp_connection_lifetime=3605 tcp_connection_lifetime=3064
####### Custom Parameters #########
# These parameters can be modified runtime via RPC interface # - see the documentation of 'cfg_rpc' module. # # Format: group.id = value 'desc' description # Access: $sel(cfg_get.group.id) or @cfg_get.group.id #
#!ifdef WITH_PSTN # PSTN GW Routing # # - pstn.gw_ip: valid IP or hostname as string value, example: # pstn.gw_ip = "10.0.0.101" desc "My PSTN GW Address" # # - by default is empty to avoid misrouting pstn.gw_ip = "" desc "PSTN GW Address" pstn.gw_port = "" desc "PSTN GW Port" #!endif
#!ifdef WITH_VOICEMAIL # VoiceMail Routing on offline, busy or no answer # # - by default Voicemail server IP is empty to avoid misrouting voicemail.srv_ip = "" desc "VoiceMail IP Address" voicemail.srv_port = "5060" desc "VoiceMail Port" #!endif
####### Modules Section ########
# set paths to location of modules (to sources or installation folders) #!ifdef WITH_SRCPATH mpath="modules_k:modules" #!else mpath="/usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/" #!endif
#!ifdef WITH_MYSQL loadmodule "db_mysql.so" #!endif
loadmodule "mi_fifo.so" loadmodule "kex.so" loadmodule "corex.so" loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "rr.so" loadmodule "pv.so" loadmodule "maxfwd.so" loadmodule "usrloc.so" loadmodule "registrar.so" loadmodule "textops.so" loadmodule "siputils.so" loadmodule "xlog.so" loadmodule "sanity.so" loadmodule "ctl.so" loadmodule "cfg_rpc.so" loadmodule "mi_rpc.so" loadmodule "acc.so" #loadmodule "xcap_client"
#!ifdef WITH_AUTH loadmodule "auth.so" loadmodule "auth_db.so" #!ifdef WITH_IPAUTH loadmodule "permissions.so" #!endif #!endif
#!ifdef WITH_ALIASDB loadmodule "alias_db.so" #!endif
#!ifdef WITH_SPEEDDIAL loadmodule "speeddial.so" #!endif
#!ifdef WITH_MULTIDOMAIN loadmodule "domain.so" #!endif
#!ifdef WITH_PRESENCE loadmodule "presence.so" loadmodule "presence_xml.so" #!endif
#!ifdef WITH_NAT loadmodule "nathelper.so" loadmodule "rtpproxy.so" #!endif
#!ifdef WITH_TLS loadmodule "tls.so" #!endif
#!ifdef WITH_ANTIFLOOD loadmodule "htable.so" loadmodule "pike.so" #!endif
#!ifdef WITH_XMLRPC loadmodule "xmlrpc.so" #!endif
#!ifdef WITH_XCAP_SERVER #loadmodule "xcap_server.so" #!endif
#!ifdef WITH_DEBUG loadmodule "debugger.so" #!endif
#!ifdef WITH_XCAPSRV loadmodule "xhttp.so" loadmodule "xcap_server.so" #!endif
# ----------------- setting module-specific parameters ---------------
# ----- mi_fifo params ----- modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")
# ----- tm params ----- # auto-discard branches from previous serial forking leg modparam("tm", "failure_reply_mode", 3) # default retransmission timeout: 30sec modparam("tm", "fr_timer", 30000) # default invite retransmission timeout after 1xx: 120sec modparam("tm", "fr_inv_timer", 120000)
# ----- rr params ----- # add value to ;lr param to cope with most of the UAs modparam("rr", "enable_full_lr", 1) # do not append from tag to the RR (no need for this script) modparam("rr", "append_fromtag", 0)
# ----- registrar params ----- modparam("registrar", "method_filtering", 1) /* uncomment the next line to disable parallel forking via location */ # modparam("registrar", "append_branches", 0) /* uncomment the next line not to allow more than 10 contacts per AOR */ #modparam("registrar", "max_contacts", 10) # max value for expires of registrations modparam("registrar", "max_expires", 3600) # set it to 1 to enable GRUU modparam("registrar", "gruu_enabled", 0)
# ----- acc params ----- /* what special events should be accounted ? */ modparam("acc", "early_media", 0) modparam("acc", "report_ack", 0) modparam("acc", "report_cancels", 0) /* by default ww do not adjust the direct of the sequential requests. if you enable this parameter, be sure the enable "append_fromtag" in "rr" module */ modparam("acc", "detect_direction", 0) /* account triggers (flags) */ modparam("acc", "log_flag", FLT_ACC) modparam("acc", "log_missed_flag", FLT_ACCMISSED) modparam("acc", "log_extra", "src_user=$fU;src_domain=$fd;src_ip=$si;" "dst_ouser=$tU;dst_user=$rU;dst_domain=$rd") modparam("acc", "failed_transaction_flag", FLT_ACCFAILED) /* enhanced DB accounting */ #!ifdef WITH_ACCDB modparam("acc", "db_flag", FLT_ACC) modparam("acc", "db_missed_flag", FLT_ACCMISSED) modparam("acc", "db_url", DBURL) modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;src_ip=$si;" "dst_ouser=$tU;dst_user=$rU;dst_domain=$rd") #!endif
# ----- usrloc params ----- /* enable DB persistency for location entries */ #!ifdef WITH_USRLOCDB modparam("usrloc", "db_url", DBURL) modparam("usrloc", "db_mode", 2) modparam("usrloc", "use_domain", MULTIDOMAIN) #!endif
# ----- auth_db params ----- #!ifdef WITH_AUTH modparam("auth_db", "db_url", DBURL) modparam("auth_db", "calculate_ha1", yes) modparam("auth_db", "password_column", "password") modparam("auth_db", "load_credentials", "") modparam("auth_db", "use_domain", MULTIDOMAIN)
# ----- permissions params ----- #!ifdef WITH_IPAUTH modparam("permissions", "db_url", DBURL) modparam("permissions", "db_mode", 1) #!endif
#!endif
# ----- alias_db params ----- #!ifdef WITH_ALIASDB modparam("alias_db", "db_url", DBURL) modparam("alias_db", "use_domain", MULTIDOMAIN) #!endif
# ----- speeddial params ----- #!ifdef WITH_SPEEDDIAL modparam("speeddial", "db_url", DBURL) modparam("speeddial", "use_domain", MULTIDOMAIN) #!endif
# ----- domain params ----- #!ifdef WITH_MULTIDOMAIN modparam("domain", "db_url", DBURL) # register callback to match myself condition with domains list modparam("domain", "register_myself", 1) #!endif
#!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
#!ifdef WITH_NAT # ----- rtpproxy params ----- modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7722")
# ----- nathelper params ----- modparam("nathelper", "natping_interval", 30) modparam("nathelper", "ping_nated_only", 1) modparam("nathelper", "sipping_bflag", FLB_NATSIPPING) modparam("nathelper", "sipping_from", "sip:pinger@kamailio.org")
# params needed for NAT traversal in other modules modparam("nathelper|registrar", "received_avp", "$avp(RECEIVED)") modparam("usrloc", "nat_bflag", FLB_NATB) #!endif
#!ifdef WITH_TLS # ----- tls params ----- modparam("tls", "config", "/usr/local/etc/kamailio/tls.cfg") #!endif
#!ifdef WITH_ANTIFLOOD # ----- pike params ----- modparam("pike", "sampling_time_unit", 2) modparam("pike", "reqs_density_per_unit", 16) modparam("pike", "remove_latency", 4)
# ----- htable params ----- # ip ban htable with autoexpire after 5 minutes modparam("htable", "htable", "ipban=>size=8;autoexpire=300;") #!endif
#!ifdef WITH_XMLRPC # ----- xmlrpc params ----- modparam("xmlrpc", "route", "XMLRPC"); modparam("xmlrpc", "url_match", "^/RPC") #!endif
#!ifdef WITH_DEBUG # ----- debugger params ----- modparam("debugger", "cfgtrace", 1) #!endif
# ----- xcap_server params ----- modparam("xcap_server", "db_url", "mysql://kamailio:kamailiorw@localhost /kamailio") #modparam("xcap_server", "xacp_table", "xcapdocs") modparam("xcap_server", "xcap_root", "/xcap-root/") modparam("xcap_server", "buf_size", 2048)
####### Routing Logic ########
######################################
#!ifdef WITH_XCAPSRV #!define WITH_XHTTPAUTH event_route[xhttp:request] { xdbg("===== xhttp: request [$rv] $rm => $hu\n"); if (!www_authorize("xcap", "subscriber")) { www_challenge("xcap", "0"); exit; } if($hu=~"^/xcap-root/") { set_reply_close(); set_reply_no_connect(); # xcap ops - break down http uri to get xcap user id $xcapuri(u=>data) = $hu; if($xcapuri(u=>xuid)=~"^sip:.+@.+") $var(uri) = $xcapuri(u=>xuid); else $var(uri) = "sip:"+ $xcapuri(u=>xuid) + "@" + $Ri; xlog("===== xhttp: $xcapuri(u=>auid) : $xcapuri(u=>xuid)\n"); # handle XCAP capability request if($rm=="GET" && $xcapuri(u=>auid)=="xcap-caps") { $var(xbody) = "<?xml version='1.0' encoding='UTF-8'?>
<xcap-caps xmlns='urn:ietf:params:xml:ns:xcap-caps'> <auids> <auid>rls-services</auid> <auid>pidf-manipulation</auid> <auid>xcap-caps</auid> <auid>resource-lists</auid> <auid>pres-rules</auid> <auid>org.openmobilealliance.pres-rules</auid> </auids> <extensions> </extensions> <namespaces> <namespace>urn:ietf:params:xml:ns:rls-services</namespace> <namespace>urn:ietf:params:xml:ns:pidf</namespace> <namespace>urn:ietf:params:xml:ns:xcap-caps</namespace> <namespace>urn:ietf:params:xml:ns:resource-lists</namespace> <namespace>urn:ietf:params:xml:ns:pres-rules</namespace> </namespaces> </xcap-caps>"; xhttp_reply("200", "ok", "application/xcap-caps+xml", "$var(xbody)"); exit; } # be sure auth user access only its documents if ($au!=$(var(uri){uri.user})) { xhttp_reply("403", "Forbidden", "text/html", "operation not allowed"); exit; }
xdbg("SCRIPT: xcap service $xcapuri(u=>auid) for
$xcapuri(u=>xuid)\n"); switch($rm) { case "PUT": xcaps_put("$var(uri)", "$hu", "$rb"); if($xcapuri(u=>auid)=~"pres-rules") { xlog("===== xhttp put: refreshing watchers for $var(uri)\n"); pres_update_watchers("$var(uri)", "presence"); pres_refresh_watchers("$var(uri)", "presence", 1); } exit; break; case "GET": xlog("===== xhttp: get $var(uri) => $hu\n"); xcaps_get("$var(uri)", "$hu"); exit; break; case "DELETE": xcaps_del("$var(uri)", "$hu"); if($xcapuri(u=>auid)=~"pres-rules") { xlog("===== xhttp del: refreshing watchers for $var(uri)\n"); pres_update_watchers("$var(uri)", "presence"); pres_refresh_watchers("$var(uri)", "presence", 1); } exit; break; } }
# other http requests xhttp_reply("200", "OK", "text/html", "<html><body>OK: $si:$sp</body></html>"); exit;
} #!endif
###################################### # Main SIP request routing logic # - processing of any incoming SIP request starts with this route # - note: this is the same as route { ... } request_route {
# per request initial checks route(REQINIT); # NAT detection route(NATDETECT); # CANCEL processing if (is_method("CANCEL")) { if (t_check_trans()) { route(RELAY); } exit; } # handle requests within SIP dialogs route(WITHINDLG); ### only initial requests (no To tag) t_check_trans(); # authentication route(AUTH); # record routing for dialog forming requests (in case they are routed) # - remove preloaded route headers remove_hf("Route"); if (is_method("INVITE|SUBSCRIBE")) record_route(); # account only INVITEs if (is_method("INVITE")) { setflag(FLT_ACC); # do accounting } # dispatch requests to foreign domains route(SIPOUT); ### requests for my local domains # handle presence related requests route(PRESENCE); # handle registrations route(REGISTRAR); if ($rU==$null) { # request with no Username in RURI sl_send_reply("484","Address Incomplete"); exit; } # dispatch destinations to PSTN route(PSTN); # user location service route(LOCATION);
}
route[RELAY] {
# enable additional event routes for forwarded requests # - serial forking, RTP relaying handling, a.s.o. if (is_method("INVITE|BYE|SUBSCRIBE|UPDATE")) { if(!t_is_set("branch_route")) t_on_branch("MANAGE_BRANCH"); } if (is_method("INVITE|SUBSCRIBE|UPDATE")) { if(!t_is_set("onreply_route")) t_on_reply("MANAGE_REPLY"); } if (is_method("INVITE")) { if(!t_is_set("failure_route")) t_on_failure("MANAGE_FAILURE"); } if (!t_relay()) { sl_reply_error(); } exit;
}
# Per SIP request initial checks route[REQINIT] { #!ifdef WITH_ANTIFLOOD # flood dection from same IP and traffic ban for a while # be sure you exclude checking trusted peers, such as pstn gateways # - local host excluded (e.g., loop to self) if(src_ip!=myself) { if($sht(ipban=>$si)!=$null) { # ip is already blocked xdbg("request from blocked IP - $rm from $fu (IP:$si:$sp)\n"); exit; } if (!pike_check_req()) { xlog("L_ALERT","ALERT: pike blocking $rm from $fu (IP:$si:$sp)\n"); $sht(ipban=>$si) = 1; exit; } } #!endif
if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); exit; } if(!sanity_check("1511", "7")) { xlog("Malformed SIP message from $si:$sp\n"); exit; }
}
# Handle requests within SIP dialogs route[WITHINDLG] { if (has_totag()) { # 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 statelessy route(NATMANAGE); } else if ( is_method("NOTIFY") ) { # Add Record-Route for in-dialog NOTIFY as per RFC 6665. record_route(); } route(RELAY); } else { if (is_method("SUBSCRIBE") && uri == myself) { # in-dialog subscribe requests route(PRESENCE); exit; } if ( is_method("ACK") ) { if ( t_check_trans() ) { # no loose-route, but stateful ACK; # must be an ACK after a 487 # or e.g. 404 from upstream server route(RELAY); exit; } else { # ACK without matching transaction ... ignore and discard exit; } } sl_send_reply("404","Not here"); } exit; } }
# Handle SIP registrations route[REGISTRAR] { if (is_method("REGISTER")) { if(isflagset(FLT_NATS)) { setbflag(FLB_NATB); # uncomment next line to do SIP NAT pinging ## setbflag(FLB_NATSIPPING); } if (!save("location")) sl_reply_error();
exit; }
}
# USER location service route[LOCATION] {
#!ifdef WITH_SPEEDDIAL # search for short dialing - 2-digit extension if($rU=~"^[0-9][0-9]$") if(sd_lookup("speed_dial")) route(SIPOUT); #!endif
#!ifdef WITH_ALIASDB # search in DB-based aliases if(alias_db_lookup("dbaliases")) route(SIPOUT); #!endif
$avp(oexten) = $rU; if (!lookup("location")) { $var(rc) = $rc; route(TOVOICEMAIL); t_newtran(); switch ($var(rc)) { case -1: case -3: send_reply("404", "Not Found"); exit; case -2: send_reply("405", "Method Not Allowed"); exit; } } # when routing via usrloc, log the missed calls also if (is_method("INVITE")) { setflag(FLT_ACCMISSED); } route(RELAY); exit;
}
# Presence server route route[PRESENCE] { if(!is_method("PUBLISH|SUBSCRIBE")) return;
#!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
# if presence enabled, this part will not be executed if (is_method("PUBLISH") || $rU==$null) { sl_send_reply("404", "Not here"); exit; } return;
}
# Authentication route route[AUTH] { #!ifdef WITH_AUTH
#!ifdef WITH_IPAUTH if((!is_method("REGISTER")) && allow_source_address()) { # source IP allowed return; } #!endif
if (is_method("REGISTER") || from_uri==myself) { # authenticate requests if (!auth_check("$fd", "subscriber", "1")) { auth_challenge("$fd", "0"); exit; } # user authenticated - remove auth header if(!is_method("REGISTER|PUBLISH")) consume_credentials(); } # if caller is not local subscriber, then check if it calls # a local destination, otherwise deny, not an open relay here if (from_uri!=myself && uri!=myself) { sl_send_reply("403","Not relaying"); exit; }
#!endif return; }
# Caller NAT detection route route[NATDETECT] { #!ifdef WITH_NAT force_rport(); if (nat_uac_test("19")) { if (is_method("REGISTER")) { fix_nated_register(); } else { add_contact_alias(); } setflag(FLT_NATS); } #!endif return; }
# RTPProxy control route[NATMANAGE] { #!ifdef WITH_NAT if (is_request()) { if(has_totag()) { if(check_route_param("nat=yes")) { setbflag(FLB_NATB); } } } if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB))) return;
rtpproxy_manage(); if (is_request()) { if (!has_totag()) { add_rr_param(";nat=yes"); } } if (is_reply()) { if(isbflagset(FLB_NATB)) { add_contact_alias(); } }
#!endif return; }
# URI update for dialog requests route[DLGURI] { #!ifdef WITH_NAT if(!isdsturiset()) { handle_ruri_alias(); } #!endif return; }
# Routing to foreign domains route[SIPOUT] { if (!uri==myself) { append_hf("P-hint: outbound\r\n"); route(RELAY); } }
# PSTN GW routing route[PSTN] { #!ifdef WITH_PSTN # check if PSTN GW IP is defined if (strempty($sel(cfg_get.pstn.gw_ip))) { xlog("SCRIPT: PSTN rotuing enabled but pstn.gw_ip not defined\n"); return; }
# route to PSTN dialed numbers starting with '+' or '00' # (international format) # - update the condition to match your dialing rules for PSTN routing if(!($rU=~"^(\+|00)[1-9][0-9]{3,20}$")) return; # only local users allowed to call if(from_uri!=myself) { sl_send_reply("403", "Not Allowed"); exit; } if (strempty($sel(cfg_get.pstn.gw_port))) { $ru = "sip:" + $rU + "@" + $sel(cfg_get.pstn.gw_ip); } else { $ru = "sip:" + $rU + "@" + $sel(cfg_get.pstn.gw_ip) + ":" + $sel(cfg_get.pstn.gw_port); } route(RELAY); exit;
#!endif
return;
}
# XMLRPC routing #!ifdef WITH_XMLRPC route[XMLRPC] { # allow XMLRPC from localhost if ((method=="POST" || method=="GET") && (src_ip==127.0.0.1)) { # close connection only for xmlrpclib user agents (there is a bug in # xmlrpclib: it waits for EOF before interpreting the response). if ($hdr(User-Agent) =~ "xmlrpclib") set_reply_close(); set_reply_no_connect(); dispatch_rpc(); exit; } send_reply("403", "Forbidden"); exit; } #!endif
# route to voicemail server route[TOVOICEMAIL] { #!ifdef WITH_VOICEMAIL if(!is_method("INVITE")) return;
# check if VoiceMail server IP is defined if (strempty($sel(cfg_get.voicemail.srv_ip))) { xlog("SCRIPT: VoiceMail rotuing enabled but IP not defined\n"); return; } if($avp(oexten)==$null) return; $ru = "sip:" + $avp(oexten) + "@" + $sel(cfg_get.voicemail.srv_ip) + ":" + $sel(cfg_get.voicemail.srv_port); route(RELAY); exit;
#!endif
return;
}
# manage outgoing branches branch_route[MANAGE_BRANCH] { xdbg("new branch [$T_branch_idx] to $ru\n"); route(NATMANAGE); }
# manage incoming replies onreply_route[MANAGE_REPLY] { xdbg("incoming reply\n"); if(status=~"[12][0-9][0-9]") route(NATMANAGE); }
# manage failure routing cases failure_route[MANAGE_FAILURE] { route(NATMANAGE);
if (t_is_canceled()) { exit; }
#!ifdef WITH_BLOCK3XX # block call redirect based on 3xx replies. if (t_check_status("3[0-9][0-9]")) { t_reply("404","Not found"); exit; } #!endif
#!ifdef WITH_VOICEMAIL # serial forking # - route to voicemail on busy or no answer (timeout) if (t_check_status("486|408")) { route(TOVOICEMAIL); exit; } #!endif }
On Tue, Jul 9, 2013 at 5:23 AM, Daniel-Constantin Mierla < miconda@gmail.com> wrote:
On 7/8/13 4:36 PM, Kethzer Docteur wrote:
I'm trying to get cap_server.so running in kamailio so i can pull contact list from the server to the client. I install all the dependencies I saw in the documentation but it isn't working. Please let me know if I'm doing something wrong. I attach my debug file, the dependency install plus my syslog file. Thanks for the help.
It seems you don't have db_mysql installed or loaded.
Cheers, Daniel
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/**micondahttp://www.linkedin.com/in/miconda
______________________________**_________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**usershttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Kethzer Docteur
Those functions are from xlog and auth_db modules, but probably the errors are from www_authorize and www_challenge functions, both being in the auth_db module.
If based on default config, you have to define WITH_AUTH
Cheers, Daniel
On 7/9/13 4:39 PM, Kethzer Docteur wrote:
error message are coming from thos 2 lines #!ifdef WITH_XCAPSRV #!define WITH_XHTTPAUTH event_route[xhttp:request] { xdbg("===== xhttp: request [$rv] $rm => $hu\n"); unknown command, missing loadmodule? if (!www_authorize("xcap", "subscriber")) { www_challenge("xcap", "0"); unknown command, missing loadmodule? exit;