Displaying 1 result from an estimated 1 matches for "fax_status".
Did you mean:
cxx_status
2018 May 21
5
Looking for better fax handling
...ion)})
same => n,GotoIf($["${FAXOPT(status)}" = "SUCCESS"]?faxok)
same => n,Set(STATUS=${STATUS}\nError: ${FAXOPT(error)})
same => n(faxok),Verbose(0,FAX ${destination} Status (S): ${STATUS})
same => n,Set(FAXNAME=${CUT(faxfile,/,6)})
same => n,Set(FILE(/fax_status/${FAXNAME})=${STATUS})
same => n,GotoIf($["${FAXOPT(status)}" != "SUCCESS"]?faxfail)
same => n,System(/bin/mv '${faxfile}' '/fax_success/${FAXNAME}')
same => n,Set(CDR(userfield)=${destination})
same => n,Verbose(0,FAX to ${destination} charg...