[OpenSIPS-Devel] [OpenSIPS/opensips] db7eca: matching_mode honored in cachedbs
Liviu Chircu
noreply at github.com
Wed Aug 14 08:30:16 EDT 2019
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: db7eca79a181ceb3406463aad7ab56162247104d
https://github.com/OpenSIPS/opensips/commit/db7eca79a181ceb3406463aad7ab56162247104d
Author: Alessio Garzi <agarzi at clouditalia.com>
Date: 2019-08-13 (Tue, 13 Aug 2019)
Changed paths:
M modules/usrloc/urecord.c
Log Message:
-----------
matching_mode honored in cachedbs
Function cdb_add_ct_update ignores matching modes set on opensips.cfg, this result in an unexpected behaviour if the user sets matching_mode=0 since multiple records with same contact (but different callid) are stored in the cache database.
This fix checks, before getting the base64 hash, if matching mode is contact only, if yes, the callid string is not included in the resulted base64 hash.
If matching mode is CONTACT_CALLID, this function behaves like before, and the hash is calcuated using contact:callid.
Commit: 5d1678a37618d697c7c9a6346c0846d01404a142
https://github.com/OpenSIPS/opensips/commit/5d1678a37618d697c7c9a6346c0846d01404a142
Author: Alessio Garzi <gun101 at email.it>
Date: 2019-08-14 (Wed, 14 Aug 2019)
Changed paths:
M modules/usrloc/urecord.c
Log Message:
-----------
Better indentation on switch case inside urecord
Just indentation fixes
Commit: 61efba2e5a18481e4b92acd860aa7ae88db04164
https://github.com/OpenSIPS/opensips/commit/61efba2e5a18481e4b92acd860aa7ae88db04164
Author: Alessio Garzi <gun101 at email.it>
Date: 2019-08-14 (Wed, 14 Aug 2019)
Changed paths:
M modules/usrloc/urecord.c
Log Message:
-----------
Indentation fix 2 on urecord
One line was missing tab indentation
Commit: 07e80bc29ca0a014ef483849d9d010a301dad60f
https://github.com/OpenSIPS/opensips/commit/07e80bc29ca0a014ef483849d9d010a301dad60f
Author: Liviu Chircu <liviu at opensips.org>
Date: 2019-08-14 (Wed, 14 Aug 2019)
Changed paths:
M modules/usrloc/urecord.c
Log Message:
-----------
Merge pull request #1802 from Ozzyboshi/master
matching_mode honored in cachedbs
Compare: https://github.com/OpenSIPS/opensips/compare/4ccc0dd3985b...07e80bc29ca0
More information about the Devel
mailing list