aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-03-15 12:53:13 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2023-03-15 13:01:04 +0100
commitc0f9474045589e41a7929f2408e9d4865b39fd8e (patch)
tree6386835f915bf8bd589292ea04bd6a49103e29e8
parenta202cf43c7a8a58847f9d6c147ee98460f0a200a (diff)
rtp_stream: Fix remote_osmux_cid_sent_to_mgw never set to truepespin/test
-rw-r--r--src/libmsc/rtp_stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmsc/rtp_stream.c b/src/libmsc/rtp_stream.c
index f977cdd76..b7e7381f3 100644
--- a/src/libmsc/rtp_stream.c
+++ b/src/libmsc/rtp_stream.c
@@ -324,6 +324,8 @@ static int rtp_stream_do_mgcp_verb(struct rtp_stream *rtps, enum mgcp_verb verb,
verb_info.port = rtps->remote.port;
rtps->remote_sent_to_mgw = true;
}
+ if (rtps->use_osmux && rtps->remote_osmux_cid >= 0)
+ rtps->remote_osmux_cid_sent_to_mgw = true;
rtp_stream_update_id(rtps);
osmo_mgcpc_ep_ci_request(rtps->ci, verb, &verb_info, rtps->fi, ok_event, fail_event, NULL);