[Freeswitch-dev] Issue with shutdown while eembedding FreeSwitch

Papineni, Suneel SPapineni at enghouse.com
Thu May 17 14:04:35 MSD 2012


Hi Mitch,

Thank you for your quick reply. It works....

Thanks & Regards
Suneel



freeswitch at DEV2-UCMA> sofia status

-----Original Message-----
From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Mitch Capper
Sent: 15 May 2012 16:10
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] Issue with shutdown while eembedding FreeSwitch

I call freeswitch.switch_core_destroy() to shutdown FS in an embedded environment.

~Mitch

On Tue, May 15, 2012 at 6:36 AM, Papineni, Suneel <SPapineni at enghouse.com> wrote:
> 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
>
>
>
>
> ______________________________________________________________________
> ___ Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>  
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

 

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-dev mailing list
FreeSWITCH-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list