Does this work ? http://wiki.freeswitch.org/wiki/Event_List#CHANNEL_STATE regards, Anita On Mon, Mar 12, 2012 at 1:10 PM, piyush singhai <singhai.piyush@gmail.com>wrote:
Hello,
I am using ESL lib for making connection with freeswitch from the Application. Some time we miss the hangup event in application and instead make another execute request on the same session, lets say for playback(). Then we receive CHANNEL_EXECUTE_COMPLETE for application 'park' instead of playback(). Is this an indication that the session has already ended (in this case due to hangup by the user)? Otherwise how can we check before executing any new function that the session is still alive at fresswitch through ESL?
--Piyush
_________________________________________________________________________ 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