<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Thanks Avi<br>
      <br>
      I have tried the following two dial plans but the phone just rings
      - no music.<br>
      <br>
      &lt;extension name="ext_8888"&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number"
      expression="^(8888)$"&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set"
      data="transfer_ringback=local_stream://moh"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set"
      data="ringback=local_stream://moh"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="transfer" data="1005 XML
      default"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
      &nbsp;&lt;/extension&gt;<br>
      <br>
      &lt;extension name="ext_8888"&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number"
      expression="^(8888)$"&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set"
      data="transfer_ringback=local_stream://moh"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set"
      data="ringback=local_stream://moh"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge"
      data=<a class="moz-txt-link-rfc2396E" href="mailto:sofia/internal/1005@192.168.0.150">"sofia/internal/1005@192.168.0.150"</a>/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
      &nbsp;&lt;/extension&gt;<br>
      <br>
      What am I missing? Should there be an "answer" directive in there
      somewhere also?<br>
      <br>
      Thanks<br>
      O.<br>
      <br>
      On 05/11/12 23:30, Avi Marcus wrote:<br>
    </div>
    <blockquote
cite="mid:CALNZuwmTqMd15M3rKWsPdEyBSQKqf==YGC3Nzv=Wimi_5Tqktw@mail.gmail.com"
      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:&nbsp;<a moz-do-not-send="true"
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>&nbsp;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">
       &lt;action application="set" data="ringback=local_stream://moh"/&gt;
       &lt;action application="set" data="transfer_ringback=local_stream://moh"/&gt;</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">&lt;<a moz-do-not-send="true"
                  href="mailto:ocset@the800group.com" target="_blank">ocset@the800group.com</a>&gt;</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 &lt;action&gt; 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>
                &lt;include&gt;<br>
                &nbsp; &lt;extension name="ext_8888"&gt;<br>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;condition field="destination_number"
                expression="^(8888)$"&gt;<br>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="playback"
                data="music/test.wav"/&gt;<br>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="bridge"<br>
                data="{ignore_early_media}sofia/internal/<a
                  moz-do-not-send="true"
                  href="mailto:1005@192.168.0.150">1005@192.168.0.150</a>"/&gt;<br>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/condition&gt;<br>
                &nbsp; &lt;/extension&gt;<br>
                &lt;/include&gt;<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 moz-do-not-send="true"
                  href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitchsolutions.com"
                  target="_blank">http://www.freeswitchsolutions.com</a><br>
                <br>
                FreeSWITCH-powered IP PBX: The CudaTel Communication
                Server<br>
                <a moz-do-not-send="true" href="http://www.cudatel.com"
                  target="_blank">http://www.cudatel.com</a><br>
                <br>
                Official FreeSWITCH Sites<br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                <a moz-do-not-send="true"
                  href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
                <a moz-do-not-send="true" href="http://www.cluecon.com"
                  target="_blank">http://www.cluecon.com</a><br>
                <br>
                FreeSWITCH-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                  target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                UNSUBSCRIBE:<a moz-do-not-send="true"
                  href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                  target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>