Displaying 1 result from an estimated 1 matches for "sean_email".
2009 Jan 14
1
1.6.1-b4: Can't get fax2mail work from System()
.............
[incoming-fax]
exten => 
s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d%H%M)}-0${CALLERIDNUM})
exten => s,2,ReceiveFAX(${FAXFILE}.tif)
exten => s,3,Hangup()
exten=>h,1,System(/usr/local/bin/fax2mail.1.sh --dest-name "Sean" 
--dest-email "${Sean_email}" -f "${FAXFILE}")
which looks like it works just fine from the cli:
     -- DAHDI/2-1 is ringing
     -- Redirecting DAHDI/4-1 to fax extension
     -- Hungup 'DAHDI/2-1'
   == Spawn extension (incoming-pstn-line, fax, 1) exited non-zero on 
'DAHDI/4-1'
     -- Exe...