[Freeswitch-users] execute on hangup
Avi Marcus
avi at avimarcus.net
Tue Mar 12 00:20:24 MSK 2013
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 at 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 at 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 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
>>
>>
>
> _________________________________________________________________________
> 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/20130311/275966f1/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list