how to view rtp proxy logs separately . I actually want to view kamailio and rtp proxy logs differently.So I want to know that what are the command to view RTP proxy logs .can anyone help me ?
RTP Proxy logs view
log-filesrtp
log-filesrtp
how to view rtp proxy logs separately . I actually want to view kamailio and rtp proxy logs differently.So I want to know that what are the command to view RTP proxy logs .can anyone help me ?
Best Answer
you can use syslog engine to separete them.in syslog.conf add a local lines and number as it has examples.
RTPPROXY : instead of LOG_DEAMON , put lOCAL(NUMBER) rtpproxy -l 120.76.118.128 -s udp:127.0.0.1:7722 -F -m 10000 -M 20000 -d DBUG:LOG_DAEMON
KAMAILIO : in .cfg file , there is a log_facility. set this parameter as defined syslog.conf.
you can add separetly lines different files as example.
kamailio.cfg
rsyslog.conf