[OpenSIPS-Devel] [OpenSIPS/opensips] 7f62a5: b2b_entities: allow enforcing the Max-Forwards value

Vlad Pătrașcu noreply at github.com
Thu Jun 23 17:55:16 UTC 2022


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7f62a5c3695f8c7b94f774d14095658f5cf6bf1c
      https://github.com/OpenSIPS/opensips/commit/7f62a5c3695f8c7b94f774d14095658f5cf6bf1c
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M modules/b2b_entities/b2be_load.h
    M modules/b2b_entities/client.c
    M modules/b2b_entities/client.h
    M modules/b2b_entities/dlg.c
    M modules/b2b_entities/dlg.h
    M modules/b2b_entities/server.c
    M modules/b2b_entities/server.h

  Log Message:
  -----------
  b2b_entities: allow enforcing the Max-Forwards value

Related to #2471

(cherry picked from commit 404f580026f2bb67cdacf56e1384213643a0505e)


  Commit: 52a2adbe2cca6ae0a7ab17204197d3ce46257609
      https://github.com/OpenSIPS/opensips/commit/52a2adbe2cca6ae0a7ab17204197d3ce46257609
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M modules/b2b_logic/b2b_logic.c
    M modules/b2b_logic/b2b_logic.h
    M modules/b2b_logic/doc/b2b_logic_admin.xml
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: properly decrease value and pass Max-Forwrads header

This applies to requests that are effectively "passed" from one entity to its
peer such as initial INVITEs handled with b2b_init_request() or requests
handled with b2b_pass_request().

Fixes #2471

(cherry picked from commit fa84d8d0e6cf719c0d2c7bd215fa74e5e33e1a2f)


Compare: https://github.com/OpenSIPS/opensips/compare/cdd3315b173d...52a2adbe2cca



More information about the Devel mailing list