[Freeswitch-users] How to create an event for B-leg?
Борисов, Дмитрий / Dmitriy Borisov
bordmi at rarus.ru
Mon May 18 11:40:43 MSD 2015
That`s all works fine when I changed to:
session:execute("export","nolocal:execute_on_ring=lua lua/event_fire.lua "
.. event_id .." uuid")
Sorry :)
2015-05-18 10:23 GMT+03:00 Борисов, Дмитрий / Dmitriy Borisov <
bordmi at rarus.ru>:
> Hi, All!
>
> I need to receive some event when phone on leg B become into RINGING
> state. I need domain_name information, original-caller-id, callee-id,
> channel-uuid and destination-number.
>
> Now I wrote script which creates and fires this event, but it started by
> session:setVariable("bridge_pre_execute_bleg_app","lua")
>
> session:setVariable("bridge_pre_execute_bleg_data","lua/event_fire.lua "
> .. event_id .." uuid")
> after B-leg was answered :(
>
> How can I run this script when channel receive RINGING?
>
> --
> with best regards,
> Dmitriy Borisov
>
--
with best regards,
Dmitriy Borisov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150518/d3994eb6/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list