I accidentally mentioned libpri in my previous message's subject. I meant ftpmod_pritap instead...<br><br><div class="gmail_quote">On Tue, Oct 23, 2012 at 12:52 PM, George Diamantopoulos <span dir="ltr"><<a href="mailto:georgediam@gmail.com" target="_blank">georgediam@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br><br>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:<br>
<br>freeswitch@modrec> load ftmod_pritap<br>2012-10-23 12:45:24.284094 [INFO] mod_enum.c:871 ENUM Reloaded<br>2012-10-23 12:45:24.284094 [INFO] switch_time.c:1163 Timezone reloaded 530 definitions<br><br>+OK Reloading XML<br>
-ERR [module load file routine returned an error]<br><br>2012-10-23 12:45:24.284094 [CRIT] switch_loadable_module.c:1310 Error Loading module /usr/local/freeswitch/mod/ftmod_pritap.so<br>**/usr/local/freeswitch/mod/ftmod_pritap.so: undefined symbol: ftmod_pritap_module_interface**<br>
<br>STEPS TO REPRODUCE:<br><br>Start with a clean debian 6.0.6 installation and then:<br><br>apt-get install subversion git<br>apt-get build-dep asterisk (# Hopefully asterisk and freeswitch share some dependencies)<br>apt-get -y install gcc g++ automake autoconf libtool make libncurses5-dev flex bison patch libtool autoconf linux-headers-$(uname -r) (wanpipe build deps)<br>
apt-get remove libpri-dev libpri1.4 (I will be compiling patched libpri with tapping support later)<br>wget <a href="ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.5.28.tgz" target="_blank">ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.5.28.tgz</a><br>
svn checkout <a href="http://svn.digium.com/svn/libpri/team/moy/tap-1.4" target="_blank">http://svn.digium.com/svn/libpri/team/moy/tap-1.4</a> (libpri patched with tapping mods)<br>cd tap-1.4/<br>make<br>make install<br>
cd ..<br>tar xzfv wanpipe-3.5.28.tgz<br>
cd wanpipe-3.5.28/<br>./Setup install (select option 1, for TDM voice API module configuration - required for use by freetdm pritap module - I think)<br>cd ..<br>git clone -b v1.2.stable git://<a href="http://git.freeswitch.org/freeswitch.git" target="_blank">git.freeswitch.org/freeswitch.git</a><br>
cd freeswitch/<br>./bootstrap.sh<br>./configure<br>make<br>make install<br>cd libs/freetdm/<br>./configure --with-pritap --prefix=/usr/local/freeswitch<br>make<br>make install<br>/usr/local/freeswitch/bin/freeswitch<br>load ftmod_pritap<br>
<br>EXPECTED BEHAVIOUR: ftmod_pritap should load successfully.<br>
</blockquote></div><br>