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

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


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f08f97bb68e7d36f6e8d6bc4d18126f6fb02bb66
      https://github.com/OpenSIPS/opensips/commit/f08f97bb68e7d36f6e8d6bc4d18126f6fb02bb66
  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: dd35aaa7ab515e2376073e9523c02e5fc334b796
      https://github.com/OpenSIPS/opensips/commit/dd35aaa7ab515e2376073e9523c02e5fc334b796
  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: a27c6b111fba27d20cc8d2fbc32f7540dd1e25c6
      https://github.com/OpenSIPS/opensips/commit/a27c6b111fba27d20cc8d2fbc32f7540dd1e25c6
  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/7674e54b810b...a27c6b111fba


More information about the Devel mailing list