mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-05 03:41:53 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user