Wanpipe config issue on Debian 12 with Linux 6.1 kernel

Hello!

I have a Sangoma A200R PCI-e VoIP card which needs to be configured with DAHDI and Wanpipe but I can’t seem to do it…

Below is my system info:

OS: Debian 12
Linux Kernel: 6.1.0-22-amd64
Dahdi: 3.4.0
Asterisk: 18.22
Wanpipe: 7.0.38
Libpri: 1.6.1

My card info:

cli > dahdi_hardware
pci:0000:05:04.0 wanpipe- 1923:0040 Sangoma Technologies Corp. A200/Remora FXO/FXS Analog AFT card

I have tried following the below Git links but to no avail; presumably due to the difference in Linux Kernels…

https://gist.github.com/silveraid/6b91a0e716c6bc9f6b525d407bf9c544
https://gist.github.com/wilane/e2f2ddcce81bde2ad81a

Can anyone guide me how to get about it ?

Any sort of direction will be appreciated…

Thanks,
Hisham

I have the same issue. But with Ubuntu 24.04. So I reported it to Sangoma on Monday (Seot 9) and gave them SSH access to my test server. On Thursday (Sept 12) they were able to see the problem and Escalated the problem and reported it to Sangoma engineering. So far I’ve not heard anything further from them. But they have only had it a week.

thanks for the update, @KFKHome

could you please let me know in case Sangoma resolves your issue? I can perhaps follow the same steps and resolve mine.

Also, I suggest you downgrade your Ubuntu to 22.04 (since it is just a test machine) and then try to configure A200R card.

My Ubuntu 22.04 machine has the following linux kernel:

cli > uname -r
5.15.0-119-generic

And Wanpipe “might” work with linux kernels below 6.x

You can check this and let me know if you’re able to do it :slight_smile:

I’ll post an update when (if) this issue gets fixed. But I can’t try a downgrade to a prior version of Ubuntu. Sangoma Support has asked me to make this server available to Sangoma engineering.

Yes, that makes sense!

Since, I am approaching the deadline, I’ll downgrade to Debian 9/Ubuntu 20.x to make use of the older, 4.x kernels. Hopefully, that will work while compiling Dahdi and Wanpipe drivers.

Keep me updated on Sangoma, though. Thanks alot :slight_smile:

To anyone using Sangoma wanpipe software please post the version on linux that you’re using. Thanks in advance.

tried on linux 4.9, 5.1 and 6.1. Failed on all.

Sangoma engineering looked at the problem and added it to the backlog of things to do. ETA of 6 to 12 months (maybe longer). I’m going to switch to CentOS maybe that will work.

Sangoma reports that wanpipe will work on CentOS, but on version 7 that is EOL. They also say that FreePBX 17 using Debian 12 wanpipe works. I don’t really want to use FreePBX as it’s not going to “like” my 17,000 line extensions.conf file. But I may download it just to test.

That makes zero sense at all since FreePBX doesn’t modify the kernel in any way and you are dealing with completely different generations of kernels - RedHat variant vs Debian variant.

Sounds to me like just another case of a technical support group grasping at straws. I will bet if you do test that it won’t work on FreePBX on Debian 12 either.

Have you checked out market value of the Sangoma A200R PCI-e card on Ebay? Perhaps it’s time to just buy a new card and let this old one ride into retirement?

Hi TedR. Thanks for your help. FreePBX 17 uses Debian 12. Sangoma wants you to download it Debian 12 first and install it. Then download FreePBX itself. The FreePBX instructions show a --dahdi option to install both dahdi and wanpipe.

I have installed Debian 12. Tomorrow I’ll work on FreePBX and see what happens.

As for the interfaqce card that’s the one I have that requires wanpipe.

You can open the install script in an editor and find the commands that install dadi and wanpipe and then just run them.

I use a Cisco router with voice cards and voice ports in it as a POTS-to-SIP gateway.

I installed Debian 12 then downloaded the FreePBX 17 install script. Ran that script with its --dahdi --nofreepbx and --noasterisk options. It installed both DAHDI and wanpipe. Then ran wancfg_dahdi. It found my A200 card and configured things for it. But when using wanrouter start it got an error: wanconfig: WAN device wanpipe1 driver load failed !!

Reported all of this to Sagnoma stpport.