From: Brian West Date: Fri, 7 Nov 2014 13:26:31 +0000 (-0600) Subject: Might needs this for testing. X-Git-Tag: v1.4.14~2^2~40^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08ff88ec31572071c5e5dbe6fad51578814c4bd9;p=thirdparty%2Ffreeswitch.git Might needs this for testing. --- diff --git a/scripts/perl/mkgws.pl b/scripts/perl/mkgws.pl new file mode 100644 index 0000000000..6743c969d0 --- /dev/null +++ b/scripts/perl/mkgws.pl @@ -0,0 +1,37 @@ +#!/usr/bin/perl +# +# Make bulk gateway xml from csv file. +# + +open(CSV, "gateways.csv"); +my @data = ; +close(CSV); + +foreach my $line (@data) { + chomp($line); + my ($gwname, $username, $password) = split(/,/, $line); + print < + + + + + + + + + + + + + + + + + + + + +XML + +}