[asterisk-users] sending fax using chan_capi
Ahmed Munir
ahmedmunir007 at gmail.com
Fri Sep 23 11:14:10 CDT 2011
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
--
Regards,
Ahmed Munir Chohan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110923/76087974/attachment.htm>
More information about the asterisk-users
mailing list