Skip to content

Commit

Permalink
Merge pull request #3572 from petekelly/3.4
Browse files Browse the repository at this point in the history
Pass the directional flag to rtpengine if required

(cherry picked from commit 96d1e77)
  • Loading branch information
razvancrainea committed Feb 7, 2025
1 parent 5878ec9 commit 5ecef2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/rtpengine/rtpengine.c
Original file line number Diff line number Diff line change
Expand Up @@ -2328,6 +2328,12 @@ static int parse_flags(struct ng_flags_parse *ng_flags, struct sip_msg *msg,
continue;
} else if (str_eq(&key, "directional")) {
ng_flags->directional = 1;
bitem = bencode_str(bencode_item_buffer(ng_flags->flags), &key);
if (!bitem) {
err = "no more memory for list value";
goto error;
}
BCHECK(bencode_list_add(ng_flags->flags, bitem));
continue;
}
break;
Expand Down

0 comments on commit 5ecef2c

Please sign in to comment.