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

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


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1a2f1e052d796e933d25df79a9d6b1be3622186f
      https://github.com/OpenSIPS/opensips/commit/1a2f1e052d796e933d25df79a9d6b1be3622186f
  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: 71c7b8c354521765c0504768c9d6c47256e204de
      https://github.com/OpenSIPS/opensips/commit/71c7b8c354521765c0504768c9d6c47256e204de
  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: 3eb51556522089d101fdb419e3f91d61e15ac648
      https://github.com/OpenSIPS/opensips/commit/3eb51556522089d101fdb419e3f91d61e15ac648
  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/1fd312f1fb38...3eb515565220


More information about the Devel mailing list