actually send bye on error condition

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9950 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-10-10 23:17:18 +00:00
parent 0dd54135f3
commit ca1cfb3198

View File

@ -2166,11 +2166,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Sending CANCEL to orphan call.\n");
nua_cancel(nh, TAG_END());
}
nua_handle_bind(nh, NULL);
nua_handle_destroy(nh);
}
}
}