Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 140020) +++ channels/chan_sip.c (working copy) @@ -6842,6 +6842,7 @@ add_header(&req, "X-asterisk-Info", "SIP re-invite (External RTP bridge)"); if (!ast_test_flag(&p->flags[0], SIP_NO_HISTORY)) append_history(p, "ReInv", "Re-invite sent"); + try_suggested_sip_codec(p); add_sdp(&req, p); /* Use this as the basis */ initialize_initreq(p, &req); @@ -7195,8 +7196,10 @@ if (option_debug) ast_log(LOG_DEBUG, "T38 is in state %d on channel %s\n", p->t38.state, p->owner ? p->owner->name : ""); add_t38_sdp(&req, p); - } else if (p->rtp) + } else if (p->rtp) { + try_suggested_sip_codec(p); add_sdp(&req, p); + } } else { add_header_contentLength(&req, 0); }