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

OCG Technical Support support at ocg.ca
Thu Jan 15 18:17:59 CST 2009


If you want to email me your fixed script I'll put it up on the web site...

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of sean darcy
Sent: January 15, 2009 7:08 PM
To: Asterisk Users List
Subject: Re: [asterisk-users] how to debug mime-construct with fax2mail?

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


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list