How to install and configure sangoma card on Asterisk , vicidial ,goautodial , Freepbx based pbx
1. If you are using the precompiled iso's of asterisks pbx then by default the wanpipe will be installed.
"wanpipe is the driver for the sangoma cards"
2. if the wanpipe is not installed you need to install the latest wanpipe
3. Installing the wanpipe in centos
installing the dependicies
yum -y install kernel-devel-$(uname -r) libtool* gcc make patch perl bison gcc-c++ ncurses-devel flex libtermcap-devel autoconf* automake*
4. donwload the latest wanpipe from below link
http://wiki.sangoma.com/wanpipe-linux-drivers#latest
5. Untar the wanpipe file
tar xvfz wanpipe-<version>.tgz
6. cd wanpipe-<version>
7. type ./Setup dahdi
8. if it prompts yes just press y and enter
9. Proceed with Defaults for the rest of the compilation
Once wanpipe installation done , now you need to configure your sangoma card
1. type lspci command to check whether your server have recognizied the sangoma card
the above command will return sometink like below
"Sangoma Technologies Corp. A200/Remora FXO/FXS Analog AFT card"
2. now type wancfg_dahdi
would you like to generate /etc/asterisk/chan_dahdi.conf
1. YES
2. NO
[1-2]:1
Configuring port 1 on A101 slot:4 bus:4.
-----------------------------------------------------------
Select media type for AFT-A101 on port 1 [slot:4 bus:4 span:1]
1. T1
2. E1
3. Unused
4. Exit
[1-4]:2 ------- if your connection is T1 then enter 1 mine is E1 (india)
Configuring port 1 on 101 as E1, line coding:HDB3, framing:CRC4
1. YES - Keep these settings
2. NO - Configure line coding and framing
[1-2, ENTER='YES']:1
note: for the above you need to ask your provider for the detaisl like crc4 is enable to disable based on that u need to enter
Select clock for AFT-A101 on port 1 [slot:4 bus:4 span:1]
1. NORMAL
2. MASTER
[1-2]:2
Select signalling type for AFT-A101 on port 1 [slot:4 bus:4 span:1]
1. Zaptel/Dahdi - PRI CPE
2. Zaptel/Dahdi - PRI NET
3. Zaptel/Dahdi - E & M
4. Zaptel/Dahdi - E & M Wink
5. Zaptel/Dahdi - FXS - Loop Start
6. Zaptel/Dahdi - FXS - Ground Start
7. Zaptel/Dahdi - FXS - Kewl Start
8. Zaptel/Dahdi - FX0 - Loop Start
9. Zaptel/Dahdi - FX0 - Ground Start
10. Zaptel/Dahdi - FX0 - Kewl Start
11. Sangoma SMG/sangoma_prid- PRI CPE
12. Sangoma SMG/sangoma_prid- PRI NET
[1-12]:1
note: if the line is from the provider select 1 , if you are connecting card to leagal epabx then give 2
Select switchtype for AFT-A101 on port 1
1. National ISDN 2
2. Nortel DMS100
3. AT&T 4ESS
4. Lucent 5ESS
5. EuroISDN
6. Old National ISDN 1
7. Q.SIG
[1-7]:1
Configuring port 1 on AFT-A101 as a full E1
1. YES - Use all channels
2. NO - Configure for fractional
[1-2, ENTER='YES']:1
Select dialplan context for AFT-A101 on port 1
1. from-pstn
2. from-internal
3. Custom
[1-3]:1 ------ mine is freepbx so i selected from-pstn , if yours is different then select custom and enter your incomming context
Input the group for this port
:0 ---- i have give zero , if you want the group name 1 then give 1
this is based on how you write your outgoing dialplan
Port 1 on AFT-A101 configuration complete...
Press any key to continue:
T1/E1 card configuration complete.
Press any key to continue:
Configuration Complete! Please select following:
1. YES - Continue
2. NO - Exit
[1-2]:1
Dahdi and Wanpipe configuration complete: choose action
1. Save cfg: Restart Asterisk & Wanpipe now
2. Save cfg: Restart Asterisk & Wanpipe when convenient
3. Save cfg: Stop Asterisk & Wanpipe now
4. Save cfg: Stop Asterisk & Wanpipe when convenient
5. Save cfg: Save cfg only (Not Recommanded!!!)
6. Do not save cfg: Exit
[1-6]:1
Would you like wanrouter to start on system boot?
1. YES
2. NO
[1-2]:1
Would you like to execute 'dahdi_cfg' each time wanrouter starts?
1. YES
2. NO
[1-2]:1
end of wanroute configuration
Now you need to check pri status ,
1. type dahdi_cfg -- this shows does the card configured properly or not , shows the channels configured
2. go to asterisk cli
asterisk -vvvvr
dahdi show status
dahdi show channels
pri show spans
once the pri is up , now check the incomming and outgoing
1. If you are using the precompiled iso's of asterisks pbx then by default the wanpipe will be installed.
"wanpipe is the driver for the sangoma cards"
2. if the wanpipe is not installed you need to install the latest wanpipe
3. Installing the wanpipe in centos
installing the dependicies
yum -y install kernel-devel-$(uname -r) libtool* gcc make patch perl bison gcc-c++ ncurses-devel flex libtermcap-devel autoconf* automake*
4. donwload the latest wanpipe from below link
http://wiki.sangoma.com/wanpipe-linux-drivers#latest
5. Untar the wanpipe file
tar xvfz wanpipe-<version>.tgz
6. cd wanpipe-<version>
7. type ./Setup dahdi
8. if it prompts yes just press y and enter
9. Proceed with Defaults for the rest of the compilation
Once wanpipe installation done , now you need to configure your sangoma card
1. type lspci command to check whether your server have recognizied the sangoma card
the above command will return sometink like below
"Sangoma Technologies Corp. A200/Remora FXO/FXS Analog AFT card"
2. now type wancfg_dahdi
would you like to generate /etc/asterisk/chan_dahdi.conf
1. YES
2. NO
[1-2]:1
Configuring port 1 on A101 slot:4 bus:4.
-----------------------------------------------------------
Select media type for AFT-A101 on port 1 [slot:4 bus:4 span:1]
1. T1
2. E1
3. Unused
4. Exit
[1-4]:2 ------- if your connection is T1 then enter 1 mine is E1 (india)
Configuring port 1 on 101 as E1, line coding:HDB3, framing:CRC4
1. YES - Keep these settings
2. NO - Configure line coding and framing
[1-2, ENTER='YES']:1
note: for the above you need to ask your provider for the detaisl like crc4 is enable to disable based on that u need to enter
Select clock for AFT-A101 on port 1 [slot:4 bus:4 span:1]
1. NORMAL
2. MASTER
[1-2]:2
Select signalling type for AFT-A101 on port 1 [slot:4 bus:4 span:1]
1. Zaptel/Dahdi - PRI CPE
2. Zaptel/Dahdi - PRI NET
3. Zaptel/Dahdi - E & M
4. Zaptel/Dahdi - E & M Wink
5. Zaptel/Dahdi - FXS - Loop Start
6. Zaptel/Dahdi - FXS - Ground Start
7. Zaptel/Dahdi - FXS - Kewl Start
8. Zaptel/Dahdi - FX0 - Loop Start
9. Zaptel/Dahdi - FX0 - Ground Start
10. Zaptel/Dahdi - FX0 - Kewl Start
11. Sangoma SMG/sangoma_prid- PRI CPE
12. Sangoma SMG/sangoma_prid- PRI NET
[1-12]:1
note: if the line is from the provider select 1 , if you are connecting card to leagal epabx then give 2
Select switchtype for AFT-A101 on port 1
1. National ISDN 2
2. Nortel DMS100
3. AT&T 4ESS
4. Lucent 5ESS
5. EuroISDN
6. Old National ISDN 1
7. Q.SIG
[1-7]:1
Configuring port 1 on AFT-A101 as a full E1
1. YES - Use all channels
2. NO - Configure for fractional
[1-2, ENTER='YES']:1
Select dialplan context for AFT-A101 on port 1
1. from-pstn
2. from-internal
3. Custom
[1-3]:1 ------ mine is freepbx so i selected from-pstn , if yours is different then select custom and enter your incomming context
Input the group for this port
:0 ---- i have give zero , if you want the group name 1 then give 1
this is based on how you write your outgoing dialplan
Port 1 on AFT-A101 configuration complete...
Press any key to continue:
T1/E1 card configuration complete.
Press any key to continue:
Configuration Complete! Please select following:
1. YES - Continue
2. NO - Exit
[1-2]:1
Dahdi and Wanpipe configuration complete: choose action
1. Save cfg: Restart Asterisk & Wanpipe now
2. Save cfg: Restart Asterisk & Wanpipe when convenient
3. Save cfg: Stop Asterisk & Wanpipe now
4. Save cfg: Stop Asterisk & Wanpipe when convenient
5. Save cfg: Save cfg only (Not Recommanded!!!)
6. Do not save cfg: Exit
[1-6]:1
Would you like wanrouter to start on system boot?
1. YES
2. NO
[1-2]:1
Would you like to execute 'dahdi_cfg' each time wanrouter starts?
1. YES
2. NO
[1-2]:1
end of wanroute configuration
Now you need to check pri status ,
1. type dahdi_cfg -- this shows does the card configured properly or not , shows the channels configured
2. go to asterisk cli
asterisk -vvvvr
dahdi show status
dahdi show channels
pri show spans
once the pri is up , now check the incomming and outgoing
No comments:
Post a Comment