<html><body style="font-family: Helvetica,Arial,sans-serif; font-size: 12px;">I think your problem is that you are trying to execute from a linux command and the subsystem resides at the asterisk level.<br><br>Not that you can do it from there but you must address it where it resides.<br><br><br>...mike/kb8jnm<br><br><br><blockquote class="atmailquote"><br>----- Original Message -----<br><div id="origionalMessageFromField" style="width:100%;display:inline;background:rgb(228,228,228);"><div style="display:inline;font-weight:bold;">From:</div> "Users of Asterisk app_rpt" <app_rpt-users@lists.allstarlink.org></div><br><div id="origionalMessageToField" style="display:inline;font-weight:bold;">To:</div><App_rpt-users@lists.allstarlink.org><br><div id="origionalMessageSentField" style="display:inline;font-weight:bold;">Cc:</div><br><div style="display:inline;font-weight:bold;">Sent:</div>Tue, 4 Apr 2017 16:39:51 -0700<br><div id="origionalMessageSubjectField" style="display:inline;font-weight:bold;">Subject:</div>[App_rpt-users] event subsystem variable use in system call<br><br><br><div dir="ltr">I am learning about the event subsystem.<div><br></div><div>One of my events looks like this:</div><div><br></div><div>echo bla ${RPT_ALINKS} >> /tmp/blabla =  s|T|RPT_NUMLINKS<br></div><div><br></div><div>This executes when I connect.  The contents of /tmp/blabla is simply bla.  I would have expected ${RPT_ALINKS} to have been expanded.  </div><div><br></div><div>Am I assuming functionality that doesn't exist?</div><div><br></div><div>Lowell</div><div><br></div></div>


        </blockquote></body></html>