<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 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 &quot;simplest&quot; way to do it would be to use sox to remix your moh file with<br>
the message like this:<br>
Let&#39;s say you&#39;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 href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
[mailto:<a 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&#39;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>
&#39;Set(CHANNEL(musicclass)=&#39; 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 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>
               <a 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>
   <a 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 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>
               <a 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>
   <a 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>