[asterisk-users] Can run from shell but not from Asterisk System command
Klaverstyn, David C
David.Klaverstyn at intergraph.com
Thu May 10 22:32:43 CDT 2012
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
-- Executing [1122 at internal:1] Answer("SIP/8930-0000002b", "") in new stack
-- Executing [1122 at internal:2] System("SIP/8930-0000002b", "/usr/sbin/fax2mail --cid-name "Console Execuation" --cid-number 61735108900 --dest-exten 8960 -f /var/spool/asterisk/fax/1336702728.59") in new stack
-- Executing [1122 at internal:3] Hangup("SIP/8930-0000002b", "") in new stack
== Spawn extension (internal, 1122, 3) exited non-zero on 'SIP/8930-0000002b'
The log files that the fax2mail script generates are all correct but no email.
Regards
David Klaverstyn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120511/8db050cd/attachment.htm>
More information about the asterisk-users
mailing list