mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
reswig
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15361 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -564,6 +564,14 @@ SWITCH_DECLARE(int) CoreSession::preAnswer()
|
||||
return status == SWITCH_STATUS_SUCCESS ? 1 : 0;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(void) CoreSession::hangupState(void)
|
||||
{
|
||||
sanity_check_noreturn;
|
||||
this->begin_allow_threads();
|
||||
switch_core_session_hangup_state(session);
|
||||
this->end_allow_threads();
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(void) CoreSession::hangup(const char *cause)
|
||||
{
|
||||
this_check_void();
|
||||
|
Reference in New Issue
Block a user