[asterisk-users] dahdi_tool shows no alarms, but no line connected

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Dec 3 03:18:49 CST 2009


On Thu, Dec 03, 2009 at 01:13:13AM +0100, Roger Schreiter wrote:
> Hi,
> 
> I'm using Sangoma's wanpipe together with dahdi, all
> software downloaded today at most recent version.
> Hardware is Sangoma A104, a 4xE1 card.
> Installation went well.
> 
> Anyway, wanrouter status shows a different result than
> dahdi_tool or dahdi_scan.
> 
> I've just put a hardware loop on port 1. All the other
> ports are open.
> 
> wanrouter status shows the expected result:
> Device name | Protocol | Station | Status        |
> wanpipe1    | AFT TE1  | N/A     | Connected     |
> wanpipe2    | AFT TE1  | N/A     | Disconnected  |
> wanpipe3    | AFT TE1  | N/A     | Disconnected  |
> wanpipe4    | AFT TE1  | N/A     | Disconnected  |
> 
> However:
> # dahdi_scan 2
> [2]
> active=yes
> alarms=OK
> description=wanpipe2 card 1
> name=WPE1/1
> manufacturer=
> devicetype=
> location=
> basechan=1
> totchans=31
> irq=0
> type=digital-
> syncsrc=0
> lbo=0 db (CSU)/0-133 feet (DSX-1)
> coding_opts=HDB3
> framing_opts=CCS,CRC4
> coding=HDB3
> framing=CCS
> 
> 
> Why are the dahdi tools not reflecting the values
> by wanrouter?

What does the driver report?

head -n1 /proc/dahdi/*

If there are no alarms there, the wanpipe driver probably did not report
them to DAHDI.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list