Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse scope idetifier on IPv6 addresses #1094

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

InfinityManu
Copy link

During development we required IPv6 with scope identfiiers in the SIP Via and Contact Header.

New the SIP Via header in the format:

  • Via: ...;received:fe80::XXXX:XXXX:XXXX:XXXX%eth0;....
    And the SIP Contact header:
  • Contact: sip:[fe80::XXXX:XXXX:XXXX:XXXX%eth0]:Port;...
    can be parsed.

Threre is no additional Field in the NameAddrHeader -> URI. The whole IPv6 address is still stored in the host property.

@seanbright
Copy link
Contributor

Is there an RFC that describes this change?

@InfinityManu
Copy link
Author

@seanbright
Copy link
Contributor

Is there a SIP related RFC that describes this change?

FWIW, I won’t be able to actually approve or merge this change but changing the grammar without a specification to back up the change would be problematic for interoperability.

@InfinityManu
Copy link
Author

Ah probably not. My thought was that when a protocol such as SIP supports IPv6, it should support the whole IPv6 RFC Specs.

@InfinityManu
Copy link
Author

For anyone wondering this can happen during call setup to asterisk in local IPv6 mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants