[Freeswitch-users] ORIGINATOR_CANCEL and dialplan proccessing

Anton Kvashenkin anton.jugatsu at gmail.com
Thu Dec 26 13:58:21 MSK 2013


Thanks, Aleksandr. I give it try.


2013/12/25 Aleksandr Chusov <chusov.alexsandr at gmail.com>

>
> 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
>
>
>
>
> _________________________________________________________________________
> 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/20131226/5bb5dafb/attachment.html 


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