Telephony Cards - Card Driver- Command Cheat Sheet
Run the following commands to help quickly diagnose any issues.
Use the 'Application' row to know which CLI to use to run these commands in.
Command | Application | What does it do? | What is it good for? |
---|---|---|---|
lspci | Linux | shows all devices | use it to verify that your Sangoma card is recognized by the BIOS. |
wanrouter hwprobe | Wanpipe | shows all | This will confirm that the driver sees the Sangoma hardware and that |
wanrouter status | Wanpipe | shows the status | use to confirm that all the ports are started (if one failed it will be missing), "Connected" - physical layer is healthy |
wanpipemon -i w1g1 -c Ta | Wanpipe | shows the T1/E1 | Loss of Signal - no electrical signal on line Framer Alarms: |
wanpipemon -i w1g1 -c Tadlb wanpipemon -i w1g1 -c Tddlb | Wanpipe | Activate and | This command will enable/disable line loop back. NOTE: PORT CLOCK NEEDS TO BE SET TO MASTER |
wanpipemon -i w1g1 -c astats -m X (X is the channel number) | Wanpipe | shows the voltage | FXO: |
wanpipemon -i w1g1 -c ehw | Wanpipe | shows which channels |
|
dahdi -vvv | DAHDI | applies system.conf | any error messages mean that the DAHDI config and |
dahdi show channels | Asterisk CLI | shows all DAHDI | confirms that chan_dahdi.so loaded properly |
pri show span 1 | Asterisk CLI | shows the status | confirms that span 1 is "up and active" |
pri intense debug span 1 | Asterisk CLI | shows ISDN | confirms proper D-channel communication |
Log File | Purpose |
---|---|
/var/log/messages | contains log info of all Wanpipe actives and any error messages related to Sangoma hardware |
/var/log/asterisk/messages | Asterisk log files |