[asterisk-users] Running a script after Dial() ?

Steve Edwards asterisk.org at sedwards.com
Thu Feb 4 18:46:14 CST 2010


On Fri, 5 Feb 2010, Ben Dinnerville wrote:

> Why dont you use the MixMonitor application which allows for a system 
> command to be passed in as an argument that is executed once the 
> recording is finished??? -

[snip]

> Note that no environment variables are given to <command> — you must 
> pass these on via command-line arguments.

I get a somewhat minimal set of standard shell environment variables 
(BASH*, HOSTNAME, PWD, TERM, etc) including the same PATH environment 
variable I passed to Asterisk when it was started.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000


More information about the asterisk-users mailing list