Sending faxes
FreeSWITCH can transmit electronic documents to a destination fax machine. Only TIFF documents can be transmitted, however it is possible to convert a number of graphical formats to TIFF. This recipe will discuss some common and freely available tools.
Getting ready
In simple terms, sending a fax requires only a few things such as a TIFF file, a gateway, and a destination fax machine (for testing purposes you can download the sample TIFF file at http://files.freeswitch.org/txfax-sample.tiff). Put your TIFF file in a known location. For our example we will use /tmp/txfax-sample.tiff
. The gateway is your connection to the outside world and the fax machine will simply be the device that answers your outbound phone call. If you do not have a gateway or a fax machine handy you can still try out this recipe by using the fax_receive
extension in the default dialplan.
How to do it...
In most cases involving fax transmissions you will make an outbound call to a fax machine (A leg) and then...