Index: main/translate.c =================================================================== --- main/translate.c (revision 97388) +++ main/translate.c (working copy) @@ -232,7 +232,10 @@ f->offset = AST_FRIENDLY_OFFSET; f->src = pvt->t->name; f->data = pvt->outbuf; - return f; + /* We must clone the frame, because the pvt could disappear + * the moment after we return (and unlock the source channel). + */ + return ast_frisolate(f); } static struct ast_frame *default_frameout(struct ast_trans_pvt *pvt)