...
Code Block |
---|
cd /usr/tmp wget http://files.freeswitch.org/g729/fsg729-158-installer sh ./fsg729-*158-installer |
Note: fsg729-139-installer did not work with FreeSWITCH Version 1.0.head (1), try 136, the previous one if it gave error such as (var/log/sipxpbx/freeswitch.log):
[xecsuser:CRIT] switch_loadable_module.c:882 Error Loading module /usr/local/freeswitch/mod/mod_com_g729.so
*/usr/local/freeswitch/mod/mod_com_g729.so: undefined symbol: g729_decode_free*
-ERR [xecsuser:module load file routine returned an error]
...
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 cd /usr/sbin ./freeswitch_license_server if the license server is not working or the license is invalid, freeswitch will complain (var/log/sipxpbx/freeswitch.log): [ERR] mod_com_g729.c:113 ENCODER CREATE FAILED- 0x9c213b0 (nil) [ERR] switch_core_io.c:882 Codec G.729 encoder error! |
...
Run the freeswitch console:
cd /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 |