mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
add RTP_BUG_ACCEPT_ANY_PACKETS to disable dropping invalid packets for interop with Oracle CCA
This commit is contained in:
+1
-1
@@ -3135,7 +3135,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
|
||||
goto recvfrom;
|
||||
|
||||
}
|
||||
} else if (!switch_cmp_addr(rtp_session->from_addr, rtp_session->remote_addr)) {
|
||||
} else if (!(rtp_session->rtp_bugs & RTP_BUG_ACCEPT_ANY_PACKETS) && !switch_cmp_addr(rtp_session->from_addr, rtp_session->remote_addr)) {
|
||||
goto recvfrom;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user