[svn-commits] tzafrir: tools/trunk r6613 - /tools/trunk/xpp/perl_modules/Dahdi/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed May 13 05:37:11 CDT 2009


Author: tzafrir
Date: Wed May 13 05:37:08 2009
New Revision: 6613

URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=6613
Log:
dahdi-perl: Patterns for Rhino E1/T1 cards.

Modified:
    tools/trunk/xpp/perl_modules/Dahdi/Chans.pm
    tools/trunk/xpp/perl_modules/Dahdi/Span.pm

Modified: tools/trunk/xpp/perl_modules/Dahdi/Chans.pm
URL: http://svn.asterisk.org/svn-view/dahdi/tools/trunk/xpp/perl_modules/Dahdi/Chans.pm?view=diff&rev=6613&r1=6612&r2=6613
==============================================================================
--- tools/trunk/xpp/perl_modules/Dahdi/Chans.pm (original)
+++ tools/trunk/xpp/perl_modules/Dahdi/Chans.pm Wed May 13 05:37:08 2009
@@ -142,13 +142,14 @@
 		$type = "FXO"; # likely Rhino
 	} elsif ($fqn =~ m{---/.*}) {
 		$type = "EMPTY"; # likely Rhino, empty slot.
-	} elsif ($fqn =~ m{\b(TE[24]|WCT1|Tor2|TorISA|WP[TE]1|cwain[12])/.*}) {
+	} elsif ($fqn =~ m{\b(TE[24]|WCT1|Tor2|TorISA|WP[TE]1|cwain[12]|R[124]T1)/.*}) {
 		# TE[24]: Digium wct4xxp
 		# WCT1: Digium single span card drivers?
 		# Tor2: Tor PCI cards
 		# TorISA: ISA ones (still used?) 
 		# WP[TE]1: Sangoma. TODO: this one tells us if it is TE or NT.
 		# cwain: Junghanns E1 card.
+		# R[124]: Rhino r1t1/rxt1 cards
 		$type = "PRI";
 	} elsif ($fqn =~ m{\b(B4|ZTHFC\d*|ztqoz\d*)/.*}) {
 		# B4: The Digium wcb4xxp DAHDI driver

Modified: tools/trunk/xpp/perl_modules/Dahdi/Span.pm
URL: http://svn.asterisk.org/svn-view/dahdi/tools/trunk/xpp/perl_modules/Dahdi/Span.pm?view=diff&rev=6613&r1=6612&r2=6613
==============================================================================
--- tools/trunk/xpp/perl_modules/Dahdi/Span.pm (original)
+++ tools/trunk/xpp/perl_modules/Dahdi/Span.pm Wed May 13 05:37:08 2009
@@ -147,6 +147,9 @@
 		'Wildcard TE121',                  # wcte12xp
 		'Wildcard TE122',                  # wcte12xp
 		'T[24]XXP \(PCI\) Card ',          # wct4xxp
+		'R[24]T1 \(PCI\) Card',            # rxt1
+		'Rhino R1T1 (E1)/PRA Card',        # r1t1
+		'Rhino R1T1 (T1)/PRI Card',        # r1t1
 		);
 
 our $DAHDI_BRI_NET = 'bri_net';




More information about the svn-commits mailing list