[Freeswitch-users] ftmod_libpri won't load (undefined symbol: ftmod_pritap_module_interface**)
George Diamantopoulos
georgediam at gmail.com
Tue Oct 23 13:52:06 MSD 2012
Hello all,
I've been trying to compile freeswitch and freetdm with pritap support.
Everything seems to be going fine, but the module (ftmod_pritap) won't
load. I've been told this could be due to version mismatches between
freeswitch and freetdm source, but I'm compiling both from git 1.2-stable.
I intend to use this with Sangoma's wanpipe TDM Voice API and the driver
configured in High Impedence mode (in conjunction with a 2-span E1 sangoma
card and a tapping module). The error I get is:
freeswitch at modrec> load ftmod_pritap
2012-10-23 12:45:24.284094 [INFO] mod_enum.c:871 ENUM Reloaded
2012-10-23 12:45:24.284094 [INFO] switch_time.c:1163 Timezone reloaded 530
definitions
+OK Reloading XML
-ERR [module load file routine returned an error]
2012-10-23 12:45:24.284094 [CRIT] switch_loadable_module.c:1310 Error
Loading module /usr/local/freeswitch/mod/ftmod_pritap.so
**/usr/local/freeswitch/mod/ftmod_pritap.so: undefined symbol:
ftmod_pritap_module_interface**
STEPS TO REPRODUCE:
Start with a clean debian 6.0.6 installation and then:
apt-get install subversion git
apt-get build-dep asterisk (# Hopefully asterisk and freeswitch share some
dependencies)
apt-get -y install gcc g++ automake autoconf libtool make libncurses5-dev
flex bison patch libtool autoconf linux-headers-$(uname -r) (wanpipe build
deps)
apt-get remove libpri-dev libpri1.4 (I will be compiling patched libpri
with tapping support later)
wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.5.28.tgz
svn checkout http://svn.digium.com/svn/libpri/team/moy/tap-1.4 (libpri
patched with tapping mods)
cd tap-1.4/
make
make install
cd ..
tar xzfv wanpipe-3.5.28.tgz
cd wanpipe-3.5.28/
./Setup install (select option 1, for TDM voice API module configuration -
required for use by freetdm pritap module - I think)
cd ..
git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
cd freeswitch/
./bootstrap.sh
./configure
make
make install
cd libs/freetdm/
./configure --with-pritap --prefix=/usr/local/freeswitch
make
make install
/usr/local/freeswitch/bin/freeswitch
load ftmod_pritap
EXPECTED BEHAVIOUR: ftmod_pritap should load successfully.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/33bbe80e/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list