<div dir="ltr"><div dir="ltr">On Tue, Feb 11, 2020 at 6:34 AM Mohit Dhiman <<a href="mailto:mohitdhiman736@gmail.com">mohitdhiman736@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div>I want to remove some static payload from Asterisk's RTP Engine.</div><div>so if I remove the following lines from <font face="monospace">ast_rtp_engine_init</font> of <font face="monospace">main/rtp_engine.c </font></div><div><font face="monospace"><br></font></div><div><font face="monospace">        add_static_payload(102, ast_format_siren7, 0);<br>        add_static_payload(103, ast_format_h263p, 0);<br>        add_static_payload(104, ast_format_mp4, 0);<br>        add_static_payload(105, ast_format_t140_red, 0);   /* Real time text chat (with redundancy encoding) */<br>        add_static_payload(106, ast_format_t140, 0);     /* Real time text chat */<br>        add_static_payload(108, ast_format_vp9, 0);<br>        add_static_payload(110, ast_format_speex, 0);<br>        add_static_payload(111, ast_format_g726, 0);<br>        add_static_payload(112, ast_format_g726_aal2, 0);<br>        add_static_payload(115, ast_format_siren14, 0);<br>        add_static_payload(116, ast_format_g719, 0);<br>        add_static_payload(117, ast_format_speex16, 0);<br>        add_static_payload(118, ast_format_slin16, 0); /* 16 Khz signed linear */<br>        add_static_payload(119, ast_format_speex32, 0);<br>        add_static_payload(121, NULL, AST_RTP_CISCO_DTMF);   /* Must be type 121 */<br>   </font></div><div><br></div><div>will there be any other impact other than that if any of these payload types (for e.g. 105) are received than asterisk will treat them as <i>Unknown Payload types</i>?</div></div></blockquote><div><br></div><div>I think current code should dynamically allocate a payload per-session if need be for these if removed, but I'm not sure of all the ramifications. </div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>