July 2017
Intermediate to advanced
434 pages
12h 59m
English
Let's remember: "api" blocks and wait for result, "bgapi" returns immediately giving you an uuid you will use to recognize the results.
#!/usr/bin/perl
require ESL;
my $con = ESL::ESLconnection->new("localhost", "8021", "ClueCon");
$con->api('chat', "sip|1011\@lab.opentelecomsolutions.com|1001\@lab.opentelecomsolutions.com|ciao a tutti1|text/plain");
$con->bgapi('chat', "sip|1011\@lab.opentelecomsolutions.com|1001\@lab.opentelecomsolutions.com|ciao a tutti2|text/plain");
Read now
Unlock full access