提交 fa5767eb authored 作者: Anthony Minessale's avatar Anthony Minessale

fixes

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2781 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 464eada6
...@@ -283,7 +283,7 @@ SWITCH_DECLARE(void) switch_core_session_run(switch_core_session_t *session); ...@@ -283,7 +283,7 @@ SWITCH_DECLARE(void) switch_core_session_run(switch_core_session_t *session);
\brief determine if the session's state machine is running \brief determine if the session's state machine is running
\param session the session on which to check \param session the session on which to check
*/ */
SWITCH_DECLARE(unsigned int) switch_core_session_runing(switch_core_session_t *session); SWITCH_DECLARE(unsigned int) switch_core_session_running(switch_core_session_t *session);
/*! /*!
\brief Allocate memory from the main pool with no intention of returning it \brief Allocate memory from the main pool with no intention of returning it
......
...@@ -2508,7 +2508,7 @@ SWITCH_DECLARE(void) switch_core_session_signal_state_change(switch_core_session ...@@ -2508,7 +2508,7 @@ SWITCH_DECLARE(void) switch_core_session_signal_state_change(switch_core_session
} }
SWITCH_DECLARE(unsigned int) switch_core_session_runing(switch_core_session_t *session) SWITCH_DECLARE(unsigned int) switch_core_session_running(switch_core_session_t *session)
{ {
return session->thread_running; return session->thread_running;
} }
......
...@@ -1829,7 +1829,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess ...@@ -1829,7 +1829,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
switch_channel_add_state_handler(peer_channels[i], table); switch_channel_add_state_handler(peer_channels[i], table);
} }
if (switch_core_session_runing(peer_sessions[i])) { if (switch_core_session_running(peer_sessions[i])) {
switch_channel_set_state(peer_channels[i], CS_RING); switch_channel_set_state(peer_channels[i], CS_RING);
} else { } else {
switch_core_session_thread_launch(peer_sessions[i]); switch_core_session_thread_launch(peer_sessions[i]);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论