summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-21 01:33:57 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-23 22:32:03 +0100
commit1688fc337dcdc0163382b5327b114f3f2b39eabb (patch)
tree71cb3faf9c31ba3cd663fbc3c7887b967de454d4
parentb27b963b644790c8c5893b99c146523779a25c80 (diff)
mgcp hack: don't change payload type when passing RTP thruneels/mgcp
-rw-r--r--openbsc/src/libmgcp/mgcp_network.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libmgcp/mgcp_network.c b/openbsc/src/libmgcp/mgcp_network.c
index ca3e82a..5686e59 100644
--- a/openbsc/src/libmgcp/mgcp_network.c
+++ b/openbsc/src/libmgcp/mgcp_network.c
@@ -537,9 +537,11 @@ void mgcp_patch_and_count(struct mgcp_endpoint *endp, struct mgcp_rtp_state *sta
if (payload < 0)
return;
+#if 0
DEBUGP(DMGCP, "Payload hdr payload %u -> endp payload %u\n",
rtp_hdr->payload_type, payload);
rtp_hdr->payload_type = payload;
+#endif
}
/*