diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-10-15 17:11:48 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-10-15 17:11:48 +0000 |
commit | 7eb5a76648017644fecc0e774355e175cb27adb9 (patch) | |
tree | 50f045ef10d4da9693c9d4a7dfdc681c73d3a3e4 /xpp/perl_modules/Dahdi/Chans.pm | |
parent | d9adb83fcfde40ffbfac166e1a4f615a7811570e (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.pm | 2 |
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 |