Book Image

Freeswitch 1.6 Cookbook

By : Anthony Minessale II, Giovanni Maruzzelli
Book Image

Freeswitch 1.6 Cookbook

By: Anthony Minessale II, Giovanni Maruzzelli

Overview of this book

FreeSWITCH 1.6 Cookbook is written for anyone who wants to learn more about using FreeSWITCH in production. The information is presented in such a way that you can get up and running quickly. The cookbook approach eschews much of the foundational concepts, and instead focuses on discrete examples that illustrate specific features. If you need to implement a particular feature as quickly as possible, then this book is for you.
Table of Contents (9 chapters)
8
Index

Getting familiar with the fs_cli interface

The preferred method of connecting to the FreeSWITCH console is by using the fs_cli program, where fs_cli stands for FreeSWITCH Command-line Interface. This program comes with FreeSWITCH as part of the default installation, and works with Linux/Unix, Mac OS X, and Windows. What is less known about fs_cli is that it is an excellent example of an ESL program. Beyond that, anything that you can do with fs_cli can also be done with ESL and the event socket.

Tip

Keep in mind that when you are logged in to fs_cli, you can do anything that you can do on the FreeSWITCH console, including shutting down the system and disconnecting any calls. So, exercise appropriate caution when using fs_cli.

Naturally, the first step in mastering external control of FreeSWITCH is to become familiar with fs_cli. Indeed, it is one of the most important tools for interacting with your FreeSWITCH server.

Note

If you're familiar with C programming, then you might appreciate...