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

NAPTR support #46

Open
pali opened this issue Apr 4, 2021 · 2 comments
Open

NAPTR support #46

pali opened this issue Apr 4, 2021 · 2 comments

Comments

@pali
Copy link
Contributor

pali commented Apr 4, 2021

Net::SIP currently does not resolve NAPTR DNS records when delivering SIP packets. NAPTR DNS records for FQDN can point to different hostnames and also contains preferences for SRV records. Therefore via NAPTR can be set preference of TCP over UDP or SIPS/TLS over SIP (unencrypted).

Also NAPTR can be used to resolve telephone number to SIP uris. So it could be used for resolving tel: URIs to SIP uris.

@noxxi
Copy link
Owner

noxxi commented Apr 5, 2021

So far I never stumbled over an actual use of NAPTR in real world, but I have limited visibility into this. Is this more an issue of feature completeness or is there an actual real world use case behind this?

@pali
Copy link
Contributor Author

pali commented Apr 5, 2021

The real world use case of NAPTR is described above preference (if UDP or TCP or TLS has higher priority). E.g. if target destination prefer to use TLS over unencrypted UDP/TCP. Or if rather prefer TCP over UDP.

Other NAPTR usage (like ENUM/tel. or email) is just "feature completeness". But I have seen also NAPTR ENUM/E164 records. Some universities have their PSTN telephone numbers in ENUM DNS tree with NAPTR records and it is possible to call to these telephone numbers via internet and SIP after correctly resolving NAPTR DNS records for E164. But this is really minority.

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

No branches or pull requests

2 participants