execute hangup state asap

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14852 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-09-14 20:10:58 +00:00
parent c92cb7283a
commit 5a5f3081f0
9 changed files with 131 additions and 73 deletions

View File

@@ -932,7 +932,7 @@ SWITCH_DECLARE(void) CoreSession::destroy(void)
}
SWITCH_DECLARE(int) CoreSession::originate(CoreSession *a_leg_session, char *dest, int timeout)
SWITCH_DECLARE(int) CoreSession::originate(CoreSession *a_leg_session, char *dest, int timeout, switch_state_handler_table_t *handlers)
{
switch_core_session_t *aleg_core_session = NULL;
@@ -957,7 +957,7 @@ SWITCH_DECLARE(int) CoreSession::originate(CoreSession *a_leg_session, char *des
&cause,
dest,
timeout,
NULL,
handlers,
NULL,
NULL,
&caller_profile,