sending fax using chan_capi

Home » Asterisk Users » sending fax using chan_capi
Asterisk Users No Comments

Hi,

I tried to sendfax a text file, it was received successfully and the context
were in ascii format (readable form). As I tried to send a fax in .tiff
format (converted from pdf format using ghostscript), the context I received
in fax is in binary form. The dial plan is listed below;

exten => 100,1,Verbose(::::::::::::> Sending Dialogic Diva Fax…)
exten => 100,n,set(BeforeFaxTime=${EPOCH})
exten => 100,n,capicommand(sendfax,/tmp/out.tiff,732-XXX-XXXX,Dialogic Diva
Test Sendfax)
exten => 100,n,HangUp()
exten => h,1,set(ElapsedFaxTime=$[${EPOCH}-${BeforeFaxTime}])
exten =>
h,n,AGI(printfaxresults.sh,${FAXSTATUS},${FAXREASON},${FAXREASONTEXT},${FAXRATE},${FAXRESOLUTION},${FAXFORMAT},${FAXCFFFORMAT},${FAXPAGES},${FAXID},${FAXEXTEN},${ElapsedFaxTime},FaxesSent.log)

Please advice, how can I send fax in image format using T.30