>
> Here is the exact location of the file
> ftp://ftp.sangoma.com/linux/custom/3.5/wanpipe-3.5.17.9.tgz


Unless instructed by Sangoma tech support, you should not get it from the custom directory. The official release is at http://wiki.sangoma.com/wanpipe-linux-drivers and the link there points to: ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.5.18.tgz 

Try that please.