Knowlege base

Saving faxes in structured folders

Article ID: 88
Last updated: 29 Jul, 2021
Applies from Application Suite 2015.3.1

Description / Question:

How to let Digital Fax save incoming/outgoing faxes in structured folders on file system.


Solution:

If you want Digital Fax save the received or sent faxes to a structured tree of folders, proceed as follows.


Edit this configuration file with your favorite editor: 

<AppSuiteDir>\Apps\Stonefax\Server\System\StoneFax.ini

Under [Settings] section verify the following parameters: CopyPathFormatIncoming and CopyPathFormatOutgoing. These parameters define how to save faxes:

  • CopyPathFormatIncoming defines the full destination filename for incoming faxes
  • CopyPathFormatOutgoing defines the full destination filename for outgoing faxes


For example if we want to save all incoming/outgoing faxes with this structure:


K:\BACKUP\2014\08\22\In\user_a\Fax_20140822_1504_From_02037811.pdf
K:\BACKUP\2014\08\22\Out\user_a\Fax_20140822_1504_To_035288219.pdf
...
K:\BACKUP\2013\11\09\In\user_n\Fax_20131109_0957_From_02037812.pdf
K:\BACKUP\2013\11\09\Out\user_n\Fax_20131109_0932_To_072173261.pdf

Ensure the [Settings] section of the configuration file includes the following lines:

[Settings]
CopyPathFormatIncoming=K:\BACKUP\{date:yyyy}\{date:MM}\{date:dd}\In\{username}\Fax_{date}_{time}_From_{callingnumber}
CopyPathFormatOutgoing=K:\BACKUP\{date:yyyy}\{date:MM}\{date:dd}\Out\{username}\Fax_{date}_{time}_To_{callednumber}

; Set the archive fax format (1=TIFF, 2=PDF)
ArchiveFileFormat=2

Placeholders

You can use the following placeholders as part of your file names or folder names.

{serial} Unique identifier (serial number) of the fax
{callingnumber} Calling fax number.
{callednumber} Called fax number.
{remotenumber} Remote fax number, i.e. sender for incoming faxes; destination for outgoing faxes.
{localnumber} Local fax number, i.e. the internal number and it is destination for incoming faxes; sender for outgoing faxes.
{username} Application username of the sender or destination of the fax
{direction} For incoming fax it is "In". For outgoing faxes it is "Out".
{status} Applies to outgoing faxes only. It can be "OK" or "KO".
{date:yyyyMMdd} yyyy: Year (4 num)
yy: Yes (2 mum)
MM: Month
dd: Day
HH: Hours
mm: Minutes
ss: Seconds
{time} Time of the day (start of transmission/reception), expressed in the "hhmm" format.

Please restart Digital Fax from the web interface after changing this configuration file.

Article ID: 88
Last updated: 29 Jul, 2021
Revision: 18
Views: 599
Print Export to PDF Subscribe Share
This article was:  
Prev   Next
Several incoming faxes can be found in Windows Fax and Scanner...     Unable to receive faxes on Windows Server 2012 R2 with fxssvc...