forked from Mirrors/freeswitch
0dc800c78e
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11664 d0543943-73ff-0310-b7d9-9358b9ac24b2
18 lines
245 B
C
18 lines
245 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <esl.h>
|
|
|
|
|
|
int main(void)
|
|
{
|
|
esl_handle_t handle = {{0}};
|
|
|
|
esl_connect(&handle, "localhost", 8021, "ClueCon");
|
|
|
|
esl_send_recv(&handle, "api status\n\n");
|
|
|
|
esl_disconnect(&handle);
|
|
|
|
return 0;
|
|
}
|