Skip to content

[BUG] error with b2bua clusterer sync of entities #3707

@thomasderooij2

Description

@thomasderooij2

OpenSIPS version you are running
3.4.11, also present on 3.5 and 3.6 and master according to source code

Describe the bug
b2b tuples are not synced, because the entity->no is not 0 or 1. We receive this error:
ERROR:b2b_logic:receive_entity_create: Bad entity bridge no [21349] for tuple [549.0]

To Reproduce

  1. Set up b2b entities and logic
  2. Add clusterer module
  3. Do a call

Expected behavior
No error, syncing of the tuple

Relevant System Logs
N/A

OS/environment information
N/A

Additional context
The out_sdp is added twice in the binary format:
https://github.com/OpenSIPS/opensips/blob/3.5.6/modules/b2b_logic/entity_storage.c#L148
However, when reading the incoming packet it is only expected once:
https://github.com/OpenSIPS/opensips/blob/3.5.6/modules/b2b_logic/entity_storage.c#L345

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions