diff --git a/sippy/Rtp_proxy/Session/subcommand_ice.py b/sippy/Rtp_proxy/Session/subcommand_ice.py index f257d0dec..ac67bf1f1 100644 --- a/sippy/Rtp_proxy/Session/subcommand_ice.py +++ b/sippy/Rtp_proxy/Session/subcommand_ice.py @@ -81,6 +81,9 @@ def __init__(self, sdp_bc, sect): pts = cand.split(None, 4) if pts[2].lower() != 'udp': continue + if pts[4].startswith('192.') and not pts[4].startswith('192.168.'): + # Carrier-grade NAT garbage + continue self.append(f'{self.i_mod} C {cand}') def handle_results(self, results, ur):