[OpenSIPS-Devel] [OpenSIPS/opensips] 283b52: presence_callinfo: Add support for inbound SCA cal...

Liviu Chircu noreply at github.com
Tue Apr 21 10:07:10 UTC 2026


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 283b529ca71d4786473c5ca7ae7d3eeb2595b83f
      https://github.com/OpenSIPS/opensips/commit/283b529ca71d4786473c5ca7ae7d3eeb2595b83f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M modules/presence_callinfo/add_events.c
    M modules/presence_callinfo/presence_callinfo.c
    M modules/presence_callinfo/presence_callinfo.h
    M modules/presence_callinfo/sca_dialog.c
    M modules/presence_callinfo/sca_dialog.h
    M modules/presence_callinfo/sca_hash.c
    M modules/presence_callinfo/sca_hash.h

  Log Message:
  -----------
  presence_callinfo: Add support for inbound SCA call flows

The existing support only focused on outbound SCA, with line seizing,
strict checks, etc.  But when a SCA line is dialed, per-branch control
is needed in order to read the Call-Info indexes from the 180/200
replies, or to avoid publishing "call-info" notifications on subsequent
branches (e.g. resulted from serial forking).

https://pubhub.devnetcloud.com/media/broadsoft-docs/docs/pdf/BW-SharedCallAppearanceInterfaceSpec-R230.pdf

PAGE 55 OF 110

(cherry picked from commit 42fc12eee191cfc61a355fa231ab4d5cf2447e90)


  Commit: 3595af488d1449a7c17283a59ab189c7b24e849f
      https://github.com/OpenSIPS/opensips/commit/3595af488d1449a7c17283a59ab189c7b24e849f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M modules/presence_callinfo/add_events.c
    M modules/presence_callinfo/presence_callinfo.c
    M modules/presence_callinfo/sca_dialog.c

  Log Message:
  -----------
  presence_callinfo: Several fixes/improvements

(cherry picked from commit 9eb8aa218452c484b0f63f9f0dcd5ea10afa8930)


  Commit: 18f9cab8f5c2174a0e7f5bb2a3dc6ad65e0d0669
      https://github.com/OpenSIPS/opensips/commit/18f9cab8f5c2174a0e7f5bb2a3dc6ad65e0d0669
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M modules/presence_callinfo/presence_callinfo.c

  Log Message:
  -----------
  presence_callinfo: Add new SCA checking function

The sca_engage() already contained these caller-side checks, but it's
better to only have the checks as a separate function, leading to safer
cfg scripts.

(cherry picked from commit 697dd94ef886de7dd0c007c53c5ad8a4fb701e4d)


  Commit: abc6191dd9547141b696e5a810554c07c1afde82
      https://github.com/OpenSIPS/opensips/commit/abc6191dd9547141b696e5a810554c07c1afde82
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M modules/presence_callinfo/sca_dialog.c

  Log Message:
  -----------
  presence_callinfo: Fix crash edge-case on dlgcb

(cherry picked from commit 994520b7f72bcff77b90419ebc83380fe6c953f7)


  Commit: ea3c1f47cdda282a89edb4112683c7031256baec
      https://github.com/OpenSIPS/opensips/commit/ea3c1f47cdda282a89edb4112683c7031256baec
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M modules/presence_callinfo/presence_callinfo.h
    M modules/presence_callinfo/sca_dialog.c
    M modules/presence_callinfo/sca_hash.c
    A modules/sipmsgops/sdp_ops.h
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  SCA: Add "held" advertising

(cherry picked from commit cc69644be1fa4fba6451ef6c34533628a9ee0169)


  Commit: 97cbd24ce978936a3fcf2015823ebb2c866a8bc1
      https://github.com/OpenSIPS/opensips/commit/97cbd24ce978936a3fcf2015823ebb2c866a8bc1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M modules/presence_callinfo/presence_callinfo.c
    M modules/presence_callinfo/sca_dialog.c

  Log Message:
  -----------
  SCA: Fix issues with parsing Call-Info in SHM msg

(cherry picked from commit e44b9268c7cdcd31aa2515849f476c6ffa4e4c41)


  Commit: 620b7223bf654facf7d8c248c1eb53fd9ebc380b
      https://github.com/OpenSIPS/opensips/commit/620b7223bf654facf7d8c248c1eb53fd9ebc380b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M modules/presence_callinfo/presence_callinfo.c
    M modules/presence_callinfo/sca_dialog.c

  Log Message:
  -----------
  presence_callinfo: Fix possible crash on shutdown

... in case "tm" happened to destroy after us and still run its
callback.  Also locked the module ordering, to avoid future issues.

(cherry picked from commit fe4b252d64353da8642024dc43af7c87933fbb0d)


  Commit: b0e3ee9f0fa954168a1b5bdd4c3b85ad70160c1f
      https://github.com/OpenSIPS/opensips/commit/b0e3ee9f0fa954168a1b5bdd4c3b85ad70160c1f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M modules/presence_callinfo/add_events.c
    M modules/presence_callinfo/presence_callinfo.c
    M modules/presence_callinfo/presence_callinfo.h
    M modules/presence_callinfo/sca_dialog.c
    M modules/presence_callinfo/sca_dialog.h
    M modules/presence_callinfo/sca_hash.c
    M modules/presence_callinfo/sca_hash.h
    A modules/sipmsgops/sdp_ops.h
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  Merge branch 'feature/bw-sca-inbound'


Compare: https://github.com/OpenSIPS/opensips/compare/d771e81df011...b0e3ee9f0fa9

To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list