Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (Revision 292082) +++ channels/chan_sip.c (Arbeitskopie) @@ -7197,16 +7197,8 @@ p->allowed_methods = UINT_MAX; if (sip_methods[intended_method].need_rtp) { - if (ast_test_flag(&p->flags[1], SIP_PAGE2_T38SUPPORT)) { - if ((p->udptl = ast_udptl_new_with_bindaddr(sched, io, 0, &bindaddr))) { - ast_udptl_setqos(p->udptl, global_tos_audio, global_cos_audio); - p->t38_maxdatagram = global_t38_maxdatagram; - } else { - /* udptl creation failed, T38 can not be supported on this dialog */ - ast_log(LOG_ERROR, "UDPTL creation failed\n"); - ast_clear_flag(&p->flags[1], SIP_PAGE2_T38SUPPORT); - } - } + /* Removed UDPTL allocation for every sip pvt to prevent DOS effect and memory leaks + * udptl will be allocated by handle_request_invite if necessary */ p->maxcallbitrate = default_maxcallbitrate; p->autoframing = global_autoframing; }