<div class="gmail_quote">On Wed, Apr 4, 2012 at 9:31 AM, Raymond Norton <span dir="ltr">&lt;<a href="mailto:admin@lctn.org">admin@lctn.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
This may be a moot point, but I banged out something that might give you debug information.  Perl is not my first language. :)<br>
<br>
<a href="http://pastebin.com/CXSu4Lcd" target="_blank">http://pastebin.com/CXSu4Lcd</a><br>
<br>
See what you get in the debug file generated.  I&#39;ll be curious to see if it works for you.<br>
<br>
</blockquote>
<br></div>
I get the following error when running this script:<br>
<br>
syntax error at ./new-channel-changer.sh line 19, near &quot;sub change_SIGNAL &quot;<br>
Can&#39;t use global @_ in &quot;my&quot; at ./new-channel-changer.sh line 20, near &quot;= @_&quot;<br>
syntax error at ./new-channel-changer.sh line 22, near &quot;}&quot;<br>
Execution of ./new-channel-changer.sh aborted due to compilation errors.<br>
<br>
</blockquote></div><br>I forgot a trailing semicolon on the line above.  This now compiles for me.  Try <a href="http://pastebin.com/3fHSEvCu">http://pastebin.com/3fHSEvCu</a> instead.<br><br>The debug information in /tmp/debugchangechannel.txt will show what the script sends OUT.  Like Nick said, the debug info in STDOUT and /var/log/channel.log will give you information on what is passed INTO the script.  I suspect your problem lies in what happens before the script is executed.<br>

<br>Good luck.  Sorry about the typo.  I hope that you will get something in the output.<br><br>Jerry<br>