Hi!
I am trying to bridge the caller to the callee and play them different sound files foo.wav and bar.wav before they are "connected".
Taking help from the wiki http://wiki.freeswitch.org/wiki/Variable_bridge_pre_execute_aleg_app, I put up this dialplan but it plays back the audio files to the a-leg and b-leg one after the other and not simultaneously.
What will be the way to do simultaneous playback to both the legs and then bridge them?
My current dialplan is this
<action application="answer" />
<action application="set" data="bridge_pre_execute_aleg_app=playback"/>
<action application="set" data="bridge_pre_execute_bleg_app=playback"/>
<action application="set" data="bridge_pre_execute_aleg_data=foo.wav"/>
<action application="set" data="bridge_pre_execute_bleg_data=bar.wav"/>
<action application="bridge" data="freetdm/1/a/9512236723"/>
Thanks!
regards,
Anita