tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7755 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
eb55b310dc
commit
321e662b88
|
@ -224,6 +224,11 @@ void sofia_event_callback(nua_event_t event,
|
||||||
|
|
||||||
if (session) {
|
if (session) {
|
||||||
switch_core_session_signal_lock(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) {
|
if ((profile->pflags & PFLAG_AUTH_ALL) && tech_pvt && tech_pvt->key && sip) {
|
||||||
|
|
Loading…
Reference in New Issue