Re: [asterisk-users] MoH with message on intervals
Looks like it would be pretty darn easy if I was using a queue. I could just use the periodic announcement and fiddle with specified sound files. Sadly, I'm calling the phones with SLATrunk. The hold music will only be heard by the caller when the user pushes the hold button on their phone. I can definitely break up the hold music into segments and playing the directory with sort=alpha. I guess it won't be that hard, I was just hoping there was a built in option that I hadn't noticed :) 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 mailto: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 [mailto: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? -- _ -- 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 -- _ -- 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
Re: [asterisk-users] MoH with message on intervals
Look at asterisk 11 A option was added to play announcements between music Files and so forth -- _ -- 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
[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
Re: [asterisk-users] MoH with message on intervals
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? -- _ -- 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
Re: [asterisk-users] MoH with message on intervals
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? -- _ -- 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 -- _ -- 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
Re: [asterisk-users] MoH with message on intervals
On Tue, Jan 22, 2013 at 4:53 AM, Jared Baxley jared.bax...@gmail.comwrote: 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