Change in osmo-mgw[master]: mgcp_send: Use mgcp_conn_rtp_is_iuup() helper
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/29813 ) Change subject: mgcp_send: Use mgcp_conn_rtp_is_iuup() helper ...................................................................... mgcp_send: Use mgcp_conn_rtp_is_iuup() helper Change-Id: I6988337f395168b88959876fe3827d8e67b8fc00 --- M src/libosmo-mgcp/mgcp_network.c 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/src/libosmo-mgcp/mgcp_network.c b/src/libosmo-mgcp/mgcp_network.c index 7261b9a..bb8cfa3 100644 --- a/src/libosmo-mgcp/mgcp_network.c +++ b/src/libosmo-mgcp/mgcp_network.c @@ -1168,7 +1168,7 @@ * course unable to patch the payload type. A situation like this * should not occur if transcoding is consequently avoided. Until * we have transcoding support in osmo-mgw we can not resolve this. */ - if (is_rtp && conn_dst->type != MGCP_RTP_IUUP) { + if (is_rtp && !mgcp_conn_rtp_is_iuup(conn_dst)) { rc = mgcp_patch_pt(conn_src, conn_dst, msg); if (rc < 0) { LOGPENDP(endp, DRTP, LOGL_DEBUG, -- To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/29813 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Change-Id: I6988337f395168b88959876fe3827d8e67b8fc00 Gerrit-Change-Number: 29813 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-MessageType: merged
participants (1)
-
laforge