3 # xmlrpc-order_pkg.pl username password
9 my( $u, $p, $custnum ) = ( @ARGV );
10 my $userinfo = $u.':'.$p;
12 my $uri = new URI 'http://localhost/freeside/misc/xmlrpc.cgi';
13 $uri->userinfo( $userinfo );
15 my $server = new Frontier::Client ( 'url' => $uri );
17 my $result = $server->call('Maestro.order_pkg',
22 'title' => 'John Q. Public', #'name' also works
23 #(turn off global_unique-pbx_title)
27 #die $result->{'error'} if $result->{'error'};
29 print Dumper($result);