From 84ba43c32ec18544aa4dcc23b723f9fa729cafb6 Mon Sep 17 00:00:00 2001 From: "Joe Atzberger (siptest" Date: Wed, 4 Jun 2008 18:14:50 -0500 Subject: [PATCH] Debugging util. script for SIP config XML. Signed-off-by: Joshua Ferraro --- C4/SIP/xmlparse.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/SIP/xmlparse.pl b/C4/SIP/xmlparse.pl index 733c232a5d..6a0b64e0c4 100644 --- a/C4/SIP/xmlparse.pl +++ b/C4/SIP/xmlparse.pl @@ -25,6 +25,6 @@ my $parser = new XML::Simple( KeyAttr => { login => '+id', 'min_servers' => 'value', 'max_servers' => 'value'} ); -my $ref = $parser->XMLin($ARGV[0]); +my $ref = $parser->XMLin(@ARGV ? shift : 'SIPconfig.xml'); print Dumper($ref); -- 2.39.5