Hi,

I am trying to install mod_bcg729 on one of my machine.

OS : Debian 8
FS version : 1.6.5

Reference :   http://romon-bd.blogspot.in/2014/03/freeswitch-g729-module-using-opensource.html

while running make command getting below error.

gcc  -fPIC -O3 -fomit-frame-pointer -fno-exceptions -Wall -std=c99 -pedantic -m64 -mtune=generic -I/usr/include -Ibcg729/include -I/usr/local/freeswitch/include -c mod_bcg729.c
mod_bcg729.c:37:20: fatal error: switch.h: No such file or directory
 #include "switch.h"
                    ^
compilation terminated.
Makefile:25: recipe for target 'mod_bcg729.o' failed
make: *** [mod_bcg729.o] Error 1


But, it was built correctly on Debian 7 with Freeswitch 1.4.X version.

Can anyone suggestion me how to fix this ?


--
Thanks,
Bhavik Patel