On Wed, 2013-06-19 at 13:03 -0500, Daniel - Asterisk wrote: > Hello everyone, > > I'm trying to send a received fax with mutt, when I try it from the > Linux shel it works, but when trying with Asterisk's System command it > doesn't. > > Successful Linux command: > echo | mutt -s "New fax" [email protected] > -a /tmp/faxes/201306191111.tif > > Unsuccessful Asterisk Command: > same => n,System(mutt -s "New fax" [email protected] -a > ${FAXDEST}/${tempfax}.tif) > > I'm using Asterisk 1.8.19.0 on Debian 6.0.6, Asterisk was installed by > root. > > Any hint will be appreciated. > > Elder D. Arohuanca > Lima - Peru > > -- I' though I sent this once already but here goes again...
Have you tried changing to asterisk user and then do the same command? i.e. sudo su asterisk You may find that the asterisk user doesn't have a full shell environment and you will ahve to set one using chsh Regards Ish -- Ishfaq Malik <[email protected]> Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: [email protected] w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, 2A ENTERPRISE HOUSE, LLOYD STREET NORTH, MANCHESTER SCIENCE PARK, MANCHESTER, M156SE COMPANY REG NO. 04920552 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
