Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
cd /usr/tmp
wget http://files.freeswitch.org/g729/fsg729-xxx-installer
chmod 755 fsg729-xxx-installer
./fsg729-xxx-installer

G.729 License Activitation

Run the license validator:

usr/local/freeswitch/bin/validator
Enter the sales code you received from Freeswitch, licenses.zip file will be generated in the current directory. Unzip this file into /etc/freeswitch/
After unzip there will be xxxxxxxxxxxxxxxx.conf in the /etc/freeswitch

Freeswitch

...

Configuration

Disable the existing "mod_g729" by editing /etc/sipxpbx/freeswitch/conf/

...

autoload_configs/modules.conf.xml and add the "mod_com_g729":

Code Block
langxml
<!‐‐ <load module="mod_g729"/> ‐‐>

...


<load module="mod_com_g729"/>

Note: After you have done with modules.conf.xml, make sure that /etc/sipxpbx/freeswitch is owned by sipxchange:sipxchange

Run the following command to do this:

chown -R sipxchange:sipxchange /etc/sipxpbx/freeswitch

Restart media services.

Sipxconfig will detect this module and add G.729 codec as default to the following:

  • System/Servers/Server nnn/Media Services/Codec
  • System/Servers/Server nnn/SIP trunking/SIP/Permitted Codecs
Info

freeswitch_licence_server is automatically started by mod_com_g729 if freeswitch is started by root, but in sipXecs freeswitch is not started by root. So you have to start freeswitch_license_server manually: /usr/sbin/freeswitch_license_server

Monitoring License

Run the freeswitch console:

/usr/local/freeswitch/bin/fs_cli

Code Block
 freeswitch@internal> g729_status
 Permitted G.729AB channels: 1
 Encoders in use: 0
 Decoders in use: 0