Index: rtp.c =================================================================== --- rtp.c (revision 47998) +++ rtp.c (working copy) @@ -1458,11 +1458,14 @@ case AST_FORMAT_SPEEX: /* Don't buffer outgoing frames; send them one-per-packet: */ if (_f->offset < hdrlen) { + /* etg: not sure why this is frdup'ed but add free code below until it can be resolved.*/ f = ast_frdup(_f); + ast_log(LOG_DEBUG, "duplicated frame for ast_rtp_raw_write, subclass = %d.\n", subclass); } else { f = _f; } ast_rtp_raw_write(rtp, f, codec); + if(f!=_f)free(f); } return 0;