11.17.1 : ReceiveFax Then Signal 11 ??
dialplan
[FaxIncoming]
exten=s,1,NoOp(Incoming fax on 46-va)
same=n,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d)}_${STRFTIME(${EPOCH},,%H%M)})
same=n,Answer()
same=n,ReceiveFAX(${FAXFILE}.tif,df)
same=n,Hangup()
exten=>h,1,NoOp(FAXSTATUS: ${FAXSTATUS} FAXERROR: ${FAXERROR}
FAXPAGES: ${FAXPAGES} @ bitrate ${FAXBITRATE})
same=n,System(scp ${FAXFILE}.tif asterisk@asterisk:/home/asterisk/ec2fax/ )
same=n,System(ssh asterisk@asterisk
“/home/asterisk/bin/email-ec2fax.sh ${FAXFILE} ${CALLERID(name)}
${CALLERID(num) ” )
cli
………
— Executing [s@FaxIncoming:3] Answer(“SIP/ec2faxcall17-00000000”,
“”) in new stack
— Executing [s@FaxIncoming:4]
ReceiveFAX(“SIP/ec2faxcall17-00000000”,
“/var/spool/asterisk/fax/20150605_2137.tif,df”) in new stack
— Channel ‘SIP/ec2faxcall17-00000000’ receiving FAX
‘/var/spool/asterisk/fax/20150605_2137.tif’
ip-172-31-53-29*CLI>
Disconnected from Asterisk server Asterisk cleanly ending (0). Executing last minute cleanups
syslog
asterisk[11540]: — Executing [s@FaxIncoming:3]
Answer(“SIP/ec2faxcall17-00000000”, “”) in new stack asterisk[11540]: — Executing [s@FaxIncoming:4]
ReceiveFAX(“SIP/ec2faxcall17-00000000”, “/var/spool/a…ew stack asterisk[11540]: — Channel ‘SIP/ec2faxcall17-00000000’ receiving FAX ‘/var/spool/asterisk/fax/20150605_2137.tif’
systemd[1]: asterisk.service: main process exited, code=killed, status/SEGV
asterisk[11587]: Unable to connect to remote asterisk (does
/run/asterisk/asterisk.ctl exist?
Doesn’t Signal 11 mean accessing prohibited ram ?
Does it matter this on an ec2 instance?
Thanks for any help.
sean