fax2email - 這是一個 bash script,可用於各種傳真模組。
必要的元件
/var/lib/asterisk/bin/fax2mail.sh:如附檔
/etc/asterisk/extensions_custom.conf:
[my-fax-in] exten => s,1,Answer exten => s,n,Wait(2) exten => s,n,Set(FAXFILE=/var/spool/asterisk/fax/fax_${STRFTIME(,,%Y%m%d-%H%M)}_${RAND(1)}.tiff) exten => s,n,Noop(CALLERIDNUM = ${CALLERIDNUM}) exten => s,n,Noop(CALLEDFAX = ${EXTEN}) exten => s,n,ReceiveFAX(${FAXFILE}) exten => s,n,Hangup exten => h,1,System(/var/lib/asterisk/bin/fax2mal.sh "unknown" "unknown" "Users" "alanghsu@gttw.com.tw" "${FAXFILE}" "My Company")
Images 0 | ||
---|---|---|
No images to display in the gallery. |