From: Pablo Neira Ayuso pablo@soleta.eu
Add RTP packets to circuit with dummy padding enabled to test automatic deactivation once when start seeing real voice traffic. --- tests/osmux/osmux_test.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/tests/osmux/osmux_test.c b/tests/osmux/osmux_test.c index 51f026c..09ef9fd 100644 --- a/tests/osmux/osmux_test.c +++ b/tests/osmux/osmux_test.c @@ -193,6 +193,10 @@ int main(void)
/* Start pushing voice data to circuits 0 and 1 */ osmux_test_loop(0); + /* ... now start pushing voice data to circuits 2 and 3. This circuits + * comes with dummy padding enabled. + */ + osmux_test_loop(2);
for (i = 0; i < 4; i++) osmux_xfrm_input_close_circuit(&h_input, i);