2 # This file reads a SIPServer xml-format configuration file and dumps it
3 # to stdout. Just to see what the structures look like.
5 # The 'new XML::Simple' option must agree exactly with the configuration
6 # in Sip::Configuration.pm
11 use XML::Simple qw(:strict);
14 my $parser = new XML::Simple( KeyAttr => { login => '+id',
16 service => '+port', },
17 GroupTags => { listeners => 'service',
19 institutions => 'institution', },
20 ForceArray=> [ 'service',
23 ValueAttr => [ 'error-detect',
26 my $ref = $parser->XMLin($ARGV[0]);