add disconnect method and check in ivrd

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12724 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-03-23 19:55:02 +00:00
1 parent bed82b98a6
commit 7e9db269dd
14 files changed
+280 -11

No files matched your search

+9
View File
@@ -33,6 +33,15 @@ ESLconnection::~ESLconnection()
}
int ESLconnection::disconnect()
{
if (handle.connected) {
return esl_disconnect(&handle);
}
return 0;
}
int ESLconnection::connected()
{
return handle.connected;