mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
add some stuff to esl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12086 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -60,6 +60,22 @@ eslEvent *eslConnection::getInfo()
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int eslConnection::setBlockingExecute(const char *val)
|
||||
{
|
||||
if (val) {
|
||||
handle.blocking_execute = esl_true(val);
|
||||
}
|
||||
return handle.blocking_execute;
|
||||
}
|
||||
|
||||
int eslConnection::setEventLock(const char *val)
|
||||
{
|
||||
if (val) {
|
||||
handle.event_lock = esl_true(val);
|
||||
}
|
||||
return handle.event_lock;
|
||||
}
|
||||
|
||||
esl_status_t eslConnection::execute(const char *app, const char *arg, const char *uuid)
|
||||
{
|
||||
return esl_execute(&handle, app, arg, uuid);
|
||||
|
||||
Reference in New Issue
Block a user