-
Notifications
You must be signed in to change notification settings - Fork 583
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
[BUG] b2b_entities request route is not fired for any non initial request with TLS RURI #3546
Comments
Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days. |
Hi @babakyakhchali , passing a 0 value |
because it is tls I could not find a clean way to send a pcap, but I attached the microsip log which shows packet flow in tls leg between microsip and opensips, and also opensips log in log level 4. |
if it is not ok to use 0, 5061 can be used as default port when transport is TLS and no port is specified |
I assume |
Could you try:
|
yes it is. I tried your suggestion and it is working. thanks |
OpenSIPS version you are running
Describe the bug
When using b2b with a tls socket, b2b_entities request route is not launched for any mid dialog request, for example a BYE.
To Reproduce
Expected behavior
b2b entities request route must be called.
Relevant System Logs
OS/environment information
Additional context
I checked the code and it seems problem is caused by using default SIP_PORT when RURI does not contain a port. When the request is sent to a TLS socket and port is not present in RURI, 5061 or zero must be used otherwise b2b_entities matching fails according to the above logs. This change solved the problem for me:
The text was updated successfully, but these errors were encountered: