[App_rpt-users] event subsystem variable use in system call

mike at midnighteng.com mike at midnighteng.com
Wed Apr 5 03:54:39 UTC 2017


I think your problem is that you are trying to execute from a linux
command and the subsystem resides at the asterisk level.

Not that you can do it from there but you must address it where it
resides.

...mike/kb8jnm

----- Original Message -----
From: "Users of Asterisk app_rpt"
<app_rpt-users at lists.allstarlink.org>
To:<App_rpt-users at lists.allstarlink.org>
Cc:
Sent:Tue, 4 Apr 2017 16:39:51 -0700
Subject:[App_rpt-users] event subsystem variable use in system call

I am learning about the event subsystem.

One of my events looks like this:

echo bla ${RPT_ALINKS} >> /tmp/blabla =  s|T|RPT_NUMLINKS

This executes when I connect.  The contents of /tmp/blabla is simply
bla.  I would have expected ${RPT_ALINKS} to have been expanded.  

Am I assuming functionality that doesn't exist?

Lowell


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20170404/e2ef6b83/attachment.html>


More information about the App_rpt-users mailing list