summaryrefslogtreecommitdiff
path: root/xpp/perl_modules/Dahdi/Chans.pm
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-15 17:11:48 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-15 17:11:48 +0000
commit7eb5a76648017644fecc0e774355e175cb27adb9 (patch)
tree50f045ef10d4da9693c9d4a7dfdc681c73d3a3e4 /xpp/perl_modules/Dahdi/Chans.pm
parentd9adb83fcfde40ffbfac166e1a4f615a7811570e (diff)
Dahdi-perl: Fix detection of empty slots in Rhino analog cards.
Closes issue #13685 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5094 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/perl_modules/Dahdi/Chans.pm')
-rw-r--r--xpp/perl_modules/Dahdi/Chans.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpp/perl_modules/Dahdi/Chans.pm b/xpp/perl_modules/Dahdi/Chans.pm
index 78aa531..9a4df34 100644
--- a/xpp/perl_modules/Dahdi/Chans.pm
+++ b/xpp/perl_modules/Dahdi/Chans.pm
@@ -140,7 +140,7 @@ sub new($$$$$$) {
$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