Does anyone know how to rewind the music on hold? Thanks Dan Journo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060202/ab26b18f/attachment.htm
Turn phone over and shake! :-) MOH plays in a loop, It has no player controls. You can't Pause, Stop, FF, or RW. (gasp!) You can try killing the mpg123 or whatever process you use for MOH. Asterisk should restart it if it needs to. (high-unrecomended) ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Dan Journo Sent: Thursday, February 02, 2006 10:27 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Rewind MusicOnHold? Does anyone know how to rewind the music on hold? Thanks Dan Journo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060202/1a2cf2b1/attachment.htm
________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Dan Journo Sent: Thursday, February 02, 2006 11:18 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Rewind MusicOnHold? I thought someone was going to say that. Does anyone know a way to do the following:- 1) Answer incoming call exten => s,1,Answer() 2) Begin dialing an extension 3 ) While extension is ringing play a welcome message to the caller Here you got a problem. What do you do if callee picks up too fast. so I would exten => s,2.PlayBack(mesage-to-caller0 exten => s,3,Dial(SIP/123||m) 4) Then play MoH until the extension is answered 5) Connect the incoming and outgoing when the extension is answered. Thanks Dan On 02/02/06, Alexander Lopez <alex.lopez@opsys.com> wrote: Turn phone over and shake! :-) MOH plays in a loop, It has no player controls. You can't Pause, Stop, FF, or RW. (gasp!) You can try killing the mpg123 or whatever process you use for MOH. Asterisk should restart it if it needs to. (high-unrecomended) ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Dan Journo Sent: Thursday, February 02, 2006 10:27 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Rewind MusicOnHold? Does anyone know how to rewind the music on hold? Thanks Dan Journo _______________________________________________ --Bandwidth and Colocation provided by Easynews.com <http://easynews.com/> -- 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/20060202/7120f4c5/attachment.htm
The native MOH type will, unless set to random=yes, play the music files in the same order as they appear with an ls of the directory. (someone, anyone, back me up here?) I would place the greeting in the same MOH class as your actual music, and name the file of the greeting something "less" than the filename of the music file. Additionally, to avoid repeating the greeting, should the music file play all the way through before an answer, you may want to make additional copies of the music file, named something "greater" than the greeting file. Just a thought, never tried to do it myself. Sincerely, Brent A. Torrenga brent.torrenga@torrenga.com Torrenga Engineering, Inc. 907 Ridge Road Munster, Indiana 46321-1771 219.836.8918x325 Voice 219.836.1138 Facsimile www.torrenga.com
Create a class of hold music for each channel? Then do a Dial(SIP/blah,,m(Channel1))? Or something like that... Also, I do not know if this behavior seems to vary from system to system, but on mine it seems like each channel does get it's own music, that it is not broadcast across al channels... Ymmv --Brent>In theory that is fine, however, when a call leaves the MoH, the MoHdoesn't>stop playing. So when a second call is received, the MoH is still playing >and therefore they dont hear the message for a few minutes. > >Dan > > >On 02/02/06, Brent Torrenga <lists@torrenga.com> wrote: >> >> The native MOH type will, unless set to random=yes, play the music files >> in >> the same order as they appear with an ls of the directory. (someone, >> anyone, >> back me up here?) >> >> I would place the greeting in the same MOH class as your actual music,and>> name the file of the greeting something "less" than the filename of the >> music file. Additionally, to avoid repeating the greeting, should the >> music >> file play all the way through before an answer, you may want to make >> additional copies of the music file, named something "greater" than the >> greeting file. >> >> Just a thought, never tried to do it myself.