<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This is incorrect. You do not want to answer the call first. Is this a sip call that is getting a 180 or 183 from the remote side?<div><br></div><div><br><div><div>On Nov 6, 2012, at 2:38 AM, Nandy Dagondon <<a href="mailto:nandy1925@gmail.com">nandy1925@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Yes. Answer the call before the bridge so that MOH can be played on the caller.<br><div class="gmail_extra"><br clear="all">================================================<br>Lapulapu City, Phils<br>Phone: +63-32-3401807, (USA) +1-646-5471226<br>
Mobile: +63-920-6373450<br><b>Worldwide:</b><br>Dial any <a href="http://www.snipurl.com/magicbox-access" target="_blank">200+ Access Number in 37 Countries</a>, then ... <div> dial *011-63-32-3401807# afterwards.<br>
</div><br>
<br><br><div class="gmail_quote">On Tue, Nov 6, 2012 at 11:30 AM, 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">
<div text="#000000" bgcolor="#FFFFFF">
<div>Thanks Avi<br>
<br>
I have tried the following two dial plans but the phone just rings
- no music.<div class="im"><br>
<br>
<extension name="ext_8888"><br>
<condition field="destination_number"
expression="^(8888)$"><br></div><div class="im">
<action application="set"
data="transfer_ringback=local_stream://moh"/><br>
<action application="set"
data="ringback=local_stream://moh"/><br></div>
<action application="transfer" data="1005 XML
default"/><br>
</condition><br>
</extension><div class="im"><br>
<br>
<extension name="ext_8888"><br>
<condition field="destination_number"
expression="^(8888)$"><br></div><div class="im">
<action application="set"
data="transfer_ringback=local_stream://moh"/><br>
<action application="set"
data="ringback=local_stream://moh"/><br></div>
<action application="bridge"
data=<a href="mailto:sofia/internal/1005@192.168.0.150" target="_blank">"sofia/internal/1005@192.168.0.150"</a>/><br>
</condition><br>
</extension><br>
<br>
What am I missing? Should there be an "answer" directive in there
somewhere also?<br>
<br>
Thanks<span class="HOEnZb"><font color="#888888"><br>
O.</font></span><div><div class="h5"><br>
<br>
On 05/11/12 23:30, Avi Marcus wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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>
<br>
<fieldset></fieldset>
<br>
<pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</div></div></div>
<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>
<br></blockquote></div><br></div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>