[svn-commits] tzafrir: tools/trunk r6601 - /tools/trunk/xpp/perl_modules/Dahdi/Chans.pm

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon May 11 14:51:17 CDT 2009


Author: tzafrir
Date: Mon May 11 14:51:13 2009
New Revision: 6601

URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=6601
Log:
DAHDI-perl: Fix detection of empty slots in Rhino cards.

Modified:
    tools/trunk/xpp/perl_modules/Dahdi/Chans.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=6601&r1=6600&r2=6601
==============================================================================
--- tools/trunk/xpp/perl_modules/Dahdi/Chans.pm (original)
+++ tools/trunk/xpp/perl_modules/Dahdi/Chans.pm Mon May 11 14:51:13 2009
@@ -140,7 +140,7 @@
 		$type = "FXS"; # likely Rhino
 	} elsif ($fqn =~ m{\bFXO/.*}) {
 		$type = "FXO"; # likely Rhino
-	} elsif ($fqn =~ m{\b---/.*}) {
+	} elsif ($fqn =~ m{---/.*}) {
 		$type = "EMPTY"; # likely Rhino, empty slot.
 	} elsif ($fqn =~ m{\b(TE[24]|WCT1|Tor2|TorISA|WP[TE]1|cwain[12])/.*}) {
 		# TE[24]: Digium wct4xxp




More information about the svn-commits mailing list