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

2009-01-15 Thread sean darcy
I'm trying to capture faxes on 1.6.1-beta4. AFAICT, app_fax is working OK. I'm then using fax2mail to send the fax. That wasn't working, so i posted for help using the System() cmd, since fax2mail did work from the command line. But now I realize it's fax2mail and mime-construct itself. I set

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

2009-01-15 Thread Danny Nicholas
To: asterisk-users@lists.digium.com Subject: [asterisk-users] how to debug mime-construct with fax2mail? I'm trying to capture faxes on 1.6.1-beta4. AFAICT, app_fax is working OK. I'm then using fax2mail to send the fax. That wasn't working, so i posted for help using the System() cmd, since

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

2009-01-15 Thread Joseph L. Casale
Have you tried your system stuff under su - asterisk? Once it works that way, the system() command will work. asterisk is running as root, I run the command at the terminal as root. I am guessing he doesn't even have an asterisk user. ___ --

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

2009-01-15 Thread sean darcy
Joseph L. Casale wrote: Have you tried your system stuff under su - asterisk? Once it works that way, the system() command will work. asterisk is running as root, I run the command at the terminal as root. I am guessing he doesn't even have an asterisk user. Well I do have an asterisk

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

2009-01-15 Thread Lyle Giese
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

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

2009-01-15 Thread sean darcy
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

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

2009-01-15 Thread OCG Technical Support
: [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

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

2009-01-15 Thread sean darcy
OCG Technical Support wrote: If you want to email me your fixed script I'll put it up on the web site... Well I'd be pleased to have any script of mine put up on any web site, but the only thing I did was to hard wire my location of mime-construct: MimeC=/usr/local/bin/mime-construct and