Step 1: Card detected by server:
Make sure card is detected by server , type the following command in Linux shell

make all && make install && make config
Go to : /etc/modprobe.d/dahdi.conf
And enter below line at last ,save and exit
options wcte13xp default_linemode=e1

Step 2:
Run the below command as root
# modprobe wcte13xp default_linemode=e1

#dahdi_genconf -v
#dahdi_cfg -v (make sure the ouput should show 31 channels)

if you have CRC issue then enable or disable the crc from the below file
vi /etc/dahdi/system.conf
just remove ,crc4 and save and then reload the asterisk

Add this line to extensions.conf
exten => _9X.,1,AGI(agi://
exten => _9X.,2,Dial(DAHDI/g0/${EXTEN:1},,Tto)
exten => _9X.,3,Hangup()