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
core: removing the condition for second record_route ipv6 header #1315
Conversation
@miconda please review this also for record_route header |
Do you have advertise address to the listen socket? |
- safer than the test against cached socket address known to be without [], allowing to pass any address value to be used - reported by GH #1315
I just pushed another patch (referenced above), because there were other cases when the same condition was used. The new patch is taking a safer path by checking if the ipv6 address starts with Can you test and report if ok? |
@miconda yes ,i have advertise address to the listen socket. |
@miconda i will test the same.we are expecting all ipv6 patch to be merged with stable branch so we can start using those only. |
If testing with master is ok, then I will backport. Just report if it works fine or not. |
Patches should be backported by now in the 5.x.x branches, if you still find an issue, open another item on the tracker. |
@miconda thanks.let us know once patches related to ipv6 are backported to all 5.x.x branches. |
Pre-Submission Checklist
in
doc/
subfolder, the README file is autogenerated)Type Of Change
Checklist:
Description
when we are sending the call from ipv6 tls registered endpoint to kamailio and kamailio use the dispatcher module to forward that call to tcp sip server then second record route header have ipv6 address without [].so another sip server is saying 400 bad record route header.
before (with error):
Record-Route: sip:2600:1F1C:74E:E100:E89F:BEB1:10AF:1CB1:5060;transport=tcp;r2=on;lr=on;ftag=msDr8yzIe5obR7fSfD-jPiJPFcJoVwwr;did=ae1.8861
after (correct):
Record-Route: sip:[2600:1F1C:74E:E100:E89F:BEB1:10AF:1CB1]:5060;transport=tcp;r2=on;lr=on;ftag=msDr8yzIe5obR7fSfD-jPiJPFcJoVwwr;did=ae1.8861