summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-21 01:32:10 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-01-23 14:42:10 +0100
commit88b582c8241b50cab33317b106fff26dc0a9c98e (patch)
treec5960167ad5b4fdc3c23918941b2d524f2f4afd6
parent7846d98a402e6ee417891be33cd3fc02045ce8c0 (diff)
mgcp: log payload type change
-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 5d6de01ec..aca33a75d 100644
--- a/openbsc/src/libmgcp/mgcp_network.c
+++ b/openbsc/src/libmgcp/mgcp_network.c
@@ -537,6 +537,8 @@ void mgcp_patch_and_count(struct mgcp_endpoint *endp, struct mgcp_rtp_state *sta
if (payload < 0)
return;
+ DEBUGP(DMGCP, "Payload hdr payload %u -> endp payload %u\n",
+ rtp_hdr->payload_type, payload);
rtp_hdr->payload_type = payload;
}