mgcp/test: Output the packet duration after MGCP parsing
This also adds additional MDCX tests (based on MDCX4) to test the
analysis of different combinations of 'p' and 'ptime' fields.
Sponsored-by: On-Waves ehf
diff --git a/openbsc/tests/mgcp/mgcp_test.ok b/openbsc/tests/mgcp/mgcp_test.ok
index 3beeb59..509958a 100644
--- a/openbsc/tests/mgcp/mgcp_test.ok
+++ b/openbsc/tests/mgcp/mgcp_test.ok
@@ -16,10 +16,29 @@
Testing MDCX1
Testing MDCX2
Testing CRCX
+Packet duration not set
+Requested packetization period not set
Testing MDCX3
+Packet duration not set
+Requested packetization period not set
Testing MDCX4
+Packet duration not set
+Requested packetization period not set
+Testing MDCX4_PT1
+Packet duration not set
+Requested packetization period not set
+Testing MDCX4_PT2
+Packet duration not set
+Requested packetization period not set
+Testing MDCX4_PT3
+Packet duration not set
+Requested packetization period not set
Testing DLCX
+Detected packet duration: 20
+Requested packetization period not set
Testing CRCX_ZYN
+Packet duration not set
+Requested packetization period not set
Testing EMPTY
Testing SHORT1
Testing SHORT2
@@ -28,6 +47,8 @@
Testing RQNT1
Testing RQNT2
Testing DLCX
+Detected packet duration: 20
+Requested packetization period not set
Testing CRCX
Re-transmitting CRCX
Testing RQNT1