[OpenSIPS-Devel] [OpenSIPS/opensips] 873b70: Refactor signaling, sl & tm APIs to add gen_totag()
Bogdan Andrei IANCU
noreply at github.com
Sat Nov 23 15:14:38 EST 2019
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 873b70647cede6c683ec7a562cceb3e7e504f814
https://github.com/OpenSIPS/opensips/commit/873b70647cede6c683ec7a562cceb3e7e504f814
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-11-23 (Sat, 23 Nov 2019)
Changed paths:
M modules/lua/sipluafunc.c
M modules/script_helper/script_helper.c
M modules/signaling/signaling.c
M modules/signaling/signaling.h
M modules/sl/sl.c
M modules/sl/sl_api.h
M modules/sl/sl_funcs.c
M modules/sl/sl_funcs.h
M modules/tm/t_reply.c
M modules/tm/t_reply.h
M modules/tm/tm.c
M modules/tm/tm_load.h
Log Message:
-----------
Refactor signaling, sl & tm APIs to add gen_totag()
This is a new function to generate the To-tag (which is msg specific and computed in a deterministic way) whitout actually sending a reply.
First stage of a fix for #1722
Commit: 4918544248c495b1099a54326f97a82df97bbe76
https://github.com/OpenSIPS/opensips/commit/4918544248c495b1099a54326f97a82df97bbe76
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-11-23 (Sat, 23 Nov 2019)
Changed paths:
M modules/presence/hash.c
M modules/presence/hash.h
M modules/presence/subscribe.c
Log Message:
-----------
Proper error handling in handle_subscribe
1) be sure we send back a 500 reply in all error cases
2) detect the cases of subscription session overlapping (see #1722)
This is based on ec1889638a9d43280ba1362f6108a175efd4a854, with the update of the generation of the To-tag before the subscription check/reply
Commit: 6e36b661823c823e42b15bfad0a26a9667be94cd
https://github.com/OpenSIPS/opensips/commit/6e36b661823c823e42b15bfad0a26a9667be94cd
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-11-23 (Sat, 23 Nov 2019)
Changed paths:
M modules/rls/subscribe.c
Log Message:
-----------
Proper handling of subscription session overlapping
1) be sure we send back a 500 reply in all error cases
2) detect the cases of subscription session overlapping (see #1722)
Similar to 4918544248c495b1099a54326f97a82df97bbe76
Compare: https://github.com/OpenSIPS/opensips/compare/2af8412e7d3f...6e36b661823c
More information about the Devel
mailing list