Instalar G729 en FreeSWITCH

Asumiendo que se realizo la instalacion de FreeSWITCH por codigo.

# cd /usr/src/freeswitch/src/mod/codecs/
# https://github.com/xadhoom/mod_bcg729.git
# cd  mod_bcg729

 Editamos el archivo Makefile
# vim Makefile

estas lineas
FS_INCLUDES=/usr/include/freeswitch
FS_MODULES=/usr/lib/freeswitch/mod

deben quedar de la siguente manera
FS_INCLUDES=/usr/src/freeswitch/src/include/
FS_MODULES=/usr/local/freeswitch/mod



# make
# make install
# fs_cli
freeswitch@localhost> unload mod_g729
freeswitch@localhost> load mod_bcg729

+OK Reloading XML
+OK

2017-04-12 10:33:37.374331 [CONSOLE] switch_loadable_module.c:1538 Successfully Loaded [mod_bcg729]
2017-04-12 10:33:37.374331 [NOTICE] switch_loadable_module.c:207 Adding Codec G729 18 G.729 8000hz 10ms 1ch 8000bps
2017-04-12 10:33:37.374331 [NOTICE] switch_loadable_module.c:207 Adding Codec G729 18 G.729 8000hz 20ms 1ch 8000bps
2017-04-12 10:33:37.374331 [NOTICE] switch_loadable_module.c:207 Adding Codec G729 18 G.729 8000hz 30ms 1ch 8000bps
2017-04-12 10:33:37.374331 [NOTICE] switch_loadable_module.c:207 Adding Codec G729 18 G.729 8000hz 40ms 1ch 8000bps
2017-04-12 10:33:37.374331 [NOTICE] switch_loadable_module.c:207 Adding Codec G729 18 G.729 8000hz 50ms 1ch 8000bps
2017-04-12 10:33:37.374331 [NOTICE] switch_loadable_module.c:207 Adding Codec G729 18 G.729 8000hz 60ms 1ch 8000bps
2017-04-12 10:33:37.374331 [NOTICE] switch_loadable_module.c:207 Adding Codec G729 18 G.729 8000hz 70ms 1ch 8000bps
2017-04-12 10:33:37.374331 [NOTICE] switch_loadable_module.c:207 Adding Codec G729 18 G.729 8000hz 80ms 1ch 8000bps
2017-04-12 10:33:37.374331 [NOTICE] switch_loadable_module.c:207 Adding Codec G729 18 G.729 8000hz 90ms 1ch 8000bps
2017-04-12 10:33:37.374331 [NOTICE] switch_loadable_module.c:207 Adding Codec G729 18 G.729 8000hz 100ms 1ch 8000bps
2017-04-12 10:33:37.374331 [NOTICE] switch_loadable_module.c:207 Adding Codec G729 18 G.729 8000hz 110ms 1ch 8000bps
2017-04-12 10:33:37.374331 [NOTICE] switch_loadable_module.c:207 Adding Codec G729 18 G.729 8000hz 120ms 1ch 8000bps



Con eso queda cargado el codecs g729 para transcoding, no es lo mejor ni lo mas optimo pero puede solucionar muchos problemas de transcoding en casos especiales y salvarnos de trabajos extras.

Entradas más populares de este blog

Convertir disco virtualbox.ova a qemu.qcow2

Mi cambio de asterisk a FreeSWITCH

Python, Redis una combinacion estupenda.

disqus

comments powered by Disqus