[Freeswitch-users] OpenR2/ftmod_r2 Installation on Sangoma/Digium

Nandy Dagondon nandy1925 at gmail.com
Wed Aug 17 06:08:26 MSD 2016


Hello Moy,

Thanks for the info. I'm able to git the master of openr2 and installed it
via cmake. There's one step I made after ldconfig ...

"ldconfig -p | grep openr2"  to check if the library is added. It didn't.

so I make an additional step

"ldconfig /usr/lib64/" .

I'll added this in the docs.  I'm glad to contribute the task to transfer
the docs to confluence.

Back to my installation, I encountered this error when I "make" FS:

CC       ftmod_r2_la-ftmod_r2.lo
src/ftmod/ftmod_r2/ftmod_r2.c: In function 'ftdm_r2_on_dnis_digit_received':
src/ftmod/ftmod_r2/ftmod_r2.c:1024:18: error: variable 'r2data' set but not
used [-Werror=unused-but-set-variable]
  ftdm_r2_data_t *r2data;

I did "boostrap.sh" and "./configure --enable-core-odbc-support
--enable-core-pgsql-support". I also tried adding this configure flag
"--enable-64".  Whats wrong?

By the way, I'm on FS branch 1.6 and Debian Jessie.

Thanks again.
/Nandy

On Wed, Aug 17, 2016 at 6:31 AM, Moises Silva <moises.silva at gmail.com>
wrote:

> On Mon, Aug 15, 2016 at 11:04 PM, Nandy Dagondon <nandy1925 at gmail.com>
> wrote:
>
>> Hi folks,
>>
>> I'm installing OpenR2/FreeTDM on Sangoma A102.  It compiled/installed
>> successfully using Wanpipe drivers. However, I'm expecting ftmod_r2 module
>> to be installed.  But, there's none.  Is this okay? Meaning the R2
>> signalling is included in the ftmod_wanpipe module?
>>
>
> No, it's a separate module. See here: https://wiki.freeswitch.org/
> wiki/FreeTDM_OpenR2
>
> When compiling FreeTDM, if the openr2 library is detected, it will compile
> ftmod_r2.so
>
> Note you need openr2 from master. If you installed openr2 from a standard
> release it won't work. You need to compile openr2 from sources using CMake
> as per the link above. Note the link above has an outdated url (and I could
> not remember my wiki credentials to update it). The correct source
> repository is: https://github.com/moises-silva/openr2
>
> It'd be appreciated if you can contribute updating the documentation by
> moving that page to https://freeswitch.org/confluence/display/FREESWITCH/
> FreeSWITCH+Explained
>
>
>> I'm also installing OpenR2 for a Digium card.  I encounter FS "make"
>> errors.  The card is not yet installed.  Does the card need to be installed
>> to make/install FS modules?  Do I need to uninstall the Wanpipe drivers to
>> avoid conflict with the DAHDI drivers?
>>
>
> No, that should not be a problem. The module should compile just fine
> without cards (even without DAHDI headers installed because we use our own
> headers).
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160817/ecdd74c2/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list