mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-25 04:34:15 +00:00
add RTP_BUG_ACCEPT_ANY_PACKETS to disable dropping invalid packets for interop with Oracle CCA
This commit is contained in:
1 parent
f2099bf999
commit
aea22cd4b7
3 files changed
+19
-1
No files matched your search
+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