Hi Stephen,<div><br></div><div>Thanks for the reply, here's how I play the news over the repeater.<br><div><br></div><div>I record the files the night before and save them to the node as an .au file, then just use a root cron to call a bash script which contains the following:</div>
<div><br></div><div><div>/usr/sbin/asterisk -rx "rpt fun 2250 *6"   ; disconnect all connections<br></div><div>sleep 6</div><div>/usr/sbin/asterisk -rx "rpt fun 2250 *947" ; reset the link activity timer flag</div>
<div>sleep 3</div><div>/usr/sbin/asterisk -rx "rpt playback 2250 gb2rs"   ; plays the file</div><div><br></div><div>There is an almost identical script for the ARNewsline which plays out in the evening.</div><div>
<br></div><div>If there is an incoming connection during the playback, Alisson announces the incoming connection, and thats the end of the playback. I think that you could be right about the connect message causing the problem.</div>
<div><br></div><div>Perhaps I should be playing the files a different way which would alleviate the problem?</div><div><br></div><div>It would be nice though, to be able to script in something to prevent incoming connections during this time. I'm not sure how to script something that would comment out the line in extensions.conf - I'll have to look into how to do that but it certainly looks like that will achieve whats needed.</div>
<div><br></div><div>Thanks everyone for the help so far.</div><div><br></div><div>Best wishes,</div><div><br></div><div>Matt</div><div>G4RKY</div><div>( currently listening to the latest Newsline :-) )</div><br><div class="gmail_quote">
2009/6/7 Stephen Rodgers <span dir="ltr"><<a href="mailto:sales@qrvc.com">sales@qrvc.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div>
</div><div class="h5">Matt Beasant wrote:<br>
> Hi,<br>
> When I play the GB2RS news and ARnewsline audio files over my node, the<br>
> playback is killed off by an incoming connection.<br>
><br>
> How can I prevent an incoming connection during this time?<br>
><br>
> I thought I could disable the node but of course this kills the Tx<br>
> completely!<br>
><br>
> Didnt want to do anything as drastic as take down ETH0 if I could help it as<br>
> the node is on a remote hilltop.<br>
><br>
> Any ideas would be greatly appreciated.<br>
><br>
> Thanks,<br>
><br>
> Matt<br>
> G4RKY<br>
><br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> App_rpt-users mailing list<br>
> <a href="mailto:App_rpt-users@qrvc.com">App_rpt-users@qrvc.com</a><br>
> <a href="http://qrvc.com/mailman/listinfo/app_rpt-users" target="_blank">http://qrvc.com/mailman/listinfo/app_rpt-users</a><br>
Matt,<br>
<br>
How are you playing these audio files? In other words, what do you do to<br>
 get the audio files to play?<br>
<br>
I'm wondering if the connect message is the real culprit here.<br>
<br>
LNKDIS only disables the linking functions it does not prevent incoming<br>
connections from being accepted. Currently, the best way to do this is<br>
to edit extensions.conf and comment our Rpt application like this:<br>
<br>
[radio-secure]<br>
;exten = 2010,1,rpt,2010<br>
<br>
It seems strange to me that the audio file is being killed off and<br>
I'd like to try out how you are playing files here to understand the<br>
mechanism.<br>
<br>
Steve<br>
WA6ZFT<br>
<br>
<br>
_______________________________________________<br>
App_rpt-users mailing list<br>
<a href="mailto:App_rpt-users@qrvc.com">App_rpt-users@qrvc.com</a><br>
<a href="http://qrvc.com/mailman/listinfo/app_rpt-users" target="_blank">http://qrvc.com/mailman/listinfo/app_rpt-users</a><br>
</blockquote></div><br></div></div>