FreeSWITCH Woomera Client Install
From ProjectDiaStar
Contents |
Getting the source code
The source code for the FreeSWITCH Woomera channel driver is distributed with the install set for the DiaStar™ Server.
Alternatively if you are running the latest DiaStar™ Server you can get mod_woomera from source control.
$ svn checkout svn://svn.projectdiastar.org/diastar/trunk/clients/freeswitch/mod_woomera
FreeSWITCH
FreeSWITCH must be installed before the mod_woomera driver is built. The FreeSWITCH installation is well documented here.
Mod_woomera Build and Install
mod_woomera is built and installed with the makefile that accompanies it.
Before executing, the Makefile needs to know where your FreeSWITCH source code is located so that it can find the required header files.
To do this you will need to edit the Makefile and set the BASE setting to the directory where your FreeSWITCH installation is located.
Makefile
BASE=/usr/src/freeswitch.trunk include $(BASE)/build/modmake.rules
The install option copies the mod_woomera.so module into /usr/local/freeswitch/mod.
Profiles
Not yet supported under FreeSWITCH
Configuration
You will need to uncomment the following line in the file /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml
<load module="mod_woomera"/>
FreeSWITCH will now load the mod_woomera on startup.
The configuration for the Woomera client is held in the file /usr/local/freeswitch/conf/autoload_configs/woomera.conf.xml.
If this file does not exist create it and use the following settings.
<configuration name="woomera.conf" description="Woomera Endpoint">
<settings>
<param name="debug" value="10"/> (put the value to 0 if you don't need debug output)
</settings>
<applications>
<param name="WoomeraPlayback" value="1"/>
<param name="WoomeraBackground" value="1"/>
<param name="WoomeraWaitForTone" value="1"/>
<param name="WoomeraRecord" value="1"/>
</applications>
<interface>
<param name="host" value="192.168.195.50"/> (The network address of the DiaStar server)
<param name="port" value="42420"/> (this is the default port, it can be set to any allowed port number)
<param name="audio-ip" value="192.168.195.10"/> (The local network address used for RTP)
<param name="rtp" value="1"/> (Enable RTP audio transport)
<param name="video-rtp" value="1"/> (Enable RTP video transport)
<param name="language" value="en_US"/>
<param name="dialplan" value="XML"/>
<param name="context" value="diastar"/>
</interface>
</configuration>
