Skip to content

Commit

Permalink
rtpengine: pass the media-address as we get it
Browse files Browse the repository at this point in the history
Thanks go to @wangduanduan for reporting it in #2692

(cherry picked from commit 7411e62)
  • Loading branch information
razvancrainea committed Nov 25, 2021
1 parent 97233f4 commit d0db03b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/rtpengine/rtpengine.c
Expand Up @@ -1790,11 +1790,7 @@ static int parse_flags(struct ng_flags_parse *ng_flags, struct sip_msg *msg,
break;
continue;
case 13:
if (str_eq(&key, "media-address")) {
err = "missing value";
if (!val.s)
goto error;
} else if (str_eq(&key, "received-from")) {
if (str_eq(&key, "received-from")) {
if (val.s)
ng_flags->received_from = val;
} else
Expand Down

0 comments on commit d0db03b

Please sign in to comment.