[Freeswitch-users] Originate fails for freetdm channel

Michael Jerris mike at jerris.com
Wed Mar 26 15:14:06 MSK 2014


take a look at libs/freetdm/config.log to see why the check is failing.

On Mar 26, 2014, at 4:44 AM, Kshitij Saxena <ksaxmail at gmail.com> wrote:

> 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 at 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 at 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 at 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
> 
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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/20140326/abb29e6d/attachment-0001.html 


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