Wednesday, 19 July 2017

Freeswitch Module installation

Freeswitch Module installation

Freeswitch does not install sounds by default. By using below command default sounds will be loaded/installed.

make all cd-sounds-install cd-moh-install

For installing a module follow below steps(example mod_shout).

Enable module in build --> modules.conf (mod_shout,mod_shell_stream,mod_http_cache)

Configure/Make --->./configure && make install

Enable module in runtime  ---> In /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml  file uncomment <load module="mod_shout"/>

Load the Module ---> load mod_shout

check module loaded/not in CLI ---> module_exists mod_shout {returns true if exists else false}.




To check if there are any new modules execute:

diff build/modules.conf.in modules.conf

If a previously disabled module is now enabled, or there is a requirement to rebuild a single module, execute the following (replace mod_name with the name of the module to build):

make mod_name-install

No comments:

Post a Comment