[Freeswitch-users] Wanpipe with recent versions of Linux

Peter Hartmann peter at hartmanncomputer.com
Thu Jan 23 05:23:13 MSK 2014


Hi,
Was 7.0.9 supposed to solve the compilation problems on newer kernels?
 I'm running 3.5.0-44-generic and got this error:

/wanpipe-7.0.9/patches/kdrivers/src/net/../wanrouter/af_wanpipe_src.c:1740:33:
error: macro "sk_for_each" requires 3 arguments, but only 2 given


In truth I did get it to compile by adding the 'node' argument to the
LINUX_3_0 section in af_wanpipe_src.c and again in af_wanpipe_datascope.c
after I got the exact type of error.

#if defined(LINUX_3_0)
        sk_for_each(sk, &wanpipe_sklist) {
#elif defined(LINUX_2_6)
        sk_for_each(sk, node, &wanpipe_sklist) {


The reason I ask for help is that on an A200 card everything works fine
except for caller id.   I thought that I should make sure
my compilation workaround wasn't the source of the caller id issue.   If
not I'll start a new thread.

Thanks much,




Peter Hartmann
Hartmann Computer Consulting
http://blog.hartmanncomputer.com


On Thu, Jan 9, 2014 at 4:10 AM, François <fdelawarde at wirelessmundi.com>wrote:

>  Hi all,
>
> Nevermind, 7.0.9 was released a few hours after this message!
>
> Thanks Sangoma!
>
>   --
> François <fdelawarde at wirelessmundi.com>
> Wireless Mundi S.L.
>
>
>   On Wed, 2014-01-08 at 13:40 +0100, François wrote:
>
> Hi Moises,
>
> I still see no sign of new "official" release (7.0.9?) from there:
> http://wiki.sangoma.com/Driver-Downloads
>
> Did you confirm if your patch doesn't break anything?
>
> Thanks,
>   --
> François <fdelawarde at wirelessmundi.com>
> Wireless Mundi S.L.
>
>
>
>
>   On Mon, 2013-12-02 at 01:29 -0500, Moises Silva wrote:
>
>
> On Sun, Dec 1, 2013 at 7:26 AM, Steve Underwood <steveu at coppice.org>
> wrote:
>
> Hi all,
>
> Does anyone run wanpipe with any recent version of Linux? Wanpipe 7.0.8
> seems fine when compiled for Centos 6.4. However, If I try any recent
> kernel (e.g. the ones in recent versions if Fedora) wanpipe fails to
> build for a variety of reasons (i.e. if I work around one blockage I
> just keeping hitting another one).
>
>
>
> Yeah, I just had this problem myself this weekend and made a patch. Find
> it here: http://moythreads.com/wanpipe-proc-fs-fixes.patch
>
>
> The newer linux versions moved a bunch of proc fs data structures to
> private headers and now you need to use their API, which is nicer, but
> breaks our code.
>
>
> It should be available in our next release as soon as we confirm my patch
> does not break other shit :)
>
>
> I've tested it on Fedora 19 with DAHDI and E&M signaling. Just patch -p1 <
> xxx.patch, ignore any warnings during ./Setup install about the kernel not
> being configured and just proceed.
>
>
> Cheers,
>
>
> Moy
>
>   *Moises Silva*
> *Manager, Software Engineering*
>
> msilva at sangoma.com
>
> Sangoma Technologies
>
> 100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada
>
>
>
>
>
>
> t.   +1 800 388 2475 (N. America)
>
> t.   +1 905 474 1990 x128
>
> f.   +1 905 474 9223
>
>
>
>
>
>
>
>
>
>
>
>   Products<http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
>  | Solutions<http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
>  | Events<http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
>  | Contact<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
>  | Wiki<http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
>  | Facebook<http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
>  | Twitter<http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`|
> | YouTube<http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
>
>
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>  _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
> _________________________________________________________________________
> 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/20140122/18328f2c/attachment-0001.html 


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