Skip to content

Commit

Permalink
rtp_relay: fix creating caller's tag in branch route
Browse files Browse the repository at this point in the history
(cherry picked from commit 937e134)
  • Loading branch information
razvancrainea committed Dec 5, 2023
1 parent 4998f7b commit fcb6731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rtp_relay/rtp_relay.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ static struct rtp_relay_leg *pv_get_rtp_relay_leg(struct sip_msg *msg,
if (!peer) {
if (!set)
return NULL;
peer = rtp_relay_new_leg(ctx, NULL, RTP_RELAY_ALL_BRANCHES);
peer = rtp_relay_new_leg(ctx, &get_from(msg)->tag_value, RTP_RELAY_ALL_BRANCHES);
if (!peer) {
LM_ERR("cannot create a new leg\n");
return NULL;
Expand Down

0 comments on commit fcb6731

Please sign in to comment.