The api_hangup_hook variable can be used to run any api command, not just scripts. However you can't execute a dialplan application as the session has hung up.

On 15 July 2015 at 10:21, Denis Jakovlev <yadenis@seznam.cz> wrote:
Hi All,

I need after hanging up, to execute a command. Something like "exec_after_bridge" or "exec_after_answer" but after hanging up. I know that there "api_hangup_hook", but for scripts. And I do not need.

So the question is, how do I run a command after nangup in dialplan?


--
S pozdravem,
Ing.Denis Jakovlev                          
mob.tel. 775-415-382

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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