diff options
author | matteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-02-14 06:00:11 +0000 |
---|---|---|
committer | matteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-02-14 06:00:11 +0000 |
commit | 7dc232beda6ba9c8ad5231c10a8e3c13cb735cd8 (patch) | |
tree | 4d5b29650be4cacf2c29710581941f0e84cfd431 /channel.c | |
parent | 54b168a25414b0994fa47dc2d79408ce9586000a (diff) |
Fri Feb 14 07:00:01 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@614 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rwxr-xr-x | channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -967,7 +967,8 @@ struct ast_frame *ast_read(struct ast_channel *chan) if (!(f->subclass & chan->nativeformats)) { /* This frame can't be from the current native formats -- drop it on the floor */ - ast_log(LOG_NOTICE, "Dropping incompatible voice frame on %s since our native format has changed\n", chan->name); + ast_log(LOG_NOTICE, "Dropping incompatible voice frame on %s of format %d since our native format has changed to %d\n", chan->name, f->subclass, chan->nativeformats); + ast_frfree(f); f = &null_frame; } else if (chan->pvt->readtrans) { f = ast_translate(chan->pvt->readtrans, f, 1); |