freeswitch/libs/esl/perl/single_command.pl
Anthony Minessale 573e967638 update esl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12111 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-17 20:13:45 +00:00

7 lines
173 B
Perl

require ESL;
my $command = join(" ", @ARGV);
my $con = new ESL::ESLconnection("localhost", "8021", "ClueCon");
my $e = $con->sendRecv("api $command");
print $e->getBody();