Wanpipe Driver status shows 'Disconnected'

Type the following into your Linux terminal and check for output as follows:

wanrouter status    ... Device name | Protocol | Station | Status        | wanpipe1    | AFT ISDN | N/A     | Disconnected  | wanpipe2    | AFT ISDN | N/A     | Disconnected  |

 

The 'status' field should normally display 'connected' for all wanpipe interfaces. The above output indicates that the physical layer is down, due to alarms on the line.  To diagnose the alarms on the line, run the following command:

-> wanpipemon -i wXg1 -c Ta

 

where 'X' stands for the wanpipe number that is showing 'disconnected'.

Please see E1/T1 Line Alarms for a sample output of the above command, that describes the meaning of each alarm.

When trying to read the output from above try to use the following rules of thumb:

  1. First check the Rx Level
    The correct value is -2.5db
    Anything other than -2.5db indicates that there is a problem with the cable. 

    Options
    Rx = -44dB -> either there is no cable plugged into the port, the cable is in very poor shape (so replace cable), or the incorrect type of cable is used (straight-through vs cross-over).  Sangoma cards are shipped with a cable, if you see -44dB using this cable, chances are you require to change the type of cable used.

    Rx = -2.5dB -> rx level is perfect
    Rx = [-10dB - 20dB] -> there is something on the line but very weak. indicates a cable problem.

    Sangoma cards will not come up if there is no clock on the line. 
    One way to confirm that Telco is not giving us the clock, is to go back to TDM Physical Configuration section and
    configure the TDM Port for Master T1/E1 Clock.   Note: Telco should always supply the clock.

  2. Rx Alarms

    Rx Alarms indicated that there is something wrong on the line and have the following meanings:

    RED - We are not receiving any kind of signal on the line (Usually indicates that the line is not active).
    AIS  - The remote end is keeping us down on purpose (eg. Line in maintenance).
    RAI  - We receive good signal from remote end, but remote end does not see a good signal from us (Thus remote end is down.).

    Note: If the only alarm you experience is LOF & RED, and you are using E1, try changing between CRC4 and NCRC4

  3. Short/Open Circuit

    These statistics usually indicate cable issues or that the port is not plugged in at all.

Return to Documentation Home I Return to Sangoma Support