Yes, you can export it, "nolocal" to activate only on the B leg, e.g.: <action application="export" data="nolocal:api_hangup_hook=lua file.lua"/> Or.. set the variable in the bridge string. -Avi On Wed, Aug 3, 2011 at 6:49 PM, Isaac Jurado <ijurado@econcept.es> wrote:
Hi,
I've been playing with the "api_hangup_hook" dialplan setting. However, it only seems to be executing when the A-leg (originator) hangs up. Is there any way to execute such a hook from all the potential B-legs of the call?
Thanks in advance.
-- Isaac Jurado Internet Busines Solutions eConcept
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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