G729 codec install

thanks a million
i was going to test this again but comes with a error

root@bigboss:/usr/src/mod_bcg729# make
if [ ! -d bcg729 ]; then
git clone GitHub - BelledonneCommunications/bcg729: Linphone.org mirror for bcg729 (git://git.linphone.org/bcg729.git);
fi
pushd bcg729; git fetch; git checkout 1.1.1; popd;
/usr/src/mod_bcg729/bcg729 /usr/src/mod_bcg729
HEAD is now at faaa895 Release 1.1.1 Fix compatibility with old versions of gcc and clang
/usr/src/mod_bcg729
cd bcg729 && cmake . -DENABLE_SHARED=NO -DENABLE_STATIC=YES -DCMAKE_POSITION_INDEPENDENT_CODE=YES && make && cd …
– Package file name is bcg729-1.1.1
– Configuring done
– Generating done
– Build files have been written to: /usr/src/mod_bcg729/bcg729
make[1]: Entering directory β€˜/usr/src/mod_bcg729/bcg729’
make[2]: Entering directory β€˜/usr/src/mod_bcg729/bcg729’
make[3]: Entering directory β€˜/usr/src/mod_bcg729/bcg729’
make[3]: Leaving directory β€˜/usr/src/mod_bcg729/bcg729’
[100%] Built target bcg729-static
make[2]: Leaving directory β€˜/usr/src/mod_bcg729/bcg729’
make[1]: Leaving directory β€˜/usr/src/mod_bcg729/bcg729’
cc -fPIC -O3 -fomit-frame-pointer -fno-exceptions -Wall -std=c99 -pedantic -I/usr/include -Ibcg729/include -I/usr/share/freeswitch/include/ -c mod_bcg729.c
mod_bcg729.c:30:10: fatal error: switch.h: No such file or directory
30 | #include β€œswitch.h”
| ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:21: mod_bcg729.o] Error 1
root@bigboss:/usr/src/mod_bcg729# ls
LICENSE Makefile README.md bcg729 debian mod_bcg729.c
root@bigboss:/usr/src/mod_bcg729# nano Makefile
root@bigboss:/usr/src/mod_bcg729#

any idea what can be the issue?
thanks

Only G.729 support? I would cancel them. Telephone companies in the US are starting to support the G.722 and Opus wideband CODECS.

but unfortunately one of my provider not supporting other than g729 and i really want to use this route
do you have the compiled file of g729?
thanks

It is looking for the FreeSwitch source code.

See which version of FreeSwitch is installed on your server, then grab it:

https://files.freeswitch.org/freeswitch-releases/

That is why I suggested find another, or additional provider which can accommodate you

thanks a million i found the error in the make file . was wrong freeswitch directory and now its resolved. G729 working perfectly

thanks a million sir

where is the freeswitch folder located in the ASTPP? please could you point me to the right location?