<div dir="ltr">You probably want ringback and/or transfer ringback. That's for playing something while the call is waiting to be answered.<div><br><div>See: <a href="http://wiki.freeswitch.org/wiki/Time_of_Day_Routing#Example_for_office_open_09:00-16:00">http://wiki.freeswitch.org/wiki/Time_of_Day_Routing#Example_for_office_open_09:00-16:00</a> there's something set there, using:</div>
<div><pre style="padding-top:1em;padding-right:1em;padding-bottom:1em;padding-left:1em;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-left-style:dashed;border-top-color:rgb(47,111,171);border-right-color:rgb(47,111,171);border-bottom-color:rgb(47,111,171);border-left-color:rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.1em">
<action application="set" data="ringback=local_stream://moh"/>
<action application="set" data="transfer_ringback=local_stream://moh"/></pre></div><div>You're line isn't quite right -- "{ignore_early_media<u>=<span style="background-color:rgb(249,249,249);line-height:1.1em">true</span></u>}", you need to set the variable data.</div>
<div><br></div><div>Playback is blocking -- it plays and then moves on. Transfer_ringback sets what to do when the transfer occurs.</div><div><br></div><div>I hope that helps and you can clean up the wiki when you've got it all figured out.</div>
<div><br clear="all"><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi<br></span></div><br>
<br><br><div class="gmail_quote">On Mon, Nov 5, 2012 at 4:55 PM, ocset <span dir="ltr"><<a href="mailto:ocset@the800group.com" target="_blank">ocset@the800group.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
I am trying to to configure FS to play music while transferring a new<br>
incoming call. Like when you phone a business and you get the "your call<br>
in important to use, please wait while we transfer..." message.<br>
<br>
I found this suggestion on the web but it does not work for me. I have<br>
tested the two <action> command separately to make sure they work but<br>
when they are put together, the call is never answered and no music is<br>
played.<br>
<br>
<br>
<include><br>
<extension name="ext_8888"><br>
<condition field="destination_number" expression="^(8888)$"><br>
<action application="playback" data="music/test.wav"/><br>
<action application="bridge"<br>
data="{ignore_early_media}sofia/internal/<a href="mailto:1005@192.168.0.150">1005@192.168.0.150</a>"/><br>
</condition><br>
</extension><br>
</include><br>
<br>
ps. I cannot find the answer in either of the two FS books. Would have<br>
expected this to be there, at least in the cookbook? All I can find is<br>
examples of playing music and then hanging up. Happy to be corrected if<br>
I missed it:-)<br>
<br>
All help greatly appreciated<br>
Thanks<br>
O.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div></div>