[zaptel-commits] tzafrir: branch 1.4 r3569 - /branches/1.4/xpp/utils/zconf/Zaptel/Chans.pm

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Fri Dec 28 18:31:10 CST 2007


Author: tzafrir
Date: Fri Dec 28 18:31:10 2007
New Revision: 3569

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3569
Log:
Do detect the type of a wcfxo channel.

Modified:
    branches/1.4/xpp/utils/zconf/Zaptel/Chans.pm

Modified: branches/1.4/xpp/utils/zconf/Zaptel/Chans.pm
URL: http://svn.digium.com/view/zaptel/branches/1.4/xpp/utils/zconf/Zaptel/Chans.pm?view=diff&rev=3569&r1=3568&r2=3569
==============================================================================
--- branches/1.4/xpp/utils/zconf/Zaptel/Chans.pm (original)
+++ branches/1.4/xpp/utils/zconf/Zaptel/Chans.pm Fri Dec 28 18:31:10 2007
@@ -34,7 +34,9 @@
 	$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/.*}) {




More information about the zaptel-commits mailing list