[OpenSIPS-Devel] [OpenSIPS/opensips] 7ed1ad: Fix handling extra B2B events in callbacks.

Bogdan-Andrei Iancu bogdan at opensips.org
Sun Feb 5 08:20:31 EST 2017


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7ed1ade1cd051316e907fd2daac5bad10e49ce77
      https://github.com/OpenSIPS/opensips/commit/7ed1ade1cd051316e907fd2daac5bad10e49ce77
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-02-05 (Sun, 05 Feb 2017)

  Changed paths:
    M modules/call_center/call_center.c

  Log Message:
  -----------
  Fix handling extra B2B events in callbacks.

We need to filter out some new B2B events which are not relevant for the CC scenario.
Fix for #984.
Reported by John Steel ( @J0hnSteel ).

(cherry picked from commit 36b490858f9ae84a01ae4389915e3ae47b5b9119)


  Commit: 0e42067becf2dc703d2a54f64923c1481c1230d5
      https://github.com/OpenSIPS/opensips/commit/0e42067becf2dc703d2a54f64923c1481c1230d5
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-02-05 (Sun, 05 Feb 2017)

  Changed paths:
    M modules/call_center/call_center.c

  Log Message:
  -----------
  Fix missing lock release - related to 36b4908.

(cherry picked from commit 5739b15c442d86f305571b963aa53c9292d33cf8)


  Commit: d6baaa08541b157e9d05c55b52d3d7376f51228b
      https://github.com/OpenSIPS/opensips/commit/d6baaa08541b157e9d05c55b52d3d7376f51228b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-02-05 (Sun, 05 Feb 2017)

  Changed paths:
    M modules/call_center/call_center.c

  Log Message:
  -----------
  Fixed entity index in the b2b callbacks.

After some rework of the B2B API, the entities are counted starting from 0, while before they were form 1 - this was affecting the call center logic by mixing the caller versus callee parties of the call.

Reported by Jonathan Hunter - many thanks also for testing !!

(cherry picked from commit 1e21f91c45debc75ee46fcfa893ce21379667589)


Compare: https://github.com/OpenSIPS/opensips/compare/d7b36dfb95b9...d6baaa08541b


More information about the Devel mailing list