Skip to content

Commit

Permalink
b2b_logic: set late SDP negociation flag
Browse files Browse the repository at this point in the history
For the entity that initiates a call, late SDP negociation is used, because
the SDP of the first entity is not known. This patch sets the late_sdp flag
for that entity, to flag the b2b logic to send the ACK with SDP.

This bug was reported on the mailing list by Sebastian Sastre.

(cherry picked from commit 20df836)
  • Loading branch information
razvancrainea committed Dec 9, 2015
1 parent 39ed3dc commit 95f5f79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/b2b_logic/logic.c
Expand Up @@ -2533,6 +2533,7 @@ int process_bridge_action(struct sip_msg* msg, b2bl_entity_id_t* curr_entity,
entity->stats.call_time = get_ticks();
entity->type = B2B_CLIENT;
entity->peer = bridge_entities[1];
entity->late_sdp = 1;
shm_free(bridge_entities[0]);

tuple->bridge_entities[0] = entity;
Expand Down

0 comments on commit 95f5f79

Please sign in to comment.