Can run from shell but not from Asterisk System command

Home » Asterisk Users » Can run from shell but not from Asterisk System command
Asterisk Users 1 Comment

Hi All,

I have this strange problem on a newly installed PBX. 1.8.12.0. I have other installs of 1.8.12.0 that does not exhibit this problem.

I can run from the console
/usr/sbin/fax2mail –cid-name “Console Execuation” –cid-number 61123123 –dest-exten 8960 -f /var/spool/asterisk/fax/1336702728.59

… and an email will be emailed to me.

The following does not produce an email.
exten => 1122,1,Answer
exten => 1122,n,System(/usr/sbin/fax2mail –cid-name “Console Execuation” –cid-number 61123123 –dest-exten 8960 -f /var/spool/asterisk/fax/1336702728.59)
exten => 1122,n,HangUp

result from CLI
== Using SIP RTP CoS mark 5

One thought on - Can run from shell but not from Asterisk System command