[OpenSIPS-Devel] [OpenSIPS/opensips] ece775: Add proper support for dummy sip msg's

Bogdan Andrei IANCU noreply at github.com
Fri Dec 11 11:50:54 EST 2020


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ece775ae97001604931ed96de3873a0436a7fc94
      https://github.com/OpenSIPS/opensips/commit/ece775ae97001604931ed96de3873a0436a7fc94
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-12-11 (Fri, 11 Dec 2020)

  Changed paths:
    M action.c
    M action.h

  Log Message:
  -----------
  Add proper support for dummy sip msg's

The dummy sip messages are used when there is the need of running a script route, but without actually having a real SIP msg, like for event_routes, startup routes, timer routes, etc.
This new support is solving two problems:
* the dummy message is actually a proper/complete SIP message, with all the mandatory sip headers. This prevents crashing when "reading" something (that is expected to be there, like the callid) from this SIP message.
* this is a global support, meant to be used from all the places, replacing the local implementation (from like 4 different modules/places)

(cherry picked from commit 84d1bad2c41b4b58170c0943edd837b08d15012f)


  Commit: 2a396d15427136839d4533a8c13d1f31fa56bbf9
      https://github.com/OpenSIPS/opensips/commit/2a396d15427136839d4533a8c13d1f31fa56bbf9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-12-11 (Fri, 11 Dec 2020)

  Changed paths:
    M modules/event_route/route_send.c

  Log Message:
  -----------
  [event_route] Migrated to the global DUMMY SIP msg support

(cherry picked from commit 63107bddb88389b17ead2e460adc65390c1016e4)


  Commit: a5854b407c76b0f87d0c644ead843abfce80ddfc
      https://github.com/OpenSIPS/opensips/commit/a5854b407c76b0f87d0c644ead843abfce80ddfc
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-12-11 (Fri, 11 Dec 2020)

  Changed paths:
    M modules/event_routing/ebr_data.c

  Log Message:
  -----------
  [event_routing] Migrated to the global DUMMY SIP msg support

(cherry picked from commit be15273558bbd345f99762d8baa070cfb753ad4c)


  Commit: 2e9e31b69bf4483f080804b85bc438d0ad592211
      https://github.com/OpenSIPS/opensips/commit/2e9e31b69bf4483f080804b85bc438d0ad592211
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-12-11 (Fri, 11 Dec 2020)

  Changed paths:
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  [sipcapture] Migrated to the global DUMMY SIP msg support

(cherry picked from commit 81618cf75e99ad05119a38d3d221d81b45254830)


  Commit: 9c748b16a5cbd4ad7c93807ad122ede868c1c505
      https://github.com/OpenSIPS/opensips/commit/9c748b16a5cbd4ad7c93807ad122ede868c1c505
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-12-11 (Fri, 11 Dec 2020)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_req_within.c
    M modules/dialog/dlg_req_within.h

  Log Message:
  -----------
  [dialog] Migrated to the global DUMMY SIP msg support

(cherry picked from commit 7d4db24c42b6ddcf2bf4e70d6d082b7cb8e65846)


  Commit: 8df69e94d8f5b12f730d3f0964e613435c4fbd4d
      https://github.com/OpenSIPS/opensips/commit/8df69e94d8f5b12f730d3f0964e613435c4fbd4d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-12-11 (Fri, 11 Dec 2020)

  Changed paths:
    M modules/presence_dfks/presence_dfks.c

  Log Message:
  -----------
  [presence_dfks] Migrated to the global DUMMY SIP msg support

(cherry picked from commit 28c95c1345757797b67d2041a9d864cadaef0e70)


Compare: https://github.com/OpenSIPS/opensips/compare/2212865f19d1...8df69e94d8f5



More information about the Devel mailing list