diff --git a/libs/esl/perl/single_command.pl b/libs/esl/perl/single_command.pl index 1b114f86d2..ab75888309 100644 --- a/libs/esl/perl/single_command.pl +++ b/libs/esl/perl/single_command.pl @@ -4,5 +4,5 @@ my $command = shift; my $args = join(" ", @ARGV); my $con = new ESL::ESLconnection("localhost", "8021", "ClueCon"); -my $e = $con->bgapi($command, $args); +my $e = $con->api($command, $args); print $e->getBody();