diff --git a/libs/freetdm/src/zap_io.c b/libs/freetdm/src/zap_io.c index 864b19ffd1..ddbf269b22 100644 --- a/libs/freetdm/src/zap_io.c +++ b/libs/freetdm/src/zap_io.c @@ -760,7 +760,7 @@ zap_status_t zap_channel_set_state(zap_channel_t *zchan, zap_channel_state_t sta { switch(state) { case ZAP_CHANNEL_STATE_UP: - ok = 0; + ok = 1; break; default: break;