- if there is no data in a voice frame, it is not really an error.
This commit is contained in:
parent
059bdfe0df
commit
316eebf9ee
|
@ -1414,7 +1414,7 @@ static int capi_write(struct ast_channel *c, struct ast_frame *f)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if ((!f->data) || (!f->datalen) || (!i->smoother)) {
|
if ((!f->data) || (!f->datalen) || (!i->smoother)) {
|
||||||
cc_log(LOG_ERROR, "No data for FRAME_VOICE %s\n", c->name);
|
cc_log(LOG_DEBUG, "No data for FRAME_VOICE %s\n", c->name);
|
||||||
cc_mutex_unlock(&i->lock);
|
cc_mutex_unlock(&i->lock);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue