<div>As a follow on from my last email, it appears that Asterisk restarts the player application if the process terminates.</div>
<div> </div>
<div>Does anyone know a way to stop that?</div>
<div> </div>
<div>Thanks</div>
<div>Dan<br> </div>
<div><span class="gmail_quote">On 27/02/06, <b class="gmail_sendername">Dan Journo</b> <<a href="mailto:danjourno@gmail.com">danjourno@gmail.com</a>> 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> </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><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> </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> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:matt.riddell@sineapps.com" target="_blank">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 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> <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>