Hello,
even with log on console I do not get anything yet.
[root@pabxmodelo ~]# /usr/sbin/kamailio -P /var/run/kamailio.pid -m 64 -M 8 -u kamailio -g kamailio loading modules under config path: /usr/lib64/kamailio/modules/ Listening on udp: PUBLIC_IP:5060 Aliases: udp: PUBLIC_HOSTNAME:5060
WARNING: no fork mode 0(9355) INFO: <core> [tcp_main.c:4745]: init_tcp(): using epoll_lt as the io watch method (auto detected) 0(9355) INFO: rr [../outbound/api.h:54]: ob_load_api(): Failed to import bind_ob 0(9355) INFO: rr [rr_mod.c:160]: mod_init(): outbound module not available 0(9355) INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size 1024 0(9355) INFO: <core> [udp_server.c:175]: probe_max_receive_buffer(): SO_RCVBUF is initially 212992 0(9355) INFO: <core> [udp_server.c:225]: probe_max_receive_buffer(): SO_RCVBUF is finally 425984 4(9359) INFO: ctl [io_listener.c:225]: io_listen_loop(): io_listen_loop: using epoll_lt io watch method (config)
Thank you
--------------------------------------------
Bruno H. G. Gouvêa
CEO - CiberCloud LTDA http://cibercloud.com.br http://ligou.me bruno@cibercloud.com.br
---
2017-10-12 7:26 GMT-03:00 Daniel-Constantin Mierla miconda@gmail.com:
Hello,
On 11.10.17 22:31, Bruno Henrique Gomes Gouvêa wrote:
Thanks for the reply.
journalctl does not show me any additional information as well. I changed the log to /var/log/kamailio.log using: debug = 3; log_stderror = no; log_facility = LOG_LOCAL6 and in rsyslog.conf local6. * /var/log/kamailio.log
but I still see the initialization of kamailio correctly, but no log of incoming requests: request_route { log ("Log main request"); xlog ("L_INFO", "Log main request 2");
I assume this line should be executed on any received request right?
yes, if the xlog() is at the top of request_route, it should be printed for each valid request received by Kamailio.
Can you set log_stderror=yes and see if the messages are printed in the terminal?
Cheers, Daniel
-- Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training, in Berlin, Nov 13-15, 2017 - www.asipto.com Kamailio World Conference - www.kamailioworld.com