lspci showed something like:
02:04.0 Network controller: Sangoma Technologies Corp. A200/Remora FXO/FXS Analog AFT card
After looking around for quite a while, I decided that I wanted to run this card through DAHDI and not through the standalone system that I've used for years with Asterisk. The goal was to make this card managed as much as possible using the GUI.
Here are the steps I had to take:
1. Update the drivers in the OS:
sudo yum update dahdi*
sudo yum update kmod-dahdi-linux
sudo yum install wanpipe
2. Configure the card:
sudo depmod -a
3. which requires a reboot
sudo shutdown -r now
4. Now, get wanrouter to load the right kernel module
sudo wanrouter hwprobe
5. configure the card:
sudo wancfg_dahdi
Your configuration here will vary. Make sure it lists the card you have. This script really just ends up calling the setup-sangoma script. You'll have to choose what's appropriate for your system. Note: I selected the option at the end to simply save the config files and not restart the modules, as I found that the option to restart the modules failed.
You'll want to make wanrouter/wanpipe start on boot (yet another script question.)
6. reboot, again
sudo shutdown -r now
7. Go into the GUI to settings -> dahdi config -> sangoma and enable DAHDI management of Sangoma
8. reboot the system
sudo shutdown -r now
Now, you should see the right card in the DADHI section of the GUI.
No comments:
Post a Comment