-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Freeswitch 1.6 Cookbook
By :

Most companies have some form of dial-by-name directory. This recipe will show you how to add a company directory to your FreeSWITCH installation using mod_directory
.
Enable and build mod_directory
by following these steps:
Open modules.conf in your FreeSWITCH source directory.
Uncomment this line:
#applications/mod_directory
Save the file and exit.
Linux/Unix users have to issue the proper make
command:
make mod_directory-install
Allow mod_directory
to be loaded when FreeSWITCH starts:
Open conf/autoload_configs/modules.conf.xml
in a text editor.
Uncomment this line:
<!--<load module="mod_directory"/>-->
Save the file and exit.
Restart FreeSWITCH.
Start fs_cli
and issue the command show
application.
You should see an application named directory
in the list. Next, we need to add a simple dialplan extension that will let us test:
Open conf/dialplan/default/01_Custom.xml
in a text editor.
Add these lines:
<include> <extension name="dial by name"...
Change the font size
Change margin width
Change background colour