Analog Troubleshooting Information (a200/4/B600/7)

     

    Please send the following:

     General Required information

    • wanrouter version
    • wanrouter restart (requires Asterisk stopped)
    • ifconfig (create 3 samples) 
    • cat /proc/interrupts (create 3 samples)
    •  (NOT FOR USBFXO) wanpipemon -i wXg1 -c astats -m Y (where X is the interface number and Y is number of the module 1,2,3,etc) for each channel
    • wanrouter hwprobe verbose
    • wanrouter status
    • /etc/wanpipe/wanpipeX.conf (where X is the wanpipe number) for each interface
    • /var/log/messages (including a sample of wanrouter restart)

     For Zaptel users:

      -> /etc/zaptel.conf
      -> /etc/asterisk/zapata*.conf

     For Dahdi users:

      -> /etc/dahdi/system.conf
      -> /etc/asterisk/chan_dahdi.conf

     

    ...underconstruction...

    Troubleshooting Steps:

     1) Restart wanpipe driver.  Stop Asterisk and then restart the wanpipe drivers using:

    wanrouter restart


    2) Check the physical layer is reliable:

    wanpipemon -i w1g1 -c astats -m X

    Wanpipe interfaces for analog cards use the naming pattern of "w1g1" for card 1, "w2g1" for card 2,etc. 
    X is the port number ascending from the PCI side of card.
    If there is no voltage then please take a volt meter and insure that there is voltage on the inner pair of the RJ11 connector. 

    Example FXS output:

        ------- Voltage Status  (FXS,port 0) -------

    TIP     : - 6.0160 Volts
    RING    : -53.7680 Volts
    VBAT    : -63.1680 Volts

    indicates an idle or on hook FXS port. 

    Example FX0 output:

            ------- Voltage Status  (FXO,port 3) -------

    VOLTAGE : 1 Volts

            ------- Line Status  (FXO,port 3) -------

    Line    : disconnected


    FX0 legend:

    Voltage (V) Connection
    0 to 1 No line detected
    6 to 12 Off hook
    45 to 55 On hook

     
    2) Check that the Wanpipe network interface is processing data properly.  Run

    ifconfig

    Ensure that Rx and Tx packets are increasing for the wanpipe interface.  If the values are not increasing then please send the information above.

    3) Run

    dahdi_cfg -vvv

    (ztcfg -vvv if using Zaptel) to register the wanpipes with Dahdi, check for any error messages. If you see errors check your /etc/dahdi/system.conf file (zaptel.conf for Zaptel). 

     

    4) Run "asterisk" followed by "asterisk -r" to connect to the Asterisk console. Run "zap show channels" or "dahdi show channels" and make sure that Asterisk has all the Zap/Dahdi channels, if not check you zapata.conf / zapata-auto.conf or chan_dahdi.conf and verify that these files correct register the Zap/Dahdi channels. If there is no zap/dahdi channels registered and the Zapata*.conf/chan_dahdi.conf configuration is correct then search the /var/log/asterisk/messages or /var/log/asterisk/full for chan_zap or "chan_dahdi" and this should lead you to the error. 

     5) If all the channels are loaded and you are still unable to make calls in/out then please check the voltage for each channel, this will insure that our card is able to see the line plugged into it. The command to do this is  where X is the channel number. If there is no voltage then please take a volt meter and insure that there is voltage on the inner pair of the RJ11 connector.