diff --git a/libs/freetdm/src/ftmod/ftmod_misdn/ftmod_misdn.c b/libs/freetdm/src/ftmod/ftmod_misdn/ftmod_misdn.c index 82a35ad7e6..784bc55c5c 100644 --- a/libs/freetdm/src/ftmod/ftmod_misdn/ftmod_misdn.c +++ b/libs/freetdm/src/ftmod/ftmod_misdn/ftmod_misdn.c @@ -2298,7 +2298,7 @@ static ftdm_status_t handle_b_channel_event(ftdm_channel_t *chan) char *data = buf + MISDN_HEADER_LEN; /* Discard incoming audio if not active */ - if (!priv->active) { + if (priv->active) { /* Convert audio data */ misdn_convert_audio_bits(data, datalen);