Skip to content

Feature Request: When an INVITE includes a private IP address in the SDP, send the response to the source IP #611

@mike-r-mclaughlin

Description

@mike-r-mclaughlin

Problem Statement

Some SIP providers include a private IP address rather than a public IP address for the audio endpoint.
For example:

v=0
o=root 123456789 123456789 IN IP4 10.1.33.103
s=REDACTED PBX
c=IN IP4 10.1.33.103
t=0 0
m=audio 14264 RTP/AVP 9 8 0 3 101
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:140
a=sendrecv

When this is sent to LiveKit, the call will ultimately fail since that address is not routable.

Feature Request

Instead of failing, it would be great if LiveKit could instead detect this and send the RTP traffic back to the IP address from which the incoming packets originate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions