Fax Email Templates?

Status
Not open for further replies.

tag915

Member
Sep 24, 2018
67
6
8
Looking around trying to see how to customize the fax email templates and found a few things and have a couple questions.

  • Although I found the templates under "/usr/share/freeswitch/scripts/app/fax/resources/templates" those do not seem to actually be used. I'm assuming they are for future use? Changing them makes no difference and there is no reference to them in the below file.

  • I found that the emails for faxes being sent are generated from "/usr/share/freeswitch/scripts/fax_retry.lua". The message body/etc is actually coded in the lua code.

  • I haven't found the source for generating emails for received faxes yet.
My questions are does anyone know if there is a way to actually use the templates or is the only option to modify the code in fax_retry.lua? Also any idea where the emails for received faxes are generated?

Thank you
 

tag915

Member
Sep 24, 2018
67
6
8
Well I found where the received fax email is generated. Its in the file "/var/www/fusionpbx/secure/fax_to_email.php". It's also done at the code level. I would love to see if there is a way to use a template for these emails?
 
Status
Not open for further replies.