[asterisk-users] how to debug mime-construct with fax2mail?

sean darcy seandarcy2 at gmail.com
Thu Jan 15 18:08:04 CST 2009


Lyle Giese wrote:
> If you are running the script within Asterisk as root, then it's a path 
> environment issue.  My guess(and I run into this with cron jobs all the 
> time) is that the path is different from the command line than the 
> environment that the script runs under. 
> 
> There are times where the fix is to use the fully qualified path when 
> calling stuff and not assume it's in the path.
> 
> Lyle

You are the man. If we ever meet I owe you a beer, at least one.

In the fax2mail script, it just calls mime-construct without a full 
path. mime-construct on my box is in /usr/local/bin which must not be in 
  the path of the environment System calls are run in. Putting in the 
fully qualified path made it work.

Thanks again.

sean




More information about the asterisk-users mailing list