<div>Hi guys,</div>
<div>&nbsp;</div>
<div>Matt gave the advice below&nbsp;for&nbsp;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>&nbsp;</div>
<div>Here was my first attempt:-</div>
<div>&nbsp;</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>&nbsp;</div>
<div>So i added Time and Repeat to the command line, but that still didnt work:</div>
<div>&nbsp;</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&nbsp;--time=00:00:60.000 --repeat=1<br>&nbsp;</div>
<div>Does anyone have any ideas on how I should be doing this?</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Dan Journo</div>
<div><a href="http://www.TextOver.com">www.TextOver.com</a><br>&nbsp;</div></div>
<div><span class="gmail_quote">On 03/02/06, <b class="gmail_sendername">Matt Riddell (IT)</b> &lt;<a href="mailto:matt.riddell@sineapps.com">matt.riddell@sineapps.com</a>&gt; 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>&gt; Ok, i feel like im getting somewhere but i need a little help.<br>&gt;<br>&gt; Asterisk displays this when its loading:-
<br>&gt; [res_musiconhold.so] =&gt; (Music On Hold Resource)<br>&gt;&nbsp;&nbsp; == Registered application 'MusicOnHold'<br>&gt;&nbsp;&nbsp; == Registered application 'WaitMusicOnHold'<br>&gt;&nbsp;&nbsp; == Registered application 'SetMusicOnHold'<br>
&gt;&nbsp;&nbsp; == Registered application 'StartMusicOnHold'<br>&gt;&nbsp;&nbsp; == Registered application 'StopMusicOnHold'<br>&gt;&nbsp;&nbsp; == 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>&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>