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

add notice to explain why a call hangs up when it's run out of things to do so…

add notice to explain why a call hangs up when it's run out of things to do so people stop reporting it as a bug

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16569 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 6fec6e8a
......@@ -184,7 +184,9 @@ static void switch_core_standard_on_execute(switch_core_session_t *session)
}
if (switch_channel_ready(session->channel) && switch_channel_get_state(session->channel) == CS_EXECUTE) {
switch_channel_hangup(session->channel, SWITCH_CAUSE_NORMAL_CLEARING);
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_NOTICE, "%s has executed the last dialplan instruction, hanging up.\n",
switch_channel_get_name(session->channel));
switch_channel_hangup(session->channel, SWITCH_CAUSE_NORMAL_CLEARING);
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论