MODENDP-213

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13119 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-04-22 18:38:55 +00:00
parent 93489d1010
commit 0f08e7db06

View File

@ -1325,7 +1325,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
msg->string_arg = p;
switch_core_session_receive_message(session, msg);
goto end_lock;
} else if (!switch_channel_test_flag(channel, CF_ANSWERED)) {
} else {
if (!sofia_test_flag(tech_pvt, TFLAG_BYE)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Responding with %d [%s]\n", code, reason);
if (!switch_strlen_zero(((char *) msg->pointer_arg))) {