mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
add c++ wrapper for esl and a perl module using swig (might need more work)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12074 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
6
libs/esl/perl/single_command.pl
Normal file
6
libs/esl/perl/single_command.pl
Normal file
@@ -0,0 +1,6 @@
|
||||
require ESL;
|
||||
|
||||
my $command = join(" ", @ARGV);
|
||||
my $con = new ESL::eslConnection("localhost", "8021", "ClueCon");
|
||||
my $e = $con->sendRecv("api $command");
|
||||
print $e->getBody();
|
Reference in New Issue
Block a user