Do you necessarily need the channel to be active while "doing stuff" or would an api_hangup_hook <https://wiki.freeswitch.org/wiki/Variable_api_hangup_hook> be sufficient? -MC On Fri, Jul 25, 2014 at 11:40 AM, Andre <andretodd@verizon.net> wrote:
After a call I have transfer after bridge on. When the call goes back to the dial plan I want to sleep the call do some stuff and hang-up.
On the original bridge I do have hangup after bridge on.
What is the correct syntax for me to sleep then hangup?
Do I have to Answer the call for sleep to work?
Example: After transfer go to :
//do I need to Answer again for sleep to work?
<action application="sleep" data="5000"/>
// run some scripts not related to freeswitch
<action application="hangup"/>
_________________________________________________________________________ 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