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

Bogdan Andrei IANCU noreply at github.com
Wed Jan 13 12:45:05 EST 2021


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f2b46975ede352a9ab5ee88fd10351f610e4f331
      https://github.com/OpenSIPS/opensips/commit/f2b46975ede352a9ab5ee88fd10351f610e4f331
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-01-13 (Wed, 13 Jan 2021)

  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)

Backported from public master 84d1bad2c41b4b58170c0943edd837b08d15012f


  Commit: 3f75fff01eb6a68620e425276cc71f8f6bb01503
      https://github.com/OpenSIPS/opensips/commit/3f75fff01eb6a68620e425276cc71f8f6bb01503
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-01-13 (Wed, 13 Jan 2021)

  Changed paths:
    M modules/event_route/route_send.c

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

backported from public trunk 63107bddb88389b17ead2e460adc65390c1016e4


  Commit: 5c8c5ab379630eb35a66c59b0396fecbf47409fd
      https://github.com/OpenSIPS/opensips/commit/5c8c5ab379630eb35a66c59b0396fecbf47409fd
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-01-13 (Wed, 13 Jan 2021)

  Changed paths:
    M modules/event_routing/ebr_data.c

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

backport from public trunk be15273558bbd345f99762d8baa070cfb753ad4c


  Commit: 0e2303b75deffd06ab6774ffb43560c483f175eb
      https://github.com/OpenSIPS/opensips/commit/0e2303b75deffd06ab6774ffb43560c483f175eb
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-01-13 (Wed, 13 Jan 2021)

  Changed paths:
    M modules/sipcapture/sipcapture.c

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

backport from public trunk 81618cf75e99ad05119a38d3d221d81b45254830


  Commit: cf064e9e241353673026ce1e9e3f185bacb2fc57
      https://github.com/OpenSIPS/opensips/commit/cf064e9e241353673026ce1e9e3f185bacb2fc57
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-01-13 (Wed, 13 Jan 2021)

  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

backport from public trunk 7d4db24c42b6ddcf2bf4e70d6d082b7cb8e65846


Compare: https://github.com/OpenSIPS/opensips/compare/b7f5028cd71f...cf064e9e2413



More information about the Devel mailing list