Holger Hans Peter Freyther
38e02c5125
mgcp: Calculate the packet loss as of Appendix A of RFC 3550
...
Calculate the expected packages and packet loss as of RFC 3550.
The values should be clamped but our packet loss counter is 32
bits and not 24 and we should clamp at other values but I am
waiting for some issues first before dealing with that.
2012-11-12 10:44:58 +01:00
Holger Hans Peter Freyther
0bf15a8187
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.
2012-11-12 10:42:05 +01:00
Holger Hans Peter Freyther
d77023b1c2
mgcp_test: Add wrong messages as input and check what happens
...
Test parsing some invalid messages and see if we start to crash.
2012-03-16 10:21:29 +01:00
Holger Hans Peter Freyther
5563e6c268
mgcp_test: Rename method as it now operates on an array of messages
...
This code was cleaned up, catch up and rename the method.
2012-03-16 10:06:39 +01:00
Harald Welte
27fa7901bb
MGCP: Add CRCX test cases
...
The second test case (CRCX_ZYN) fails as the message is not compliant
with the spec. However, our parer should be more tolerant, just in
case...
2012-01-27 00:37:23 +01:00
Harald Welte
f74da14c01
further generalize mgcp testing code
...
use a data-structure driven approach
2012-01-27 00:36:56 +01:00
Harald Welte
8819d8289d
mgcp_test: remove duplicate code
2012-01-27 00:00:44 +01:00
Holger Hans Peter Freyther
d5b3ca621b
mgcp: Print message when the test is finished
2012-01-06 17:23:19 +01:00
Holger Hans Peter Freyther
67cd75f9fa
misc: Use the osmo_init code for signals and logging
...
Use the libosmocore code to ignore certain signals by
default (e.g. SIGHUP, SIGPIPE) and use the new code to
create a default stderr logging target and initialize
it properly.
2011-05-12 16:11:14 +02:00
Pablo Neira Ayuso
136f453dd2
src: use new library libosmogsm and new path to headers in libosmocore
...
libosmogsm is a new library that is distributed in the libosmocore.
Now, openbsc depends on it. This patch gets openbsc with this
change.
This patch also rewrites all include path to the new
osmocom/[gsm|core]
Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-03-23 18:17:56 +01:00
Holger Hans Peter Freyther
1f0c5b4742
mgcp: Allocate the endpoints for the E1 trunks as well.
2011-02-28 19:40:53 +01:00
Holger Hans Peter Freyther
88ad7723b4
mgcp: Introduce a mgcp_trunk_config enum for endpoint configs
...
We want to support real trunks in the MGCP code and we need to
have some better book keeping for those. Move the code around.
2011-02-28 19:40:53 +01:00
Holger Hans Peter Freyther
f43f2fce82
mgcp: We want to count trunks starting from one.
2011-01-07 11:34:50 +01:00
Holger Hans Peter Freyther
9f239a2a0f
mgcp: Parse a Digital Trunk endpoint name.
2011-01-06 19:35:10 +01:00