pespin has uploaded this change for review.

View Change

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(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/13/29813/1
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 change 29813. To unsubscribe, or for help writing mail filters, visit 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-MessageType: newchange