aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mgcp.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-09-14 17:18:12 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-06-17 09:40:19 +0200
commit2fc26faebb5724bf503eb4a7fe0c8eff80fcd829 (patch)
tree192cbe7079fc88d9ed405ff5b1a3d9749bc62fad /openbsc/include/openbsc/mgcp.h
parent0adefd304ec03ce689fba1531e4d7701f522909b (diff)
mgcp: Include statistics at the end of a connection
Follow the MGCP specification and send the collected statistics at the end of a call. Right now this does not include jitter, packet loss and delay. Conflicts: openbsc/src/libmgcp/mgcp_protocol.c openbsc/tests/mgcp/mgcp_test.c openbsc/tests/mgcp/mgcp_test.ok
Diffstat (limited to 'openbsc/include/openbsc/mgcp.h')
-rw-r--r--openbsc/include/openbsc/mgcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h
index 1af4d6545..1410f2b04 100644
--- a/openbsc/include/openbsc/mgcp.h
+++ b/openbsc/include/openbsc/mgcp.h
@@ -167,6 +167,7 @@ int mgcp_vty_init(void);
int mgcp_endpoints_allocate(struct mgcp_trunk_config *cfg);
void mgcp_free_endp(struct mgcp_endpoint *endp);
int mgcp_reset_transcoder(struct mgcp_config *cfg);
+void mgcp_format_stats(struct mgcp_endpoint *endp, char *stats, size_t size);
/*
* format helper functions