<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Looks like it would be pretty darn easy
      if I was using a queue.&nbsp; I could just use the periodic
      announcement and fiddle with specified sound files.<br>
      <br>
      Sadly, I'm calling the phones with SLATrunk.&nbsp; The hold music will
      only be heard by the caller when the user pushes the hold button
      on their phone.&nbsp; I can definitely break up the hold music into
      segments and playing the directory with sort=alpha.&nbsp; I guess it
      won't be that hard, I was just hoping there was a built in option
      that I hadn't noticed :)<br>
      <br>
    </div>
    <blockquote
cite="mid:CANefoKZRpf5DJELGjEOkTwpVdqBkQtnyDrjqnii8ay=5qjxENA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Or you could just do a Breakout IVR if they are in
        a queue ... easy to manage and update.</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Mon, Jan 21, 2013 at 4:43 PM, Danny
          Nicholas <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:danny@debsinc.com" target="_blank">danny@debsinc.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">The
            "simplest" way to do it would be to use sox to remix your
            moh file with<br>
            the message like this:<br>
            Let's say you're using the standard file
            macroform-cold_day.wav. First you<br>
            split it into two minute segments like so<br>
            Sox macroform-cold_day.wav seg1.wav trim 0.0 120.0<br>
            Sox macroform-cold_day.wav seg2.wav trim 0.0 120.0<br>
            Sox macroform-cold_day.wav seg3.wav trim 0.0 120.0<br>
            <br>
            Now put it back together with your message inserted like
            this:<br>
            Sox seg1.wav yourmessage.wav seg2.wav yourmessage.wav
            seg3.wav<br>
            yourmessage.wav macroform-cold_day.wav<br>
            <br>
            <br>
            -----Original Message-----<br>
            From: <a moz-do-not-send="true"
              href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
            [mailto:<a moz-do-not-send="true"
              href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>]
            On Behalf Of Adam Moffett<br>
            Sent: Monday, January 21, 2013 4:07 PM<br>
            To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
            Subject: [asterisk-users] MoH with message on intervals<br>
            <br>
            I'm talking to somebody who wants to have a recorded message
            play<br>
            periodically for people on hold.<br>
            <br>
            An example would be interrupting the hold music every two
            minutes to play a<br>
            message with business hours and current specials.<br>
            <br>
            Seems like you could fake it by breaking the music files
            into two minute<br>
            chunks with alphabetical file names, and using sort=alpha.
            It seems like<br>
            there might also be possible ways to do in the dialplan with<br>
            'Set(CHANNEL(musicclass)=' or a combination of
            StartMusicOnHold() and<br>
            StopMusicOnHold().<br>
            <br>
            Can anybody point me in the right direction?<br>
            <br>
            <br>
            --<br>
_____________________________________________________________________<br>
            -- Bandwidth and Colocation Provided by <a
              moz-do-not-send="true" href="http://www.api-digital.com"
              target="_blank">http://www.api-digital.com</a> -- New to<br>
            Asterisk? Join us for a live introductory webinar every
            Thurs:<br>
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a moz-do-not-send="true"
              href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
            <br>
            asterisk-users mailing list<br>
            To UNSUBSCRIBE or update options visit:<br>
            &nbsp; &nbsp;<a moz-do-not-send="true"
              href="http://lists.digium.com/mailman/listinfo/asterisk-users"
              target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
            <br>
            <br>
            --<br>
_____________________________________________________________________<br>
            -- Bandwidth and Colocation Provided by <a
              moz-do-not-send="true" href="http://www.api-digital.com"
              target="_blank">http://www.api-digital.com</a> --<br>
            New to Asterisk? Join us for a live introductory webinar
            every Thurs:<br>
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a moz-do-not-send="true"
              href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
            <br>
            asterisk-users mailing list<br>
            To UNSUBSCRIBE or update options visit:<br>
            &nbsp; &nbsp;<a moz-do-not-send="true"
              href="http://lists.digium.com/mailman/listinfo/asterisk-users"
              target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>