[Freeswitch-users] ORIGINATOR_CANCEL and dialplan proccessing

Aleksandr Chusov chusov.alexsandr at gmail.com
Wed Dec 25 15:54:29 MSK 2013


2013/12/25 Anton Kvashenkin <anton.jugatsu at gmail.com>

> ORIGINATOR_CANCEL



Hello
May be something like lua and api_hangup_hook:

<action application="export" data="api_hangup_hook=lua hangup_hook.lua"/>


local originate_disposition = env:getHeader
("variable_originate_disposition")

if tostring(originate_disposition) == 'ORIGINATOR_CANCEL' then
        ....
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131225/6fcf794e/attachment.html 


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