Hi to all, I’m using “kamailio” command to see alerts,notices and warnings but it also starts a new kamailio process.Is there a way to see command line without starting a new kamailio process? I need something just like asterisk –rvvvvvvvvvvv in asterisk. Thanks in Advance.
On 28 Apr 2014, at 09:07, betul.cerit@netgsm.com.tr betul.cerit@netgsm.com.tr wrote:
Hi to all, I’m using “kamailio” command to see alerts,notices and warnings but it also starts a new kamailio process.Is there a way to see command line without starting a new kamailio process? I need something just like asterisk –rvvvvvvvvvvv in asterisk.
Note that there is NO command line in Kamailio. You have kamcmd to run a few commands, but you will not get any logging. Kamailio logs everything to syslog, so depending on your syslog configuration it ends up in /var/log/messages or /var/log/syslog or somewhere else.
Running something like
tail -f /var/log/syslog |grep kamailio
can give you the logs flowing on a screen. You can also configure xlog and syslog to set up a separate kamailio log file.
/O
Thank you so much.That makes sense.I will give it a try. From: Olle E. Johansson Sent: Monday, April 28, 2014 10:12 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] kamailio command line On 28 Apr 2014, at 09:07, betul.cerit@netgsm.com.tr betul.cerit@netgsm.com.tr wrote:
Hi to all, I’m using “kamailio” command to see alerts,notices and warnings but it also starts a new kamailio process.Is there a way to see command line without starting a new kamailio process? I need something just like asterisk –rvvvvvvvvvvv in asterisk.
Note that there is NO command line in Kamailio. You have kamcmd to run a few commands, but you will not get any logging. Kamailio logs everything to syslog, so depending on your syslog configuration it ends up in /var/log/messages or /var/log/syslog or somewhere else. Running something like tail -f /var/log/syslog |grep kamailio can give you the logs flowing on a screen. You can also configure xlog and syslog to set up a separate kamailio log file. /O
-------------------------------------------------------------------------------- _______________________________________________ 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-users