I think that for this purpose better to use apps like ngrep or tcpdump, just my 2 cents.<div><br></div><div>ngrep -d eth0 -qtW byline -i t38 port 5060 and host &lt;&gt; -O /tmp/t38_debug.pcap<br><br><div class="gmail_quote">
19 ÁÐÒÅÌÑ 2012šÇ. 10:21 ÐÏÌØÚÏ×ÁÔÅÌØ huseyin kalyoncu <span dir="ltr">&lt;<a href="mailto:hkalyoncu@gmail.com">hkalyoncu@gmail.com</a>&gt;</span> ÎÁÐÉÓÁÌ:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hello,<div><br></div><div>is there any way to write siptrace output to different log file than default log file freeswitch.log?</div><div>or is there any way to write only siptrace output (no other debug, no switch core statements) to default log file.</div>



<div><br></div><div>i tried to write only siptrace to default log file. but when i change the switch log levelš</div>
<div>from debug to any other level, it also disables siptrace output automatically.š</div><div><br></div><div>following config files have log level definitions:</div><div><br></div><div>console.conf.xml</div><div><br></div>



<div><div>š š &lt;map name=&quot;all&quot; value=&quot;warning,err,crit,alert&quot;/&gt;</div><div>š š &lt;map name=&quot;switch_loadable_module_process&quot; value=&quot;all&quot;/&gt;</div><div>š š &lt;map name=&quot;switch_core_state_machine.c&quot; value=&quot;all&quot;/&gt;</div>



<div>š š &lt;map name=&quot;sofia.c&quot; š š š š š š š š š š value=&quot;info,notice&quot;/&gt;</div></div><div><br></div><div>š šš&lt;param name=&quot;loglevel&quot; value=&quot;notice&quot;/&gt;</div><div><br></div><div>


switch.conf.xml</div><div><br></div><div>š šš&lt;param name=&quot;loglevel&quot; value=&quot;debug&quot;/&gt; š==&gt; when i change this, no siptrace output</div><div><br></div><div>logfile.conf.xml</div><div><br></div><div>


š š&lt;map name=&quot;all&quot; value=&quot;debug,info,notice,warning,err,crit,alert&quot;/&gt;</div><div><br></div><div>sofia.conf.xml</div><div><br></div><div>
š&lt;param name=&quot;log-level&quot; value=&quot;0&quot;/&gt;</div><div>.&lt;param name=&quot;tracelevel&quot; value=&quot;DEBUG&quot;/&gt;</div><div><br></div><div>how should i modify these parameters tošaccomplish what i need?</div>


<div><br></div><div>regards,</div><div>huseyin</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>