You probably want ringback and/or transfer ringback. That's for playing something while the call is waiting to be answered.

See: http://wiki.freeswitch.org/wiki/Time_of_Day_Routing#Example_for_office_open_09:00-16:00 there's something set there, using:

       <action application="set" data="ringback=local_stream://moh"/>
       <action application="set" data="transfer_ringback=local_stream://moh"/>
You're line isn't quite right -- "{ignore_early_media=true}", you need to set the variable data.

Playback is blocking -- it plays and then moves on. Transfer_ringback sets what to do when the transfer occurs.

I hope that helps and you can clean up the wiki when you've got it all figured out.

-Avi



On Mon, Nov 5, 2012 at 4:55 PM, ocset <ocset@the800group.com> wrote:
Hi

I am trying to to configure FS to play music while transferring a new
incoming call. Like when you phone a business and you get the "your call
in important to use, please wait while we transfer..." message.

I found this suggestion on the web but it does not work for me. I have
tested the two <action> command separately to make sure they work but
when they are put together, the call is never answered and no music is
played.


<include>
  <extension name="ext_8888">
         <condition field="destination_number" expression="^(8888)$">
                 <action application="playback" data="music/test.wav"/>
                 <action application="bridge"
data="{ignore_early_media}sofia/internal/1005@192.168.0.150"/>
         </condition>
  </extension>
</include>

ps. I cannot find the answer in either of the two FS books. Would have
expected this to be there, at least in the cookbook? All I can find is
examples of playing music and then hanging up. Happy to be corrected if
I missed it:-)

All help greatly appreciated
Thanks
O.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org