[zaptel-commits] tzafrir: branch 1.4 r3939 - /branches/1.4/kernel/xpp/utils/zconf/Zaptel/Span.pm

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Wed Mar 5 15:16:48 CST 2008


Author: tzafrir
Date: Wed Mar  5 15:16:47 2008
New Revision: 3939

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3939
Log:
Hopefully a fix for issue #12150 .

Modified:
    branches/1.4/kernel/xpp/utils/zconf/Zaptel/Span.pm

Modified: branches/1.4/kernel/xpp/utils/zconf/Zaptel/Span.pm
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/xpp/utils/zconf/Zaptel/Span.pm?view=diff&rev=3939&r1=3938&r2=3939
==============================================================================
--- branches/1.4/kernel/xpp/utils/zconf/Zaptel/Span.pm (original)
+++ branches/1.4/kernel/xpp/utils/zconf/Zaptel/Span.pm Wed Mar  5 15:16:47 2008
@@ -106,6 +106,7 @@
 		s/^\s*//;
 		s/\s*$//;
 		next unless /\S/;
+		next unless /^\s*\d+/; # must be a real channel string.
 		my $c = Zaptel::Chans->new($self, $index, $_);
 		push(@channels, $c);
 		$index++;




More information about the zaptel-commits mailing list