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

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Oct 15 12:11:49 CDT 2008


Author: tzafrir
Date: Wed Oct 15 12:11:48 2008
New Revision: 5094

URL: http://svn.digium.com/view/dahdi?view=rev&rev=5094
Log:
Dahdi-perl: Fix detection of empty slots in Rhino analog cards.

Closes issue #13685

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

Modified: tools/trunk/xpp/perl_modules/Dahdi/Chans.pm
URL: http://svn.digium.com/view/dahdi/tools/trunk/xpp/perl_modules/Dahdi/Chans.pm?view=diff&rev=5094&r1=5093&r2=5094
==============================================================================
--- tools/trunk/xpp/perl_modules/Dahdi/Chans.pm (original)
+++ tools/trunk/xpp/perl_modules/Dahdi/Chans.pm Wed Oct 15 12:11:48 2008
@@ -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