[OpenSIPS-Devel] [OpenSIPS/opensips] 666e81: Refactor signaling, sl & tm APIs to add gen_totag()

Bogdan Andrei IANCU noreply at github.com
Fri Jan 10 05:20:51 EST 2020


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 666e811eb42d367d823e252f329d89eb58fab822
      https://github.com/OpenSIPS/opensips/commit/666e811eb42d367d823e252f329d89eb58fab822
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  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: b4facfbec60783ac313c3c099451f4a850f315b4
      https://github.com/OpenSIPS/opensips/commit/b4facfbec60783ac313c3c099451f4a850f315b4
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  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

(cherry picked from commit 4918544248c495b1099a54326f97a82df97bbe76)


  Commit: 8f3e58938568d18a375e1eacba608795f7df59dd
      https://github.com/OpenSIPS/opensips/commit/8f3e58938568d18a375e1eacba608795f7df59dd
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  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

(cherry picked from commit 6e36b661823c823e42b15bfad0a26a9667be94cd)


Compare: https://github.com/OpenSIPS/opensips/compare/a9d07b55fd04...8f3e58938568



More information about the Devel mailing list