[Freeswitch-dev] Issue with shutdown while eembedding FreeSwitch
Papineni, Suneel
SPapineni at enghouse.com
Tue May 15 17:36:55 MSD 2012
Hi,
I am trying to embed FreeSwitch in my current project by creating a thread for FreeSwitch initialization. When I start my application, Freeswitch runs fine and I am be able to send commands to FreeSwitch and receive respective events.
Now I want to close freeswitch by sending a command. I tried with the following command.
"fsctl shutdown" or "fsctl shutdown now"
This is not shutting down completely. It is showing the following log and not continuing further. Could someone please look into this and let me know if I missed something...
2012-05-15 13:46:49.137425 [INFO] switch_core.c:2176 Shutting down
2012-05-15 13:46:50.557425 [CONSOLE] switch_core.c:2283 End existing sessions
2012-05-15 13:46:50.557425 [CONSOLE] switch_core.c:2285 Clean up modules.
2012-05-15 13:46:50.557425 [NOTICE] switch_loadable_module.c:963 Deleting API Function 'stop_local_stream'
2012-05-15 13:46:50.557425 [NOTICE] switch_loadable_module.c:963 Deleting API Function 'start_local_stream'
2012-05-15 13:46:50.557425 [NOTICE] switch_loadable_module.c:963 Deleting API Function 'show_local_stream'
2012-05-15 13:46:50.557425 [NOTICE] switch_loadable_module.c:1004 Deleting FileFormat 'local_stream'
2012-05-15 13:46:50.557425 [CONSOLE] switch_loadable_module.c:1784 Stopping: mod_local_stream
The shutdown command is working fine on a stand-alone installation of freeswitch, but giving above issue when FS is embedded (in-process) in my application.
Thanks & Regards
Suneel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20120515/9e718358/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev
mailing list