[OpenSIPS-Devel] [OpenSIPS/opensips] 84d1ba: Add proper support for	dummy sip msg's
    Bogdan Andrei IANCU 
    noreply at github.com
       
    Fri Dec  4 12:26:24 EST 2020
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 84d1bad2c41b4b58170c0943edd837b08d15012f
      https://github.com/OpenSIPS/opensips/commit/84d1bad2c41b4b58170c0943edd837b08d15012f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-12-04 (Fri, 04 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)
  Commit: 63107bddb88389b17ead2e460adc65390c1016e4
      https://github.com/OpenSIPS/opensips/commit/63107bddb88389b17ead2e460adc65390c1016e4
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-12-04 (Fri, 04 Dec 2020)
  Changed paths:
    M modules/event_route/route_send.c
  Log Message:
  -----------
  [event_route] Migrated to the global DUMMY SIP msg support
  Commit: be15273558bbd345f99762d8baa070cfb753ad4c
      https://github.com/OpenSIPS/opensips/commit/be15273558bbd345f99762d8baa070cfb753ad4c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-12-04 (Fri, 04 Dec 2020)
  Changed paths:
    M modules/event_routing/ebr_data.c
  Log Message:
  -----------
  [event_routing] Migrated to the global DUMMY SIP msg support
  Commit: 81618cf75e99ad05119a38d3d221d81b45254830
      https://github.com/OpenSIPS/opensips/commit/81618cf75e99ad05119a38d3d221d81b45254830
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-12-04 (Fri, 04 Dec 2020)
  Changed paths:
    M modules/sipcapture/sipcapture.c
  Log Message:
  -----------
  [sipcapture] Migrated to the global DUMMY SIP msg support
  Commit: 7d4db24c42b6ddcf2bf4e70d6d082b7cb8e65846
      https://github.com/OpenSIPS/opensips/commit/7d4db24c42b6ddcf2bf4e70d6d082b7cb8e65846
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-12-04 (Fri, 04 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
  Commit: 28c95c1345757797b67d2041a9d864cadaef0e70
      https://github.com/OpenSIPS/opensips/commit/28c95c1345757797b67d2041a9d864cadaef0e70
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-12-04 (Fri, 04 Dec 2020)
  Changed paths:
    M modules/presence_dfks/presence_dfks.c
  Log Message:
  -----------
  [presence_dfks] Migrated to the global DUMMY SIP msg support
Compare: https://github.com/OpenSIPS/opensips/compare/5f965a68b5f4...28c95c134575
    
    
More information about the Devel
mailing list