[Freeswitch-users] execute_on_answer equivalent for A-leg or bridged call?
Thilo-Alexander Ginkel
thilo at ginkel.com
Wed Apr 8 19:54:31 UTC 2020
Hello everyone,
I am attempting to play a sound on both legs after creating a bridge
once the B-leg has answered. execute_on_answer explicitly only works
for the newly answered channel, so no sound is playing on the
(previously already connected) A-leg.
Is there a way to make sure the sound is playing on both legs / the
bridged call?
ATM, I'm doing this (in Lua):
session:execute("bridge", "{origination_callee_id_name='" .. callee_id
.. "'}{execute_on_answer='playback
tone_stream://%(500,0,500)'}user/jitsi@" .. domain_name)
Thanks,
Thilo
More information about the FreeSWITCH-users
mailing list