[OpenSIPS-Devel] [OpenSIPS/opensips] 287ce6: dialog: Refactor dlg_leg.sdp and dlg_leg.th_sent_c...
Liviu Chircu
liviu at opensips.org
Fri Jun 22 11:10:20 EDT 2018
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 287ce6f545e342d9239359eb78834c9272b80e26
https://github.com/OpenSIPS/opensips/commit/287ce6f545e342d9239359eb78834c9272b80e26
Author: Liviu Chircu <liviu at opensips.org>
Date: 2018-06-22 (Fri, 22 Jun 2018)
Changed paths:
M modules/dialog/dlg_db_handler.c
M modules/dialog/dlg_handlers.c
M modules/dialog/dlg_hash.c
M modules/dialog/dlg_hash.h
M modules/dialog/dlg_timer.c
Log Message:
-----------
dialog: Refactor dlg_leg.sdp and dlg_leg.th_sent_contact
These fields are only relevant for dialog pinging and they behave
similarly, so their naming should reflect this.
Commit: 67b29011127a53fe53c8bd19efc2373b2978f4f2
https://github.com/OpenSIPS/opensips/commit/67b29011127a53fe53c8bd19efc2373b2978f4f2
Author: Liviu Chircu <liviu at opensips.org>
Date: 2018-06-22 (Fri, 22 Jun 2018)
Changed paths:
M modules/dialog/dlg_handlers.c
M modules/dialog/dlg_hash.c
M modules/dialog/dlg_hash.h
M modules/dialog/dlg_timer.c
Log Message:
-----------
dialog: Properly store all downstream forked legs
Commit a03ed4e1a36 over-simplified the downstream leg identification,
assuming that there is a 1:1 correspondence between outgoing branches
and unique replies to them. This is not the case: as a proxy, we may
receive multiple responses (read: "To" tags) for each individual branch
we fork out. This misconception would also cause SHM to leak.
We fix the above limitation by cloning a new dialog leg each time we
detect downstream forking of our outgoing branches.
Thanks to Bogdan for pointing out this problem
Commit: cabac7d4add383114176fd9581a01177fd20e7e8
https://github.com/OpenSIPS/opensips/commit/cabac7d4add383114176fd9581a01177fd20e7e8
Author: Liviu Chircu <liviu at opensips.org>
Date: 2018-06-22 (Fri, 22 Jun 2018)
Changed paths:
M modules/dialog/dlg_db_handler.c
M modules/dialog/dlg_handlers.c
Log Message:
-----------
dialog: Do some code maintenance
* add macro for reinvite pinging detection
* fix clang compile warnings
Compare: https://github.com/OpenSIPS/opensips/compare/2f21be1b0bf2...cabac7d4add3
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Devel
mailing list