summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-21 01:33:57 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-16 15:32:34 +0100
commit1804823c92dcb34b100a89e95b7cc17476fb46d0 (patch)
tree4224ae9ae1ae165144a2b425911a71096ea8029e
parent028387be8f2459370f6e7d40d2d478cdbfa748a5 (diff)
mgcp hack: don't change payload type when passing RTP thru
-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 ca3e82a30..5686e5944 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
}
/*