[Freeswitch-users] Run the command after hanging up

Denis Jakovlev yadenis at seznam.cz
Wed Jul 15 13:59:43 MSD 2015


Dobrý den,

Yeah. Clear. I did not know that "api_hangup_hook" It can do something else besides scripts.

In https://wiki.freeswitch.org/wiki/Variable_api_hangup_hook  an example of the script.

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

středa 15. července 2015, 11:34:02, napsal jste:


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 at 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 at 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 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/20150715/aed966ca/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list