-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
fix: add sip uri port if missing #156
fix: add sip uri port if missing #156
Conversation
…-uri-port-if-missing
Default port is handled by transport layer, so if you send request and port is missing transport layer will add it. |
Unfortunately if the request has no route, the address of the contact is used. sipgo/dialog_server.go:144
That was where we were experiencing the issue |
Hi @InnovativeUS can you actually test your code, by removing that line. Normally Route headers are handled by default. |
I have tested and removing the lines below do not affect the flow. I think we can close this PR since the world has moved on. // Check Route Header |
Hi @InnovativeUS . Not sure do I get your last response correctly. If anything needs to done here, go ahead open issue. |
Add default port if it is missing in an address.
This is needed to ensure the requests without a port are matched in the connection pool