[asterisk-users] MoH with message on intervals

Jared Baxley jared.baxley at gmail.com
Mon Jan 21 17:23:09 CST 2013


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 <danny at 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-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at 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?
>
>
> --
> _____________________________________________________________________
> -- 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
>
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130121/24c8e24b/attachment.htm>


More information about the asterisk-users mailing list