<div dir="ltr"><div>Yup i deliberately have not loaded it. Actually when we add url's which are not mp3(mod_shout supported format) they give us error. <br><br>As i am using mod_local_stream with it to run it as local stream, any invalid entry in my playlist.loc file will flood my freeswitch with logs. I want to remove that entry by running an external script upon error.<br><br></div>Streams url are added by client through some website. And sometime they add invalid stream this gives us error. I manually want to remove that entry.<br><div><div><div><div><br></div><div>Thanks for your reply.<br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 10 January 2015 at 00:22, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Looks like you don't have mod_shout loaded.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Jan 9, 2015 at 8:55 AM, Aqs Younas <span dir="ltr"><<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div>Hi, <br><br></div>How can i launch a script when there are error logs in freeswitch log file. Actually i am using mod_shout as MOH with mod_local_stream, when someone enters a url of stream that is not responding i see logs all these.<br><br>2015-01-09 19:38:39.338003 [ERR] mod_local_stream.c:214 Can't open shout://<a href="http://174.37.194.139:8316" target="_blank">174.37.194.139:8316</a><br>2015-01-09 19:38:41.337988 [ERR] switch_core_file.c:149 Invalid file format [shout] for [<a href="http://174.37.194.139:8316" target="_blank">174.37.194.139:8316</a>]!<br>2015-01-09 19:38:42.337988 [ERR] mod_local_stream.c:214 Can't open shout://<a href="http://s9.voscast.com:7584" target="_blank">s9.voscast.com:7584</a><br>2015-01-09 19:38:42.337988 [ERR] switch_core_file.c:149 Invalid file format [shout] for [<a href="http://s9.voscast.com:7584" target="_blank">s9.voscast.com:7584</a>]!<br><br><br></div>I want to run an external script to remove that file or urls when there are errors logs in freeswitch.<br><br></div>But i don't know how to trigger that script on errors in freeswitch log.<br><br></div>Any help would be much appreciated.<br><br></div>Thanks.<br></div>
<br></div></div><span class="">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font face="courier new, monospace" size="1"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b><a href="tel:%2B19184209001" value="+19184209001" target="_blank">+19184209001</a> | <b>F:</b><a href="tel:%2B19184209002" value="+19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>