summaryrefslogtreecommitdiff
path: root/dahdi_scan.c
AgeCommit message (Collapse)Author
2010-11-10dahdi_scan: Show CAS framing on the framing line.Shaun Ruffell
Also, always append "/CRC4" on any span where that was specified as an option. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@9473 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-10-25Fixed up the loss of crc4-multiframe alignment logicRuss Meyerriecks
Loss of crc4-multiframe alignment on an E1 link is not a condition which brings the span down. The span will continue to run as long as it can maintain double frame alignment. Because of this, we cannot place the LMFA alarm in the usual spaninfo.alarms member, due to userspace programs using this as a catch-all for a span being up or down. We can detect the alarm by watching the frame error counter (fecount). If it continuously increments, the span is configured for crc4, and the span remains OK (alarms = 0), then we are in loss of crc4-multiframe state. In order to test this alarm, you'll need to synthesize a loss of crc4 alignment on the span. You can usually do this by configuring the local span to use crc4 and the remote end to not use crc4. I used the Fireberd 6000 in my lab to do this. dahdi-743 & dahdi-420 Acked-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@9458 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-08-13dahdi_scan: Use 'linecompat' to identify digital spans.Shaun Ruffell
This fixes the case where the BRI spans on the Hx8 cards were displayed as analog spans. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@9133 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-08-01fix build of dahdi_scan and dahdi_maint with -linux 2.3Tzafrir Cohen
New functionality that was added in r8992 and r8993 uses new items defined only in dahdi-linux trunk (and eventually: 2.4). As in both cases it's a single place to check, we'll just ifdef it away. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@9076 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-07-26Removed no longer existing alarm conditionRuss Meyerriecks
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8994 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-07-26Modified dahdi_sync to report detailed alarmsRuss Meyerriecks
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8993 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-27Pass correct channel number to DAHDI_GET_PARAMS when passing span numbers to ↵Sean Bright
dahdi_scan. When filtering, we weren't taking into account the number of channels in the spans that we were skipping. (closes issue #15553) Reported by: tony Patches: 20090723_issue15553.patch uploaded by seanbright (license 71) Tested by: seanbright git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6902 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-03Fix the dahdi_scan manpage (s/dahdi_span/dahdi_scan/) and make dahdi_scan doSean Bright
what it is advertised to do. Namely take span numbers on the command line. (closes issue #13614) Reported by: jfinstrom git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5038 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-05clean up license headers in files, add LICENSE files, and apply LGPL ↵Kevin P. Fleming
(instead of GPL) to libtonezone files git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4708 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-05use a different name for this file, so it won't try to overwrite existing ↵Kevin P. Fleming
(non-version-controlled) files in existing checkouts git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4707 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-23Remove remaining references to zap devices and some zaptel referencesMatthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4352 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-23add version string to all tools, visible using "strings" for nowKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4346 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-23various minor fixes and get dahdi_tool to actually be builtKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4340 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-23yay, all the tools compile nowKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4339 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-23initial copyKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4335 a0bf4364-ded3-4de4-8d8a-66a801d63aff