AXE4DL User Manual with DAHDI
www.atcom.cn
15
Chapter 5 Test
1
LED state
LED: If the driver of the card is loaded correctly and the “/etc/dahdi/system.conf” file is
configured correctly, the four ports of LED will be red clearly.
If the PRI line is connected correctly, and it synchronizes to the other equipment successfully,
then the LED will be green clearly.
2
Use the E1/T1/J1 cables to connect to the ports. And Check the PRI state
1) Load the asterisk
[root@localhost asterisk]# asterisk –vvgr
*CLI> reload
2) Check the PRI state
users will get the following port information, all the four ports are in up status.
localhost*CLI> pri show spans
PRI span 1/0: Up, Active
PRI span 2/0: Up, Active
PRI span 3/0: Up, Active
PRI span 4/0: Up, Active
3
Add the dial plan for the PBX
Please edit the dial-plan in the “extensions.conf” file, users can refer to the following
example.
[from-internal]
exten=>_1.,1,Dial(dahdi/i1/${EXTEN:1})
exten=>_1.,2,Hangup()
exten=>_2.,1,Dial(dahdi/i2/${EXTEN:1})
exten=>_2.,2,Hangup()
exten=>_3.,1,Dial(dahdi/i3/${EXTEN:1})
exten=>_3.,2,Hangup()
exten=>_4.,1,Dial(dahdi/i4/${EXTEN:1})
exten=>_4.,2,Hangup()
[from-pstn]
exten=>s,1,Answer()
exten=>s,2,Dial(sip/500)
exten=>s,3,hangup()