add waitForAnswer to cpp

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8745 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-06-02 23:42:59 +00:00
parent 6798cd2b5f
commit 7f4c8a6d46
10 changed files with 333 additions and 0 deletions
+9
View File
@@ -890,6 +890,15 @@ SWITCH_DECLARE(int) CoreSession::setAutoHangup(bool val)
return SWITCH_STATUS_SUCCESS;
}
SWITCH_DECLARE(void) CoreSession::waitForAnswer(CoreSession *calling_session)
{
this_check_void();
sanity_check_noreturn;
switch_ivr_wait_for_answer(calling_session ? calling_session->session : NULL, session);
}
SWITCH_DECLARE(void) CoreSession::setCallerData(char *var, char *val) {
this_check_void();