<div>Hi guys,</div>
<div> </div>
<div>Matt gave the advice below for a way to cause MoH to rewind and play from the beginning for each call that comes in.</div>
<div>However the music doesn't restart.</div>
<div> </div>
<div>Here was my first attempt:-</div>
<div> </div>
<div>mode=custom<br>directory=/var/lib/asterisk/mohmp3<br>application=/usr/local/bin/madplay -Q -o raw:- --mono -R 8000 -a -12</div>
<div> </div>
<div>So i added Time and Repeat to the command line, but that still didnt work:</div>
<div> </div>
<div>
<div>mode=custom<br>directory=/var/lib/asterisk/mohmp3<br>application=/usr/local/bin/madplay -Q -o raw:- --mono -R 8000 -a -12 --time=00:00:60.000 --repeat=1<br> </div>
<div>Does anyone have any ideas on how I should be doing this?</div>
<div> </div>
<div>Thanks</div>
<div>Dan Journo</div>
<div><a href="http://www.TextOver.com">www.TextOver.com</a><br> </div></div>
<div><span class="gmail_quote">On 03/02/06, <b class="gmail_sendername">Matt Riddell (IT)</b> <<a href="mailto:matt.riddell@sineapps.com">matt.riddell@sineapps.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Dan Journo wrote:<br>> Ok, i feel like im getting somewhere but i need a little help.<br>><br>> Asterisk displays this when its loading:-
<br>> [res_musiconhold.so] => (Music On Hold Resource)<br>> == Registered application 'MusicOnHold'<br>> == Registered application 'WaitMusicOnHold'<br>> == Registered application 'SetMusicOnHold'<br>
> == Registered application 'StartMusicOnHold'<br>> == Registered application 'StopMusicOnHold'<br>> == Parsing '/etc/asterisk/musiconhold.conf': Found<br><br>Use a custom musiconhold class playing ulaw files or whatever - they
<br>will start from the beginning each time.<br><br>--<br>Cheers,<br><br>Matt Riddell<br>_______________________________________________<br><br><a href="http://www.sineapps.com/news.php">http://www.sineapps.com/news.php</a>
(Daily Asterisk News - html)<br><a href="http://freevoip.gedameurope.com">http://freevoip.gedameurope.com</a> (Free Asterisk Voip Community)<br><a href="http://www.sineapps.com/rssfeed.php">http://www.sineapps.com/rssfeed.php
</a> (Daily Asterisk News - rss)<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>