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
This commit is contained in:
Anthony Minessale 2010-02-04 15:57:23 +00:00
parent 6fec6e8aa0
commit f484e28e22
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}
}