#!/usr/local/bin/perl use Frontier::Client; my ($cmd, $arg) = @ARGV; $arg ||= ""; $server_url = 'http://moez:hello@208.64.200.45:8080/RPC2'; $server = Frontier::Client->new(url => $server_url); print $server->call('freeswitch.api', $cmd, $arg);