From: Giovanni Maruzzelli Date: Thu, 20 Aug 2009 10:21:49 +0000 (+0000) Subject: skypiax: MODSKYPIAX-48 manage interface_status==CALLFLOW_STATUS_REMOTEHOLD when getti... X-Git-Tag: v1.0.6~2025 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff295194b87bd670025ae0446f5b5a741df0eb4f;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/src/mod/endpoints/mod_skypiax/mod_skypiax.c b/src/mod/endpoints/mod_skypiax/mod_skypiax.c index 2323bac365..e85fcbd476 100644 --- a/src/mod/endpoints/mod_skypiax/mod_skypiax.c +++ b/src/mod/endpoints/mod_skypiax/mod_skypiax.c @@ -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: