Browse Source

update for TCP in kamailio and max freeswitch log file size

3.17
karl anderson 13 years ago
parent
commit
d3a02cae6f
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      freeswitch/autoload_configs/logfile.conf.xml
  2. +1
    -1
      kamailio/kamailio.cfg

+ 2
- 2
freeswitch/autoload_configs/logfile.conf.xml View File

@ -7,7 +7,7 @@
<profile name="debug"> <profile name="debug">
<settings> <settings>
<param name="logfile" value="/var/log/freeswitch/debug.log"/> <param name="logfile" value="/var/log/freeswitch/debug.log"/>
<param name="rollover" value="0"/>
<param name="rollover" value="52428800"/>
<param name="uuid" value="true" /> <param name="uuid" value="true" />
</settings> </settings>
<mappings> <mappings>
@ -18,7 +18,7 @@
<profile name="error"> <profile name="error">
<settings> <settings>
<param name="logfile" value="/var/log/freeswitch/error.log"/> <param name="logfile" value="/var/log/freeswitch/error.log"/>
<param name="rollover" value="0"/>
<param name="rollover" value="52428800"/>
<param name="uuid" value="true" /> <param name="uuid" value="true" />
</settings> </settings>
<mappings> <mappings>


+ 1
- 1
kamailio/kamailio.cfg View File

@ -297,7 +297,7 @@ route[SANITY_CHECK]
route[CLASSIFY_SOURCE] route[CLASSIFY_SOURCE]
{ {
if (ds_is_from_list("1") || ds_is_from_list("3")) {
if (ds_is_from_list("1", "1") || ds_is_from_list("3", "1")) {
xlog("L_INFO", "$ci|log|originated from internal sources"); xlog("L_INFO", "$ci|log|originated from internal sources");
setflag(FLAG_INTERNALLY_SOURCED); setflag(FLAG_INTERNALLY_SOURCED);


Loading…
Cancel
Save