<div>As a follow on from my last email, it appears that Asterisk restarts the player application if the process terminates.</div>
<div>&nbsp;</div>
<div>Does anyone know a way to stop that?</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Dan<br>&nbsp;</div>
<div><span class="gmail_quote">On 27/02/06, <b class="gmail_sendername">Dan Journo</b> &lt;<a href="mailto:danjourno@gmail.com">danjourno@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<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><span class="sg">
<div>Dan Journo</div>
<div><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.textover.com/" target="_blank">www.TextOver.com</a><br>&nbsp;</div></span></div>
<div><span class="e" id="q_109ac8bfc5f44c68_3">
<div><span class="gmail_quote">On 03/02/06, <b class="gmail_sendername">Matt Riddell (IT)</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:matt.riddell@sineapps.com" target="_blank">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 onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.sineapps.com/news.php" target="_blank">
http://www.sineapps.com/news.php</a> (Daily Asterisk News - html)<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://freevoip.gedameurope.com/" target="_blank">http://freevoip.gedameurope.com</a> (Free Asterisk Voip Community)
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.sineapps.com/rssfeed.php" target="_blank">http://www.sineapps.com/rssfeed.php </a>(Daily Asterisk News - rss)<br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://easynews.com/" target="_blank">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit: 
<br>&nbsp;&nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div>
<br></span></div></blockquote></div><br>