mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
change example
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12181 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e3cf4c4a65
commit
ba5322f6c0
@ -1,6 +1,8 @@
|
||||
require ESL;
|
||||
|
||||
my $command = join(" ", @ARGV);
|
||||
my $command = shift;
|
||||
my $args = join(" ", @ARGV);
|
||||
|
||||
my $con = new ESL::ESLconnection("localhost", "8021", "ClueCon");
|
||||
my $e = $con->sendRecv("api $command");
|
||||
my $e = $con->api($command, $args);
|
||||
print $e->getBody();
|
||||
|
Loading…
x
Reference in New Issue
Block a user