Hosted Vicidial server starts from $39 Contact Us Buy Now!

How to digium TE235 and TE435 card in asterisk

Estimated read time: 2 min

HOW TO: Configuring Digium TE235 and TE435 cards with asterisk , vicidial , Goautodial , Freepbx.

Description: How to configure digium card in asterisk vicidial goautodial

digium card TE235 asterisk

          Digium/Sangoma (TE235) dual span digital interface cards support 48 (T1 / J1) or 60 (E1) connections to PSTN trunks over two spans (digital circuits). Built exclusively for use with Asterisk and Asterisk-based communications systems, the dual span cards provide the best value in digital connectivity.
             Digium TE235 and TE435 works with Any version of Asterisk and need Dahdi 2.9 or above versions.

                If your using Old dahdi version ,you can refer this link:ClickHere for  Dahdi upgrade/reinstall to latest version.

                Unlike Digium’s old cards these new cards wont have Jumper to interchange between E1 and T1.
The E1/T1 to be done via software which will be covered in this topic

Assume you have installed Lastest dahdi driver ie: dahdi 2.9 or above.
To check the dahdi version type dahdi_cfg –v  in linux console.
Make sure dahid linux and dahdi tool should be in same version.

********************************

Configuring TE235 in E1 Mode

********************************
Step 1: Enabling The E1 mode 

vi /etc/modprobe.d/dahdi.conf
go to the last line and paste the below line
options wcte43x default_linemode=e1
save and exit (:wq)

Note: For T1 mode replace default_linemode=e1 to default_linemode=t1

********************************
Step 2: Removing the drives from the black list 
********************************

vi /etc/modprobe.d/dahdi.blacklist.conf
put # in front of wcte43x
save and exit

********************************
Step 3 : configuring the digium card with autogen script
********************************

run the below commands
modprobe wcte43x default_linemode=e1
dahdi_genconf -v
dahdi_cfg -v 

the above command should display the configured channels.

********************************
step 4 : inserting the autogenerated dahdi file in asterisk conf files
********************************

vi /etc/asterisk/chan_dahdi.conf
go to the last line and add the below line
#include dahdi-channels.conf
save and submit

********************************
step 5 : reloading the dahdi drivers
********************************

run the below command in linux shell
asterisk -rx "module unload chan_dahdi.so"
asterisk -rx "module load chan_dahdi.so"

********************************
step 6 : check the status of PRI
********************************
asterisk -vvvvvvvvr
dahdi show status 
pri show spans

if status shows red  then you need to check with your pri cable
it is crc  issue  enable or disable the crc in the below location

vi /etc/dahdi/systems.conf  
remove or add  crc4.

********************************
step 7 : dialplan to dial via PRI
********************************

DAHDI is the channel variable to be used to dial via pri
below is the example dialplan
exten => _9X.,1,Dial(DAHDI/G0/${EXTEN:1})
exten => _9X.,2,Hangup()

********************************

Note: ****
dialplans for those using vicidial goautodial
exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Dial(DAHDI/g0/${EXTEN:1},,Tto)
exten => _9X.,3,Hangup

Dialplan for those using Freepbx,elastix, Piaf ,asterisknow
In GUI  create dahdi trunk with channel group as  g0
and create  outbound route by selecting the above created trunk.
For support contact   skype :striker24x7

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.