Please don' top post.
On Mon, 2 Mar 2015, Tech Support wrote:
I'm surprised that you didn't have to specify the full path to the 'touch'
command. When writing AGI scripts, I always do something like
$touch = which( 'touch' ). I guess it's over kill.
The AGI process inherits the environment of the parent, Asterisk.
You can set the Asterisk environment in the script that starts Asterisk.
For example:
cd /tmp/
ulimit -n 8192
nice --adjustment=-20\
env --ignore-environment\
HOSTNAME=${HOSTNAME}\
PATH=${PATH}\
$ASTERISK $START_OPTIONS
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards [email protected] Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users