Roger Schreiter
2009-Dec-03 00:13 UTC
[asterisk-users] dahdi_tool shows no alarms, but no line connected
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 manufacturerdevicetypelocationbasechan=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? Roger.
Tzafrir Cohen
2009-Dec-03 09:18 UTC
[asterisk-users] dahdi_tool shows no alarms, but no line connected
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
Roger Schreiter
2009-Dec-03 10:16 UTC
[asterisk-users] dahdi_tool shows no alarms, but no line connected
Tzafrir Cohen schrieb:> ... > head -n1 /proc/dahdi/*# head -n1 /proc/dahdi/* ==> /proc/dahdi/1 <=Span 1: WPE1/0 "wanpipe1 card 0" (MASTER) HDB3/CCS/CRC4 ==> /proc/dahdi/2 <=Span 2: WPE1/1 "wanpipe2 card 1" HDB3/CCS/CRC4 ==> /proc/dahdi/3 <=Span 3: WPE1/2 "wanpipe3 card 2" HDB3/CCS/CRC4 ==> /proc/dahdi/4 <=Span 4: WPE1/3 "wanpipe4 card 3" HDB3/CCS/CRC4> If there are no alarms there, the wanpipe driver probably did not report > them to DAHDI.Probably. But why? (When I turn of wanpipes, I can see them disapear with dahdi_tool.) How can I investigate the reason? Roger. -- Roger Schreiter Spindelberg 11 D-74354 Besigheim Tel.: +49 7143 36476