I did install libsng_isdn before running bootstrap.sh;

these were my thoughts as well that I might have missed installing libsng_isdn before running bootstrap.sh so after finding the issue, I re-compiled libsng_isdn, ran make clean on FS and then ran bootstrap.sh again but the check was still failing.

Also, I have installed freetdm several times and got the FS installation to work flawlessly before but the configuration scripts are not detecting libsng correctly this time. Any ideas?

Regards,
Kshitij Saxena

---------------------

Hi,

Did you follow the install instructions for wanrouter driver and libsng_isdn library?  These have to be performed before the Freeswitch bootstrap step.  Freeswitch detects installed libraries during the ./bootstrap step.

http://wiki.sangoma.com/wanpipe-freeswitch-ftdm-installation


Regards,
Robert



On Tue, Mar 25, 2014 at 11:34 PM, Kshitij Saxena <ksaxmail@gmail.com> wrote:
Solved this in a very hacky way - replying here in case this helps someone (although very hacky).

open freeswitch/libs/freetdm/configure.ac

find HAVE_SNG_ISDN="no"

and change it to HAVE_SNG_ISDN="yes"

finally, build FS again

Please take care that this tells configure to build ftmod_sangoma_isdn even if its check for the library fails!

Is there a less hacky / more straitforward way?

Regards,
Kshitij Saxena






On Tue, Mar 25, 2014 at 7:46 PM, Kshitij Saxena <ksaxmail@gmail.com> wrote:
ok. The problem seems to be that ftmod_sangoma_isdn hasn't been compiled.

This is strange because I had compiled both wanpipe as well as libsng_isdn before configuring FS.

I repeated the steps again in case I had missed something - recompiled libsng_isdn, began FS with make clean, then bootstrap, then configure and make but ftmod_sangoma_isdn is still not being compiled!

Am I missing something? Is this a bug?

Regards,
Kshitij


On Tue, Mar 25, 2014 at 6:03 PM, Kshitij Saxena <ksaxmail@gmail.com> wrote:
The setup is a Sangoma A101E card being run through Wanpipe 7.0.10 on an Ubuntu 13.10 machine.

wanrouter status shows "connected" but "originate freetdm/1/a/xxxxxxxxxx &bridge..." fails with the following error:

[ERR] ftdm_io.c:2674 [s1c1][1:1] outgoing_call method not implemented in this span!

Note that originate is successful with for other cahnnels (i.e. "originate user/1001 &bridge(9198)" works for example)

Would appreciate any guidance. Thanks!

Regards,
Kshitij Saxena