How to configure digium TE13X/TE235/TE435 card in asterisk

How to configure Digium PRI Cards

Topic: How to configure digium TE/13X/TE235/TE435 card in asterisk

digium card TE235 asterisk


    Digium/Sangoma digital interface cards support 24/48/96 (T1 / J1) or 30/60/120 (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 TE13X,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 below link 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.

  Steps: Digium  TE235/TE435 Configuration

   Step 1: Enabling The E1 mode 

edit the file dahdi.conf file

vi /etc/modprobe.d/dahdi.conf
go to the last line and paste the below line if you are using TE235 or TE435 cards
options wcte43x default_linemode=e1

For the Digium cards TE13X ie TE131,TE132,TE133,TE134 set the below options

 options wcte13x 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 blacklist 

Edit the dahdi.blacklist.conf 
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 for TE235 or TE435 cards

modprobe wcte43x default_linemode=e1
dahdi_genconf -v
dahdi_cfg -v 

run the below commands for TE13x cards

modprobe wcte13xp 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

The auto generated files are saved in a file named a dahdi-channels.conf under asterisk folder, the configuration should be inherited in chan_dahdi.conf file.

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"
asterisk -rx "module load"

   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 sample 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://
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
checkout my youtube channel
Next Post Previous Post
  • gopi baskar
    gopi baskar April 4, 2022 at 11:18 AM

    HOW TO Configuring Digium TE235 and TE435 cards with asterisk , vicidial

Add Comment
comment url