Why "echo |" ? Alsy are you sire of the content of ${FAXDEST} and ${tempfax}.
Add some NoOp before. On 2013-06-19, at 2:29 PM, Daniel - Asterisk <earohua...@gmail.com> wrote: > Hi Andre, > > I've tried with: > System(echo | /usr/bin/mutt -s "New fax" earohua...@gmail.com -a > ${FAXDEST}/${tempfax}) > > with no success, value of SYSTEMSTATUS variable is APPERROR > > Again it works from Linux shell. > > Thanks in advance > > Elder > > > On Wed, Jun 19, 2013 at 1:08 PM, Andre Courchesne <voipfor...@gmail.com> > wrote: > Probably Asterisk does not know where mutt is, specify it's path in your > System command. > > On 2013-06-19, at 2:03 PM, Daniel - Asterisk <earohua...@gmail.com> 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" earohua...@gmail.com -a /tmp/faxes/201306191111.tif >> >> Unsuccessful Asterisk Command: >> same => n,System(mutt -s "New fax" elder.arohua...@gmail.com -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 >> -- >> _____________________________________________________________________ >> -- 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 > > > -- > _____________________________________________________________________ > -- 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 > > -- > _____________________________________________________________________ > -- 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
-- _____________________________________________________________________ -- 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