[Freeswitch-users] Hangup hooks on B legs

Avi Marcus avi at avimarcus.net
Wed Aug 3 20:09:58 MSD 2011


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 at 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 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



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