diff --git a/bin/config_debug.pl b/bin/config_debug.pl index 0a4ba2d6..f77c77cc 100755 --- a/bin/config_debug.pl +++ b/bin/config_debug.pl @@ -118,6 +118,7 @@ else $yaml->{security}->{ngcp_panel}->{scripts}->{restapi}->{sslverify} = 'no'; $yaml->{mediator}{interval} = '1'; # Necessary to speedup the creation of the CDRs $yaml->{rtpproxy}{delete_delay} = '5'; # Necessary to speedup the deletetion of the used ports in rtpengine + $yaml->{rtpproxy}{log_level} = '7'; $net_yaml = LoadFile($file_net_yaml); $net_yaml->{hosts_common}->{etc_hosts_global_extra_entries} //= (); diff --git a/run_tests.sh b/run_tests.sh index 9c445df2..f07938c0 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -11,6 +11,7 @@ KAM_LOG=${KAM_LOG:-"/var/log/ngcp/kamailio-proxy.log"} KAMLB_LOG=${KAMLB_LOG:-"/var/log/ngcp/kamailio-lb.log"} SEMS_LOG=${SEMS_LOG:-"/var/log/ngcp/sems.log"} SEMS_PBX_LOG=${SEMS_PBX_LOG:-"/var/log/ngcp/sems-pbx.log"} +RTP_LOG=${RTP_LOG:-"/var/log/ngcp/rtp.log"} TMP_LOG_DIR="/tmp" KAM_DIR="/tmp/cfgtest" COREDUMP_DIR="/ngcp-data/coredumps" @@ -414,6 +415,8 @@ if [ -n "${rtp_ports}" ]; then echo "$(date) - There are still some rtp ports open, please check the following output" rtpengine-ctl -ip "${rtpengine_ctl_ip}" list interfaces rtpengine-ctl -ip "${rtpengine_ctl_ip}" list sessions all + echo "$(date) - copy rtpengine log to ${LOG_DIR}" + cp -a "${RTP_LOG}" "${LOG_DIR}" echo "$(date) - =================================================================================" error_flag=1 fi