git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7755 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-02-27 17:06:25 +00:00
parent eb55b310dc
commit 321e662b88
1 changed files with 5 additions and 0 deletions

View File

@ -224,6 +224,11 @@ void sofia_event_callback(nua_event_t event,
if (session) {
switch_core_session_signal_lock(session);
if (channel && switch_channel_get_state(channel) >= CS_HANGUP) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Channel is already hungup.\n");
goto done;
}
}
if ((profile->pflags & PFLAG_AUTH_ALL) && tech_pvt && tech_pvt->key && sip) {