<div dir="ltr">Looks like you don&#39;t have mod_shout loaded.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 9, 2015 at 8:55 AM, Aqs Younas <span dir="ltr">&lt;<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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&#39;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&#39;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&#39;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>_________________________________________________________________________<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><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><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 size="1" face="courier new, monospace"><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>+19184209001 | <b>F:</b>+19184209002 | <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>