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
B2B module ignores compact contact-type header (c) #403
Comments
Try applying this patch https://gist.github.com/ionutrazvanionita/688a4c832049997ca62e. Hope it solves your problem! |
@ionutrazvanionita , the best approach is to actually parse ehdrs in a SIP-wise manner : (see modules/tm/tm.c +473 ) |
I believe the bug only occurs in the b2b module. Or is the root cause in tm? |
@bbuitenhuis It has nothing to do with the tm module, it was only a hint about how to approach the problem! |
I see! Needed coffee ;-) |
Try this new patch https://gist.github.com/ionutrazvanionita/5b3e722deaeca775acf7, which parses the headers SIP-wisely, which should solve any problem concerning Content-Type parsing. |
@ionutrazvanionita I've patched the patch, but didn't resolve the issue. I've make sure the patch really patched. |
@bbuitenhuis sorry did a little mistake when searching for the Content-Type header. Try this one https://gist.github.com/ionutrazvanionita/1857e3b27d5c1e4906c1. |
the b2b modules adds an new header:
Content-Type: application/sdp
without deleting/updating the existing (compact) header:
c: application/sdp
The text was updated successfully, but these errors were encountered: