• Simon Morlat's avatar
    Rework the way GRUU support is implemented. · c04fcf0b
    Simon Morlat authored
    * define two functions in RegistrarDb to convert a sip.instance to gr parameter and vice versa, used everywhere needed
    * set the pub-gruu into the ExtendedContact, instead of synthetize when generating the 200 Ok response
    * Fix an issue where the null character was accidentally inserted at the end of a c++ string, causing an ostringstream to stop (when printing ExtendedContact's paths).
    * Eliminate useless code.
    
    The initial goal of this rework is to allow a SIP client to REGISTER with a GRUU address as contact.
    This wasn't possible because Flexisip was confusing the gr parameter it was computing and the gr parameter set by the client in the Contact header.
    c04fcf0b
Name
Last commit
Last update
.gitlab-ci-files Loading commit data...
build Loading commit data...
cmake Loading commit data...
debian Loading commit data...
doc Loading commit data...
docker Loading commit data...
flexisip.xcodeproj Loading commit data...
include Loading commit data...
linphone-sdk @ 2cc5ec84 Loading commit data...
m4 Loading commit data...
patches Loading commit data...
scripts Loading commit data...
share Loading commit data...
src Loading commit data...
submodules/externals Loading commit data...
test Loading commit data...
tester/register_noauth_deregister Loading commit data...
.clang-format Loading commit data...
.cproject Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
.project Loading commit data...
AUTHORS Loading commit data...
CHANGELOG.md Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
data-model.xsd Loading commit data...
prepare.py Loading commit data...
rpid.xsd Loading commit data...