Борисов, Дмитрий / Dmitriy Borisov
2015-05-18 07:23:43 UTC
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?
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