Hi, As like execute-on-answer do we have execute on hangup? I need to run lua script in hangup. Please let me know. Thanks. Regards, Archana
Hangup_after_bridge might be what you are looking for. Set it to false, then you can do some more stuff after the bridge action. Remember to hangup the call though. <action application="set" data="hangup_after_bridge=false"/> -bridge <action application="hangup" data="SOME_REASON"/> -execute script On Mon, Mar 11, 2013 at 10:55 AM, Archana Venugopan <a.venugopan@mundio.com>wrote:
Hi,****
** **
As like execute-on-answer do we have execute on hangup? I need to run lua script in hangup. Please let me know. Thanks.****
** **
Regards,****
Archana****
** **
_________________________________________________________________________ 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
api_hangup_hook<http://wiki.freeswitch.org/wiki/Channel_Variables#api_hangup_hook> probably does what you want. See also: Variable_session_in_hangup_hook<http://wiki.freeswitch.org/wiki/Variable_session_in_hangup_hook> If you want to handle actual media, that won't work -- the call is hung up already. You can do an export nolocal:transfer_after_bridge<http://wiki.freeswitch.org/wiki/Variable_transfer_after_bridge>to send the B leg to a specific extension after the A leg hangs up. -Avi Marcus BestFone On Mon, Mar 11, 2013 at 8:07 PM, Nick Vines <jnvines@gmail.com> wrote:
Hangup_after_bridge might be what you are looking for. Set it to false, then you can do some more stuff after the bridge action. Remember to hangup the call though.
<action application="set" data="hangup_after_bridge=false"/>
-bridge
<action application="hangup" data="SOME_REASON"/>
-execute script
On Mon, Mar 11, 2013 at 10:55 AM, Archana Venugopan < a.venugopan@mundio.com> wrote:
Hi,****
** **
As like execute-on-answer do we have execute on hangup? I need to run lua script in hangup. Please let me know. Thanks.****
** **
Regards,****
Archana****
** **
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Thanks Avi it worked. Regards, Archana From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus Sent: 11 March 2013 21:20 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] execute on hangup api_hangup_hook<http://wiki.freeswitch.org/wiki/Channel_Variables#api_hangup_hook> probably does what you want. See also: Variable_session_in_hangup_hook<http://wiki.freeswitch.org/wiki/Variable_session_in_hangup_hook> If you want to handle actual media, that won't work -- the call is hung up already. You can do an export nolocal:transfer_after_bridge<http://wiki.freeswitch.org/wiki/Variable_transfer_after_bridge> to send the B leg to a specific extension after the A leg hangs up. -Avi Marcus BestFone On Mon, Mar 11, 2013 at 8:07 PM, Nick Vines <jnvines@gmail.com<mailto:jnvines@gmail.com>> wrote: Hangup_after_bridge might be what you are looking for. Set it to false, then you can do some more stuff after the bridge action. Remember to hangup the call though. <action application="set" data="hangup_after_bridge=false"/> -bridge <action application="hangup" data="SOME_REASON"/> -execute script On Mon, Mar 11, 2013 at 10:55 AM, Archana Venugopan <a.venugopan@mundio.com<mailto:a.venugopan@mundio.com>> wrote: Hi, As like execute-on-answer do we have execute on hangup? I need to run lua script in hangup. Please let me know. Thanks. Regards, Archana _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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
participants (4)
-
Archana Venugopan
-
Avi Marcus
-
Nick Vines
-
Paul Cupis