On Tue, Jan 22, 2013 at 4:53 AM, Jared Baxley <jared.bax...@gmail.com>wrote:
> Or you could just do a Breakout IVR if they are in a queue ... easy to > manage and update. > > > On Mon, Jan 21, 2013 at 4:43 PM, Danny Nicholas <da...@debsinc.com> wrote: > >> The "simplest" way to do it would be to use sox to remix your moh file >> with >> the message like this: >> Let's say you're using the standard file macroform-cold_day.wav. First you >> split it into two minute segments like so >> Sox macroform-cold_day.wav seg1.wav trim 0.0 120.0 >> Sox macroform-cold_day.wav seg2.wav trim 0.0 120.0 >> Sox macroform-cold_day.wav seg3.wav trim 0.0 120.0 >> >> Now put it back together with your message inserted like this: >> Sox seg1.wav yourmessage.wav seg2.wav yourmessage.wav seg3.wav >> yourmessage.wav macroform-cold_day.wav >> >> >> -----Original Message----- >> From: asterisk-users-boun...@lists.digium.com >> [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Adam >> Moffett >> Sent: Monday, January 21, 2013 4:07 PM >> To: Asterisk Users Mailing List - Non-Commercial Discussion >> Subject: [asterisk-users] MoH with message on intervals >> >> I'm talking to somebody who wants to have a recorded message play >> periodically for people on hold. >> >> An example would be interrupting the hold music every two minutes to play >> a >> message with business hours and current specials. >> >> Seems like you could fake it by breaking the music files into two minute >> chunks with alphabetical file names, and using sort=alpha. It seems like >> there might also be possible ways to do in the dialplan with >> 'Set(CHANNEL(musicclass)=' or a combination of StartMusicOnHold() and >> StopMusicOnHold(). >> >> Can anybody point me in the right direction? >> >> Create a script to check for channels on Musiconhold and Originate calls > through AMI or Callfile at desired interval. Use first leg of a call to > Chanspy with Bargein mode on your channel and second leg of a call to > Playback a message. --Satish Barot Ahmedabad,India.
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users