I am looking to dig into this issue. I would like some guidance.

This would make some overly broad changes to the faxrx.java, but I am
looking to do this in the least obstructive way, but still making the
conversion happen in the faxrx.java (not running a conversion script
at sendmail).

Right now the faxrx.java does a FaxBodyPart.setFileName("fax-message.tiff");

Since receiving the fax as a tiff file is a FS function, I would not
want to change that. Even FS does not have a published method to
receive the file as a PDF.

So the two things I am looking for are to "change" the file at the end
to a pdf, before it is emailed. I would also like to change the
"fax-message.tiff" filename to a unique julian date filename (i.e.
2011-0822-0736-01.pdf) to help make it more descriptive, and
informative.

I suspect if we add ImageMagick to the required repo (roughly ~30MB of
RPM's) we can take the temp file "tiff" and do a convert command;

convert /temp/fax-message-tiff /temp/fax-message.pdf

So my questions are:

1. Does anyone see an issue with adding ImageMagick to the requirement
for sipxecs?
2. Does anyone see a reason why we can't use a unique attachment name?
If not, it would be nice to do the same for voicemail at some point.
3. Does anyone see an easy way to insert the convert command and still
email out the resulting pdf file utilizing the current script?


--
======================
Tony Graziano, Manager
Telephone: 434.984.8430
sip: [email protected]
Fax: 434.465.6833

Email: [email protected]

LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: [email protected]

Helpdesk Contract Customers:
http://support.myitdepartment.net
Blog:
http://blog.myitdepartment.net

Linked-In Profile: http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet faxservices!
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to