diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-29 00:31:10 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-29 00:31:10 +0000 |
commit | 142c61c268b8b852b4134c41e7cfc03cd231f02d (patch) | |
tree | 25d78a964e408859a82fef791e5d4991f95d6cad /xpp | |
parent | 837874b06e56dce6dfdd29b4603dd9005c5dca10 (diff) |
Do detect the type of a wcfxo channel.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3569 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp')
-rw-r--r-- | xpp/utils/zconf/Zaptel/Chans.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xpp/utils/zconf/Zaptel/Chans.pm b/xpp/utils/zconf/Zaptel/Chans.pm index 16ab1d5..67016da 100644 --- a/xpp/utils/zconf/Zaptel/Chans.pm +++ b/xpp/utils/zconf/Zaptel/Chans.pm @@ -34,7 +34,9 @@ sub new($$$$$$) { $self->{INFO} = $info; my $type; if($fqn =~ m|\bXPP_(\w+)/.*$|) { - $type = $1; # One of our AB + $type = $1; # An Astribank + } elsif ($fqn =~ m{\bWCFXO/.*}) { + $type = "FXO"; # wcfxo - x100p and relatives. } elsif ($fqn =~ m{\bFXS/.*}) { $type = "FXS"; # likely Rhino } elsif ($fqn =~ m{\bFXO/.*}) { |