--- asterisk-15.5.0/main/rtp_engine.c 2018-07-12 18:36:50.000000000 +0200 +++ asterisk-15.5.0_patched/main/rtp_engine.c 2018-09-12 10:49:01.277554100 +0200 @@ -1471,9 +1471,7 @@ ast_rwlock_unlock(&codecs->codecs_lock); if (!type && payload <= AST_RTP_PT_LAST_STATIC) { - ast_rwlock_rdlock(&static_RTP_PT_lock); - type = ao2_bump(static_RTP_PT[payload]); - ast_rwlock_unlock(&static_RTP_PT_lock); + ast_verbose("Payload (%d) not found in codec list, ignore it\n", payload); } return type;