Modified: freeswitch/trunk/src/mod/endpoints/mod_skypiax/mod_skypiax.c (14453 => 14454)
--- freeswitch/trunk/src/mod/endpoints/mod_skypiax/mod_skypiax.c 2009-08-01 12:22:45 UTC (rev 14453)
+++ freeswitch/trunk/src/mod/endpoints/mod_skypiax/mod_skypiax.c 2009-08-01 12:27:19 UTC (rev 14454)
@@ -1784,8 +1784,9 @@
giovatech->skype_user, tech_pvt->skype_user, giovatech->callid_number, value)
if(tech_pvt->interface_state == SKYPIAX_STATE_PRERING){
tech_pvt->interface_state = SKYPIAX_STATE_DOWN;
- }else if (tech_pvt->interface_state != SKYPIAX_STATE_DOWN) {
+ }else if (tech_pvt->interface_state != 0 && tech_pvt->interface_state != SKYPIAX_STATE_DOWN) {
WARNINGA("Why an interface_state %d HERE?\n", SKYPIAX_P_LOG, tech_pvt->interface_state);
+ tech_pvt->interface_state = SKYPIAX_STATE_DOWN;
}
break;