hello, is there any way to write siptrace output to different log file than default log file freeswitch.log? or is there any way to write only siptrace output (no other debug, no switch core statements) to default log file. i tried to write only siptrace to default log file. but when i change the switch log level from debug to any other level, it also disables siptrace output automatically. following config files have log level definitions: console.conf.xml <map name="all" value="warning,err,crit,alert"/> <map name="switch_loadable_module_process" value="all"/> <map name="switch_core_state_machine.c" value="all"/> <map name="sofia.c" value="info,notice"/> <param name="loglevel" value="notice"/> switch.conf.xml <param name="loglevel" value="debug"/> ==> when i change this, no siptrace output logfile.conf.xml <map name="all" value="debug,info,notice,warning,err,crit,alert"/> sofia.conf.xml <param name="log-level" value="0"/> .<param name="tracelevel" value="DEBUG"/> how should i modify these parameters to accomplish what i need? regards, huseyin
I think that for this purpose better to use apps like ngrep or tcpdump, just my 2 cents. ngrep -d eth0 -qtW byline -i t38 port 5060 and host <> -O /tmp/t38_debug.pcap 19 апреля 2012 г. 10:21 пользователь huseyin kalyoncu <hkalyoncu@gmail.com>написал:
hello,
is there any way to write siptrace output to different log file than default log file freeswitch.log? or is there any way to write only siptrace output (no other debug, no switch core statements) to default log file.
i tried to write only siptrace to default log file. but when i change the switch log level from debug to any other level, it also disables siptrace output automatically.
following config files have log level definitions:
console.conf.xml
<map name="all" value="warning,err,crit,alert"/> <map name="switch_loadable_module_process" value="all"/> <map name="switch_core_state_machine.c" value="all"/> <map name="sofia.c" value="info,notice"/>
<param name="loglevel" value="notice"/>
switch.conf.xml
<param name="loglevel" value="debug"/> ==> when i change this, no siptrace output
logfile.conf.xml
<map name="all" value="debug,info,notice,warning,err,crit,alert"/>
sofia.conf.xml
<param name="log-level" value="0"/> .<param name="tracelevel" value="DEBUG"/>
how should i modify these parameters to accomplish what i need?
regards, huseyin
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
http://wiki.freeswitch.org/wiki/Packet_Capture William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com On 04/18/2012 11:21 PM, huseyin kalyoncu wrote:
hello,
is there any way to write siptrace output to different log file than default log file freeswitch.log? or is there any way to write only siptrace output (no other debug, no switch core statements) to default log file.
i tried to write only siptrace to default log file. but when i change the switch log level from debug to any other level, it also disables siptrace output automatically.
following config files have log level definitions:
console.conf.xml
<map name="all" value="warning,err,crit,alert"/> <map name="switch_loadable_module_process" value="all"/> <map name="switch_core_state_machine.c" value="all"/> <map name="sofia.c" value="info,notice"/>
<param name="loglevel" value="notice"/>
switch.conf.xml
<param name="loglevel" value="debug"/> ==> when i change this, no siptrace output
logfile.conf.xml
<map name="all" value="debug,info,notice,warning,err,crit,alert"/>
sofia.conf.xml
<param name="log-level" value="0"/> .<param name="tracelevel" value="DEBUG"/>
how should i modify these parameters to accomplish what i need?
regards, huseyin
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Someone else just asked me this -- how do I get the sofia siptrace included in the log, and I couldn't find it on the wiki. Where should I be looking..? -Avi On Thu, Apr 19, 2012 at 9:21 AM, huseyin kalyoncu <hkalyoncu@gmail.com>wrote:
hello,
is there any way to write siptrace output to different log file than default log file freeswitch.log? or is there any way to write only siptrace output (no other debug, no switch core statements) to default log file.
i tried to write only siptrace to default log file. but when i change the switch log level from debug to any other level, it also disables siptrace output automatically.
following config files have log level definitions:
console.conf.xml
<map name="all" value="warning,err,crit,alert"/> <map name="switch_loadable_module_process" value="all"/> <map name="switch_core_state_machine.c" value="all"/> <map name="sofia.c" value="info,notice"/>
<param name="loglevel" value="notice"/>
switch.conf.xml
<param name="loglevel" value="debug"/> ==> when i change this, no siptrace output
logfile.conf.xml
<map name="all" value="debug,info,notice,warning,err,crit,alert"/>
sofia.conf.xml
<param name="log-level" value="0"/> .<param name="tracelevel" value="DEBUG"/>
how should i modify these parameters to accomplish what i need?
regards, huseyin
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi, Did you try the below option in your sip_profiles xml's? <param name="sip-trace" value="yes"/> Thanks, Bala On Thu, Apr 19, 2012 at 7:09 PM, Avi Marcus <avi@avimarcus.net> wrote:
Someone else just asked me this -- how do I get the sofia siptrace included in the log, and I couldn't find it on the wiki. Where should I be looking..?
-Avi
On Thu, Apr 19, 2012 at 9:21 AM, huseyin kalyoncu <hkalyoncu@gmail.com>wrote:
hello,
is there any way to write siptrace output to different log file than default log file freeswitch.log? or is there any way to write only siptrace output (no other debug, no switch core statements) to default log file.
i tried to write only siptrace to default log file. but when i change the switch log level from debug to any other level, it also disables siptrace output automatically.
following config files have log level definitions:
console.conf.xml
<map name="all" value="warning,err,crit,alert"/> <map name="switch_loadable_module_process" value="all"/> <map name="switch_core_state_machine.c" value="all"/> <map name="sofia.c" value="info,notice"/>
<param name="loglevel" value="notice"/>
switch.conf.xml
<param name="loglevel" value="debug"/> ==> when i change this, no siptrace output
logfile.conf.xml
<map name="all" value="debug,info,notice,warning,err,crit,alert"/>
sofia.conf.xml
<param name="log-level" value="0"/> .<param name="tracelevel" value="DEBUG"/>
how should i modify these parameters to accomplish what i need?
regards, huseyin
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
How do we toggle the logging of this manually? "sofia global siptrace [on|off]" turns toggles it for viewing in the console, but not logging it. After some googling I see an option: sofia tracelevel info / sofia tracelevel debug .. but I thought I had used something different last time. -Avi On Thu, Apr 19, 2012 at 4:49 PM, Balamurugan Mahendran <b2m@a-cti.com>wrote:
Hi,
Did you try the below option in your sip_profiles xml's?
<param name="sip-trace" value="yes"/>
Thanks, Bala
On Thu, Apr 19, 2012 at 7:09 PM, Avi Marcus <avi@avimarcus.net> wrote:
Someone else just asked me this -- how do I get the sofia siptrace included in the log, and I couldn't find it on the wiki. Where should I be looking..?
-Avi
On Thu, Apr 19, 2012 at 9:21 AM, huseyin kalyoncu <hkalyoncu@gmail.com>wrote:
hello,
is there any way to write siptrace output to different log file than default log file freeswitch.log? or is there any way to write only siptrace output (no other debug, no switch core statements) to default log file.
i tried to write only siptrace to default log file. but when i change the switch log level from debug to any other level, it also disables siptrace output automatically.
following config files have log level definitions:
console.conf.xml
<map name="all" value="warning,err,crit,alert"/> <map name="switch_loadable_module_process" value="all"/> <map name="switch_core_state_machine.c" value="all"/> <map name="sofia.c" value="info,notice"/>
<param name="loglevel" value="notice"/>
switch.conf.xml
<param name="loglevel" value="debug"/> ==> when i change this, no siptrace output
logfile.conf.xml
<map name="all" value="debug,info,notice,warning,err,crit,alert"/>
sofia.conf.xml
<param name="log-level" value="0"/> .<param name="tracelevel" value="DEBUG"/>
how should i modify these parameters to accomplish what i need?
regards, huseyin
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Anton Kvashenkin
-
Avi Marcus
-
Balamurugan Mahendran
-
huseyin kalyoncu
-
William King