skypiax: MODSKYPIAX-48 manage interface_status==CALLFLOW_STATUS_REMOTEHOLD when getting hupall

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14577 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Giovanni Maruzzelli 2009-08-20 10:21:49 +00:00
parent f4167d727f
commit ff295194b8
1 changed files with 5 additions and 0 deletions

View File

@ -569,6 +569,11 @@ static switch_status_t channel_kill_channel(switch_core_session_t *session, int
switch_clear_flag(tech_pvt, TFLAG_IO);
switch_clear_flag(tech_pvt, TFLAG_VOICE);
switch_set_flag(tech_pvt, TFLAG_HANGUP);
if (tech_pvt->skype_callflow == CALLFLOW_STATUS_REMOTEHOLD) {
ERRORA("%s CHANNEL got SWITCH_SIG_KILL\n", SKYPIAX_P_LOG, switch_channel_get_name(channel));
channel_on_hangup(session);
}
//switch_mutex_unlock(tech_pvt->flag_mutex);
break;
case SWITCH_SIG_BREAK: