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 |
Â
Â