我正在尝试使用topoh模块设置Kamailio服务器(我想扩展topoh模块并开发自己的模块)但是当我启动kamailio
时,会出现以下错误:
0(3446) WARNING: <core> [socket_info.c:1407]: fix_hostname(): WARNING: fix_hostname: could not rev. resolve 192.168.188.143
WARNING: no fork mode
0(3446) INFO: <core> [tcp_main.c:4846]: init_tcp(): init_tcp: using epoll_lt as the io watch method (auto detected)
0(3446) INFO: rr [../outbound/api.h:49]: ob_load_api(): Failed to import bind_ob
0(3446) INFO: rr [rr_mod.c:159]: mod_init(): outbound module not available
0(3446) INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size 512
0(3446) INFO: auth [auth_mod.c:350]: mod_init(): auth: qop set, but nonce-count (nc_enabled) support disabled
0(3446) INFO: <core> [udp_server.c:179]: probe_max_receive_buffer(): INFO: udp_init: SO_RCVBUF is initially 163840
0(3446) INFO: <core> [udp_server.c:230]: probe_max_receive_buffer(): INFO: udp_init: SO_RCVBUF is finally 327680
4(3451) INFO: ctl [io_listener.c:225]: io_listen_loop(): io_listen_loop: using epoll_lt io watch method (config)
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=469 a=5 n=route
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=579 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=574 a=25 n=mf_process_maxfwd_header
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=584 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=579 a=26 n=sanity_check
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=472 a=5 n=route
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=772 a=2 n=return
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=484 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=475 a=25 n=is_method
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=484 a=5 n=route
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=628 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=588 a=24 n=has_totag
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=488 a=24 n=t_check_trans
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=491 a=5 n=route
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=749 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=736 a=25 n=is_method
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=744 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=739 a=27 n=auth_check
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=740 a=26 n=auth_challenge
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=741 a=2 n=exit
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=469 a=5 n=route
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=579 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=574 a=25 n=mf_process_maxfwd_header
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=584 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=579 a=26 n=sanity_check
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=472 a=5 n=route
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=772 a=2 n=return
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=484 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=475 a=25 n=is_method
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=484 a=5 n=route
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=628 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=588 a=24 n=has_totag
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=488 a=24 n=t_check_trans
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=491 a=5 n=route
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=749 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=736 a=25 n=is_method
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=744 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=739 a=27 n=auth_check
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=746 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=744 a=25 n=is_method
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=756 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=756 a=2 n=return
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=495 a=25 n=remove_hf
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=500 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=496 a=25 n=is_method
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=506 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=500 a=25 n=is_method
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=506 a=5 n=route
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=823 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=511 a=5 n=route
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=716 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=691 a=25 n=is_method
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=721 a=16 n=if
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=716 a=25 n=is_method
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=718 a=26 n=sl_send_reply
0(3446) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=719 a=2 n=exit
有人可以帮我解决这些错误吗?提前致谢
答案 0 :(得分:2)
我发现这些消息是由Kamailio的调试器模块(http://www.kamailio.org/docs/modules/3.2.x/modules/debugger.html)生成的。我可以通过在kamailio.cfg
中设置modparam("debugger", "cfgtrace", 0)
来关闭它们
答案 1 :(得分:0)
http://www.kamailio.org/docs/modules/3.2.x/modules/debugger.html:
以上示例用于注册版本3.1.0的默认配置,无需身份验证。列出的字段是:'c' - 配置文件; 'l' - 线; 'a' - 内部行动ID; 'n' - 已执行操作的名称。打印'ERROR'前缀,因为这些消息已发送到L_ERR日志级别。