1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-06-03 20:01:57 +00:00
Brian West ff1a9d091e fix events.pl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 08:39:08 +00:00

18 lines
238 B
Perl

require ESL;
my $con = new ESL::ESLconnection("localhost", "8021", "ClueCon");
$con->events("plain", "all");
for(;;) {
#my $e = $con->recvEventTimed(100);
my $e = $con->recvEvent();
if ($e) {
print $e->serialize();
}
}