blanchae
Guru
- Joined
- Mar 12, 2008
- Messages
- 1,910
- Reaction score
- 9
From my understanding, Sangoma uses an interface that sits between Dahdi and their cards. The interface simulates the Digium cards to Asterisk and it is called the Wanpipe drivers. Here’s how to install the Wanpipe drivers.
Note: if you are adding a Sangoma card to a server that already has a working dahdi card installed from another vendor, make sure you save your dahdi config: /etc/dahdi/system.conf as the Sangoma installation will overwrite the system.conf file.
1. Save a backup copy of /etc/asterisk/chan_dahdi.conf. You will be needing it after the Wanpipe configuration.
2. Go the Sangoma Wanpipe wiki and download the latest Wanpipe driver
3. Upload it to /usr/local/src using Webmin-Others- Upload and Download service.
4. Using PuTTY, ssh into your server to /usr/local/src and untar the wanpipe driver:
tar –zxvf wanpipe-3.5.20.tgz
5. Change to the new directory
cd wanpipe-3.5.20
6.Then run the Wanpipe setup program:
./Setup
7. Accept pretty much all the defaults. The Dahdi source directory is /usr/src/dahdi which is typically the first choice. Set the local settings as appropriate.
8. I set it to automatically configure dahdi and to run the wanrouter and dahdi_cfg each time it boots. A whole bunch of selecting option number 1's.
9. Run dahdi_hardware to verify that the wanpipe is loaded . Run dahdi_tool, my Sangoma card showed up as a WRTDM card.
10. Restore your backup copy of /etc/asterisk/chan_dahdi.conf as the Wanpipe installation screws up FreePBX's chan_dahdi.conf and loses the #includes to the other chan_dahdi config files plus puts in not needed extension information which should be configured by FreePBX in chan_dahdi_additional.conf.
Reference: Sangoma Wiki Asterisk Install
Note: if you are adding a Sangoma card to a server that already has a working dahdi card installed from another vendor, make sure you save your dahdi config: /etc/dahdi/system.conf as the Sangoma installation will overwrite the system.conf file.
1. Save a backup copy of /etc/asterisk/chan_dahdi.conf. You will be needing it after the Wanpipe configuration.
2. Go the Sangoma Wanpipe wiki and download the latest Wanpipe driver
3. Upload it to /usr/local/src using Webmin-Others- Upload and Download service.
4. Using PuTTY, ssh into your server to /usr/local/src and untar the wanpipe driver:
tar –zxvf wanpipe-3.5.20.tgz
5. Change to the new directory
cd wanpipe-3.5.20
6.Then run the Wanpipe setup program:
./Setup
7. Accept pretty much all the defaults. The Dahdi source directory is /usr/src/dahdi which is typically the first choice. Set the local settings as appropriate.
8. I set it to automatically configure dahdi and to run the wanrouter and dahdi_cfg each time it boots. A whole bunch of selecting option number 1's.
9. Run dahdi_hardware to verify that the wanpipe is loaded . Run dahdi_tool, my Sangoma card showed up as a WRTDM card.
10. Restore your backup copy of /etc/asterisk/chan_dahdi.conf as the Wanpipe installation screws up FreePBX's chan_dahdi.conf and loses the #includes to the other chan_dahdi config files plus puts in not needed extension information which should be configured by FreePBX in chan_dahdi_additional.conf.
Reference: Sangoma Wiki Asterisk Install