[Freeswitch-users] bridge_pre_execute_bleg_app playback

Anita Hall anita.hall at simmortel.com
Thu Jul 12 16:28:35 MSD 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120712/d6145768/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list