Re: [Asterisk-Users] RE: Rewind MusicOnHold?

2006-02-27 Thread Dan Journo
Hi guys, Matt gave the advice belowfora way to cause MoH to rewind and play from the beginning for each call that comes in. However the music doesn't restart. Here was my first attempt:- mode=customdirectory=/var/lib/asterisk/mohmp3application=/usr/local/bin/madplay -Q -o raw:- --mono -R 8000

Re: [Asterisk-Users] RE: Rewind MusicOnHold?

2006-02-27 Thread Dan Journo
As a follow on from my last email, it appears that Asterisk restarts the player application if the process terminates. Does anyone know a way to stop that? Thanks Dan On 27/02/06, Dan Journo [EMAIL PROTECTED] wrote: Hi guys, Matt gave the advice belowfora way to cause MoH to rewind and play

Re: [Asterisk-Users] RE: Rewind MusicOnHold?

2006-02-03 Thread Matt Riddell (IT)
Dan Journo wrote: Ok, i feel like im getting somewhere but i need a little help. Asterisk displays this when its loading:- [res_musiconhold.so] = (Music On Hold Resource) == Registered application 'MusicOnHold' == Registered application 'WaitMusicOnHold' == Registered application

[Asterisk-Users] RE: Rewind MusicOnHold?

2006-02-02 Thread Brent Torrenga
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

Re: [Asterisk-Users] RE: Rewind MusicOnHold?

2006-02-02 Thread Dan Journo
In theory that is fine, however, when a call leaves the MoH, the MoH doesn'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 [EMAIL PROTECTED] wrote: The native MOH type will,

Re: [Asterisk-Users] RE: Rewind MusicOnHold?

2006-02-02 Thread Dan Journo
Is there a command toplayback() a file while continuing to process the dialplan? Or, is there a way to start the MoH playbackwhile continuing to process the dialplan? Should I be looking at the queues? Dan On 02/02/06, Dan Journo [EMAIL PROTECTED] wrote: In theory that is fine, however, when a

Re: [Asterisk-Users] RE: Rewind MusicOnHold?

2006-02-02 Thread Dan Journo
Ok, i feel like im getting somewhere but i need a little help. Asterisk displays this when its loading:- [res_musiconhold.so] = (Music On Hold Resource) == Registered application 'MusicOnHold' == Registered application 'WaitMusicOnHold' == Registered application 'SetMusicOnHold' == Registered

[Asterisk-Users] RE: Rewind MusicOnHold?

2006-02-02 Thread Brent Torrenga
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...