[Freeswitch-users] Check for freeswitch session exists

Anita Hall anita.hall at simmortel.com
Tue Mar 13 18:09:55 MSK 2012


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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120313/9c6ceb20/attachment.html 


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