Jump to content

Recommended Posts

Posted

$ sudo yum provides tiff2pdf

libtiff-tools-4.0.3-27.el7_3.x86_64 : Command-line utility programs for manipulating TIFF files
 

 

 

 

  • 2600Hz Employees
Posted

If the attachment in the db is a tiff, I believe the API will return the tiff. The fax manager app is accessing the attachment directly in the DB, when a fax is received it is saved to the db in tiff format. Teletype does convert to PDF which should work if libtiff-tools is installed, but only in email notifications. I don't believe it converts it in the API returning it though, this wouldn't be very difficult to implement, it would require a UI update to modify the request to ask for PDF and the api would need to convert to pdf before returning the file. 

Posted
On 6/26/2018 at 6:47 PM, Sean Wysor said:

If the attachment in the db is a tiff, I believe the API will return the tiff. The fax manager app is accessing the attachment directly in the DB, when a fax is received it is saved to the db in tiff format. Teletype does convert to PDF which should work if libtiff-tools is installed, but only in email notifications. I don't believe it converts it in the API returning it though, this wouldn't be very difficult to implement, it would require a UI update to modify the request to ask for PDF and the api would need to convert to pdf before returning the file. 

Think this must be done on kazoo-app side as "Accept: application/pdf" of http request
Then you easy request required content type.

  • 2600Hz Employees
Posted

To support this we need to make this  simple change to the API to convert the attachment when the user requests this. Waiting for perquisite converter some other stuff to get merged first and then I will fix this. This will still need to wait for the UI update to include configurable accept types (Tiff or PDF). 

  • 5 months later...
  • 5 weeks later...
  • 2600Hz Employees
Posted

Yeah this is fixed. By default, it will now return PDFs which are generated from the faxed Tiff file instead of the random format of the original attachment.  This default format is configurable via the system_config parameter in the kazoo_convert document property fax.attachment_format

×
×
  • Create New...