build: enable G722 by default

currently it is enabled in the config but the module is not loaded.
This commit is contained in:
Daniel Schreiber 2022-03-03 14:33:14 +01:00
parent 43c5eeb99c
commit 0d30c9e0ad

View File

@ -136,6 +136,8 @@ cp -r /opt/freeswitch staging/opt
rm -rf $CONFDIR/*
cp -r config/freeswitch/conf/* $CONFDIR
# enable spandsp module by default for G722 codec
sed -i '/<!-- Codec Interfaces -->/a\ <load module="mod_spandsp"/>' $CONFDIR/autoload_configs/modules.conf.xml
pushd $DESTDIR/opt/freeswitch
ln -s ./etc/freeswitch conf