how can I use FreeSwitch to trace *the Function call Procedure* in *fs_cli*. (using Command? configuration?) [DEBUG] *switch_ivr_bridge.c*:911 switch_ivr_multi_threaded_bridge() sofia/external/1XXX4951027 receive message [BRIDGE]
From fs_cli? You can't.
-Steve 2011/4/14 vivid <vivid333@163.com>
how can I use FreeSwitch to trace *the Function call Procedure* in * fs_cli*. (using Command? configuration?)
[DEBUG] *switch_ivr_bridge.c*:911 switch_ivr_multi_threaded_bridge() sofia/external/1XXX4951027 receive message [BRIDGE]
_______________________________________________ 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
Think about it a little... fs_cli is the client to FS. Anything send to a client causes function calls. Logging those would cause more function calls... which'd cause more. You'd either enter an infinite loop or be unable to log some function calls. You're better off running FreeSWITCH with a tool like gdb or gprof from the local machine. Note that doing so will mean you're running slower. -Steve On 14 April 2011 21:55, Steven Ayre <steveayre@gmail.com> wrote:
From fs_cli? You can't.
-Steve
2011/4/14 vivid <vivid333@163.com>
how can I use FreeSwitch to trace *the Function call Procedure* in * fs_cli*. (using Command? configuration?)
[DEBUG] *switch_ivr_bridge.c*:911 switch_ivr_multi_threaded_bridge() sofia/external/1XXX4951027 receive message [BRIDGE]
_______________________________________________ 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
Run fs in windows vs debugger. On Apr 14, 2011 9:40 AM, "vivid" <vivid333@163.com> wrote:
how can I use FreeSwitch to trace *the Function call Procedure* in *fs_cli*. (using Command? configuration?)
[DEBUG] *switch_ivr_bridge.c*:911 switch_ivr_multi_threaded_bridge() sofia/external/1XXX4951027 receive message [BRIDGE]
Thanks all. I solved the problem. First, My FS runs in Linux, I use fs_cli to trace FS running. I add " #define SWITCH_FUNC_IN_LOG " in switch_log.c , make the project. at last I can see the function call procedure in log. At 2011-04-15 08:26:29,"envelopes envelopes" <sunwood360@gmail.com> wrote: Run fs in windows vs debugger. On Apr 14, 2011 9:40 AM, "vivid" <vivid333@163.com> wrote:
how can I use FreeSwitch to trace *the Function call Procedure* in *fs_cli*. (using Command? configuration?)
[DEBUG] *switch_ivr_bridge.c*:911 switch_ivr_multi_threaded_bridge() sofia/external/1XXX4951027 receive message [BRIDGE]
participants (4)
-
envelopes envelopes
-
Steven Ayre
-
vivid
-
vivid333