Index: channels/chan_sip.c
===================================================================
--- channels/chan_sip.c (Revision 313741)
+++ channels/chan_sip.c (Arbeitskopie)
@@ -10333,6 +10333,9 @@
ast_rtp_lookup_mime_subtype2(1, codec, 0),
ast_rtp_lookup_sample_rate2(1, codec));
/* Add fmtp code here */
+ if (codec & 0x200000) {
+ ast_str_append(a_buf,0,"a=fmtp:%d profile-level-id=42801f;max-mbps=245000;max-fs=8192;packetization-mode=0\r\n",rtp_code);
+ }
}
/*! \brief Add text codec offer to SDP offer/answer body in INVITE or 200 OK */