commit | b4b135efbf17f81a3faccb488ca35a5086adc618 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Apr 07 09:37:17 2010 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Apr 07 22:51:59 2010 +0200 |
tree | eed0e306eba0aaf23e26fe5ebfdbd381b14f6e8e | |
parent | b4c7b274a1365e896affc1e1cb9a5075e3100e2a [diff] [blame] |
[mgcp] Count incoming RTP packets from the BTS and remote
diff --git a/openbsc/src/mgcp/mgcp_network.c b/openbsc/src/mgcp/mgcp_network.c index 9e18937..a5a2481 100644 --- a/openbsc/src/mgcp/mgcp_network.c +++ b/openbsc/src/mgcp/mgcp_network.c
@@ -162,6 +162,12 @@ } } + /* do this before the loop handling */ + if (dest == DEST_NETWORK) + ++endp->in_bts; + else + ++endp->in_remote; + /* dispatch */ if (cfg->audio_loop) dest = !dest;