Book Image

FreeSWITCH Cookbook

Book Image

FreeSWITCH Cookbook

Overview of this book

FreeSWITCH is an open source telephony platform designed to facilitate the creation of voice, chat, and video applications. It can scale from a soft-phone to a PBX and even up to an enterprise-class softswitch.In the FreeSWITCH Cookbook, members of the FreeSWITCH development team share some of their hard-earned knowledge with you in the book's recipes. Use this knowledge to improve and expand your FreeSWITCH installations.The FreeSWITCH Cookbook is an essential addition to any VoIP administrator's library.The book starts with recipes on how to handle call routing and then discusses connecting your FreeSWITCH server to the outside world.It then teaches you more advanced topics like CDR handling, practical examples of controlling FreeSWITCH with the event socket, and configuring many features commonly associated with a PBX installation.
Table of Contents (12 chapters)
FreeSWITCH Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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...