[asterisk-users] Mailing a fax with mutt does not succeed

Andre Courchesne voipforces at gmail.com
Wed Jun 19 13:38:50 CDT 2013


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 <earohuanca at gmail.com> wrote:

> Hi Andre,
>  
> I've tried with:
> System(echo | /usr/bin/mutt -s "New fax" earohuanca at 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 <voipforces at 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 <earohuanca at 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" earohuanca at gmail.com -a /tmp/faxes/201306191111.tif
>>  
>> Unsuccessful Asterisk Command:
>> same => n,System(mutt -s "New fax" elder.arohuanca at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130619/bd6b7528/attachment.htm>


More information about the asterisk-users mailing list