2008-12-19 19:35:09 -05:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <esl.h>
|
|
|
|
|
|
|
|
|
|
|
|
int main(void)
|
|
|
|
{
|
2008-12-21 16:54:43 -05:00
|
|
|
esl_handle_t handle = {{0}};
|
2008-12-19 19:35:09 -05:00
|
|
|
|
|
|
|
esl_connect(&handle, "localhost", 8021, "ClueCon");
|
|
|
|
|
2009-02-06 11:03:56 -05:00
|
|
|
esl_send_recv(&handle, "api conference 3100 play /root/sr8k.raw 1\n\n");
|
|
|
|
|
|
|
|
esl_send_recv(&handle, "api uuid_transfer aa1cedb1-5abc-4154-b068-9a0d1be6a7b6 3101\n\n");
|
|
|
|
|
|
|
|
esl_send_recv(&handle, "api conference 3101 play /root/sr8k.raw 2\n\n");
|
|
|
|
|
|
|
|
esl_send_recv(&handle, "api uuid_transfer aa1cedb1-5abc-4154-b068-9a0d1be6a7b6 3102\n\n");
|
|
|
|
|
|
|
|
esl_send_recv(&handle, "api conference 3102 play /root/sr8k.raw 3\n\n");
|
|
|
|
|
|
|
|
esl_send_recv(&handle, "api uuid_transfer aa1cedb1-5abc-4154-b068-9a0d1be6a7b6 3103\n\n");
|
|
|
|
|
|
|
|
esl_send_recv(&handle, "api conference 3103 play /root/sr8k.raw 4\n\n");
|
|
|
|
|
|
|
|
esl_send_recv(&handle, "api uuid_transfer aa1cedb1-5abc-4154-b068-9a0d1be6a7b6 3104\n\n");
|
2008-12-19 19:35:09 -05:00
|
|
|
|
|
|
|
esl_disconnect(&handle);
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|