If you want to email me your fixed script I'll put it up on the web site...
-----Original Message----- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@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 _______________________________________________ -- 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