Victor Seva
23d0dad18f
TT#124273 fix typos detected by lintian
...
Change-Id: I5b0636ba18dc0e2a1fc888e94cf44cbd20a103ea
4 years ago
Richard Fuchs
2c0e196be9
TT#107565 fix SDP ordering issue of s= vs o=
...
Change-Id: Id6ad795bf9304e66012958060104af00a4bc1c6b
4 years ago
Richard Fuchs
4c1b4adb69
TT#14008 add test scripts for RTP stats
...
Change-Id: If3464486d6455cac4aa40ee72c80301755a15f04
4 years ago
Richard Fuchs
10d9be003d
TT#14008 tests for #1366
...
Change-Id: Ie0ba3a2c0550abd04c3f051dacc50d274f8f3939
4 years ago
Richard Fuchs
77317a1723
TT#14008 add test for multi-intf handling
...
Change-Id: I9c1392ca521640d8e39eb6f67d146e70d44ee7d0
4 years ago
Richard Fuchs
39616a9629
TT#14008 change test deps around
...
so that they can be executed individually
Change-Id: I83e71001fc5b9362565391d939779bad968a365d
4 years ago
Richard Fuchs
0fa3a105af
TT#131402 add stats for user/kernel streams
...
Change-Id: I78800a3bbef9fdd92369c2ed14efd39c7799178f
4 years ago
Richard Fuchs
c5dc3484ae
TT#131402 split up relay stats between kernel and userspace
...
Change-Id: I9e5a82e5817829d8a1b17e6828bb0594fbc8df08
4 years ago
Richard Fuchs
06006df6fb
TT#101150 obsolete 'totalstats'
...
Change-Id: I744222b313f50fcf08d421309c329256f78869aa
4 years ago
Richard Fuchs
b0ebe9ba1b
TT#101150 move start timestamp to global var
...
Change-Id: I03efdbf02b5fbf16616d26010cb79b0932cd4e00
4 years ago
Richard Fuchs
2ae5cc79ba
TT#101150 obsolete more fields from struct totalstats
...
total_managed_sess, total_average_call_dur, total_average_lock,
managed_sess_max, managed_sess_min, managed_sess_lock
Change-Id: Ibe3f619ec6d2f21270fc81901dde55b5242b0daa
4 years ago
Richard Fuchs
3fa16c6ab1
TT#101150 generalise ng command stats into array/list
...
Change-Id: I43c7074237ae70d9bcb12b4946ce2c751d135bc8
4 years ago
Richard Fuchs
d4102280b2
TT#101150 obsolete struct request_time stats
...
Change-Id: Icf3e0648a0ba821bc66c6dd0e8f5ebc30576fb70
4 years ago
Richard Fuchs
2b60a678e2
TT#101150 use STATS_INC macro for req stats
...
Change-Id: I7d205e4f6b168ac1031737e80a3bb6d7f455dc25
4 years ago
Richard Fuchs
facb4b54db
TT#101150 obsolete redundant fields in struct totalstats
...
Change-Id: I75d8bb1890ce35faac271550a1f9aff0f24ce624
4 years ago
Richard Fuchs
ad64f4fa00
TT#101150 introduce proper struct for "counter" style stats
...
Change-Id: Ifd06c54b25126426fe21723b8fb7a21d9bd03cba
4 years ago
Richard Fuchs
1fac2b08b9
TT#101150 use rtpe_now for timer start time
...
makes testing it easier
Change-Id: I47205dac1aaac752f1fa7a3cdf892f1fd0c45970
4 years ago
Richard Fuchs
30d91ecc63
TT#101150 add test script for stats output
...
Change-Id: I13cc172b082e78c3d52032bd72e0a2f5158c71ed
4 years ago
Richard Fuchs
a4e3f96b3f
TT#14008 always add a=mid to media section
...
closes #1361
Change-Id: I8c3dfb54f47f0cfeb913f27b240eed55e2ca8154
4 years ago
Richard Fuchs
8a60d17574
TT#131651 support reverse re-invite to new to-tag
...
Change-Id: Iaea12033d3a142b4675cc22ed0e3270af654e7de
(cherry picked from commit d11432ec814fa4e504be02f3bdee2cc6cf9fa704)
4 years ago
Richard Fuchs
792b736f10
TT#14008 fix test case for older libwebsockets
...
Change-Id: If8ef0ec2289541d7ebba3fe2c386e02556461bf8
4 years ago
Richard Fuchs
2130e2f62b
TT#89352 support Janus control protocol
...
Change-Id: I0a6d5fc93c5fa505390408043feeca3f5cf61181
5 years ago
Richard Fuchs
f0b1906809
TT#89352 add option to strip a:extmap
...
closes #1271
Change-Id: I17e177b96983798f693f162c45643b5a82258278
5 years ago
Richard Fuchs
4c1d43d7ee
TT#91151 add tests for pubsub
...
Change-Id: Id5bfe175aacf33a5b768ed3837d67517676939a9
5 years ago
Richard Fuchs
413798e43f
TT#132251 implement media silencing
...
Change-Id: I0902bd72e2733b96ff75bcf52856a58c51a750f6
5 years ago
Richard Fuchs
de85d4b674
TT#128050 parse and document `reuse codecs` flag
...
Change-Id: I335ed8f699722c568566076190d1a255a6e57211
5 years ago
Daniel Hauptmann
4481c773ac
TT#128050 Squashed commit of the following:
...
commit b0c722da69ad088a2eddced12b37c0546a514890
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Mon Jul 26 15:35:51 2021 +0200
changed flag bit length
in call_interfaces.h changed bit length of reuse_codec from 0 to 1
commit 0313a747532d5987f25fa9edb202aa460bf98dd1
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Mon Jul 26 15:29:20 2021 +0200
inversed reuse_codec logic
in test-transcode.c and call.c, reuse_codec = 0 (default) will now result in using codec_store_populate instead of codec_store_populate_reuse
commit b876bd686bd30df21a5962aca16fc1c85574f554
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Mon Jul 26 15:18:19 2021 +0200
adding option to minimalize changes in the codec_store_population
added function codec_store_populate_reuse in codec.c which replaces codec_store_populate but makes fewer changes to the GLists with the old and new codecs
added flag to enable this feature (disabled by default)
commit 6fd0b701c9589b2fae00300801e02a9b5cc397ab
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Mon Jul 26 14:44:42 2021 +0200
Added Option to minimize change in the codecs
In codec.c added function to populate codec store with the fewest changes between the old and new GList which contains the codecs.
Added new testroutine in test-transcode.c line 1500
Added flag to call_interfaces.h to optionally enable this feature
Change-Id: If58d9a07d114b05dfb75553a87eb4372ae949fbb
commit 3bf554a8fbae7e948343699f40d935693618b764
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Fri Jul 23 13:58:02 2021 +0200
changing codec-exchange behaviour
in codec.c line 3288 function codec_store_populate now doesnt empty dst and copy new codec from src to it, instead codecs from src will be appended to dst and codec from dst, which are not
being contained by src are being removed
Change-Id: Id6b7ee65595f9cc5c71ef557c7bac5ee38f97cbe
5 years ago
Richard Fuchs
08fee992d1
TT#89352 add support for trickle ICE offer
...
Change-Id: I772e2ee44e5c206cccdd133d426545822e22850d
5 years ago
Richard Fuchs
ae012b1657
TT#14008 further fixes for fake TCP tester
...
Change-Id: I3c8660db85c2b6de65104fb510d8a58883492836
5 years ago
Richard Fuchs
853fed7a83
TT#112700 remove useless duplicate test cases
...
Change-Id: Iff2caf158a10a7a1df57c741dd0d263c3f385dc0
5 years ago
Richard Fuchs
8d5b7dafec
TT#14008 fix fake getpeername on unconnected sockets
...
Somehow this breaks the tests on Ubuntu but not on Debian
closes #1316
Change-Id: Ie8f5bb2f219277dfc2293a17dc8587b86cd9142a
5 years ago
Richard Fuchs
1e4c11e152
TT#14008 disable some tests
...
These tests are timing sensitive which makes them unstable under certain
conditions. Remove them from the automated build system.
closes #1309
Change-Id: I432445bce337bbf4d4b80417e532a910b516b8ee
5 years ago
Richard Fuchs
363f7c937d
TT#89352 add TCP support to preload testing lib
...
Change-Id: Id19450bde26a09494acbeb44206c2aa7ecda03b4
5 years ago
Richard Fuchs
dc3a35a6b4
TT#91151 fix transcoding unit test case
...
Change-Id: I31aac1f9743f90c9f82fa7327ba0b82e579a9695
5 years ago
Richard Fuchs
92fb330a46
TT#91151 implement one-to-many forwarding
...
Change-Id: I80fd35da680d4ad1f4d3d21f14f11363106b9917
5 years ago
Richard Fuchs
1e0765bf6e
TT#91151 tie codec handlers to output media/sink
...
Change-Id: Id577f9afabbe5645a6e220b6450c39a35ff839a9
5 years ago
Richard Fuchs
1d387b98ef
TT#112700 rework codec offer/answer routine
...
Complete overhaul of the codec handling code:
*) obsolete flags `asymmetric codecs`, `symmetric codecs`, `reorder
codecs`
*) support proper codec offer/answer
*) split codec manipulation (strip/offer/accept/etc) into separate
functions for clarity and better code maintenance
*) fully update codec handlers in both directions after an answer
*) explicit allocation and handling of codecs and payload types in a
codec_store object
*) improve codec matchup logic during answer
*) more explicit handling of supplemental codecs (CN/DTMF)
*) remove now obsolete hacks for handling certain use cases
Change-Id: I996705ba8fe339524c2f70e6bb0fd854f9a1f4fb
5 years ago
Richard Fuchs
7aac69dfa8
TT#14008 update tests after f2d7372f5a
...
Change-Id: Iaababe0f23df679799fcb54cdddc075ad8a53e7a
5 years ago
Richard Fuchs
256b9917ec
TT#121752 associate SSRC hash to monologue instead of entire call
...
This solves problems when the same SSRC is looped through the same call
multiple times in different mono/dialogues, with different parameters.
Change-Id: I1d033cb1f012574d82b5bcbfffe11eb5f983cfd8
5 years ago
Richard Fuchs
7cb49bcc79
TT#14008 tests for GH #1289
...
Change-Id: I53fb839e320edabababe4271bc162c9057e55e71
5 years ago
Richard Fuchs
46a3f7a3ac
TT#14008 skip duplicate comparison of basic codec params
...
closes #1276
Change-Id: I82467a0f5ff502e1410bd1ed135b085a10eaca61
5 years ago
Richard Fuchs
369e64f9a7
TT#14008 add mqtt support
...
Change-Id: Ica4a3e4ef58eadf3feca44ea63f2308103b3146f
5 years ago
Richard Fuchs
2e66655925
TT#14008 add tests for CN passthrough
...
Change-Id: Ia0c9f682f1a6f7e6a7d1a568595b6e1f5418dad6
5 years ago
Richard Fuchs
c7431aa846
TT#122401 disable sample filter for CN resampler
...
Change-Id: I42085cc7952d86f2da1efa2d29ea85321b001da4
5 years ago
Richard Fuchs
ddfce1fcdd
TT#111150 add unit test for resampler
...
Change-Id: Ib9b78f1200c0f4f5feae549f840059b9481d10b6
5 years ago
Richard Fuchs
4cbd676b76
TT#122401 add DTX tests
...
Change-Id: I518d226c324123f94668dcec470e22b7a4f95f7e
5 years ago
Richard Fuchs
830abd6717
TT#14008 add tests for media echo
...
Change-Id: Ic676f2a9ed84c245ecbb393de05869480f8edd18
5 years ago
Richard Fuchs
586a8028eb
TT#111150 fix initialisers in test-transcode
...
This eliminates some compiler warnings
Change-Id: Id41742189d1a79e9d9b1bdf89a5269a9b3dcca7c
5 years ago
Guillem Jover
d3390bae32
TT#111150 Enable -Wextra minus some of its warnings producing much noise
...
We should eventually try to reduce the amount of -Wno-* options, but for
now this is a net improvement.
Change-Id: I3bd03679acbc157c0d1b3c257a542e2eec0e5ee9
5 years ago
Richard Fuchs
df5f810651
TT#14008 fix base64 encoding issues with older glib in t/
...
closes #1251
Change-Id: Ic2f03f673160484e439e4e1d1b99122999af6060
5 years ago
Guillem Jover
89d1a77f37
TT#111150 Fix memory leak in test
...
Change-Id: I8461441516cf04f5da811ca5cdfca5a4029d7bf2
Warned-by: gcc ASAN
5 years ago
Richard Fuchs
d5d0a3a994
TT#111150 convert str.len to size_t
...
This makes the type in line with string(3) functions and eliminates some
compiler warnings.
Also update the related bencode data type.
Change-Id: I7ef4024f4b5a0f737b3dbe03bcd078032395bce6
5 years ago
Richard Fuchs
87e5efc7d4
TT#111150 fix mem leaks in test-transcode
...
Change-Id: I3a796184e64b1fc1f760b53fe7d1855997ab8b72
5 years ago
Richard Fuchs
a9fdc219f0
TT#14008 amend kernel test script
...
Change-Id: If2031ad6e5c581775b96fa48d8b2d4a4c331ef19
5 years ago
Richard Fuchs
a86d98f8d1
TT#118902 add support for per-call debugging
...
Change-Id: I9b0eab21ff4e5c241ff045049ccd37f6044d5707
5 years ago
Richard Fuchs
800f098cd1
TT#14008 remove obsolete test scripts and add new kernel tester
...
Change-Id: I2b4921f65deaa4473df92ac28dc4e03c592351e9
5 years ago
Richard Fuchs
ac71e81e54
TT#118350 add SDES=static option
...
Change-Id: Id34d4fe31e58acfae31d8e5d30abec1837c4f808
5 years ago
Richard Fuchs
7dc55e6378
TT#98901 convert from static DTX delay to dynamic buffer queue
...
Change-Id: Ib6bfdfb9d1967263dc8acb48a812d7e75f9c239b
5 years ago
Richard Fuchs
d14eeaea6e
TT#111150 fix typo
...
Change-Id: I5cf4a8b56751e07eb0efed74f580a297741a235a
5 years ago
Guillem Jover
39a2b288ad
TT#111150 Use standard flags for the test preload library
...
Change-Id: I1f58d576aadf15626bcc21ea9510b376f8edb20f
5 years ago
Guillem Jover
09cd962eef
TT#111150 Fix memory leaks in unit tests
...
Change-Id: Id0981af0c01f3a5c6f27435f7f92d3da90bf278e
5 years ago
Guillem Jover
8508177777
TT#111150 Split CFLAGS between required and optional
...
Change-Id: I683aef49534a7bf70958f72661a83003cea21c3b
5 years ago
Richard Fuchs
52d9768418
TT#14008 move build tests to a wrapper script
...
Since dh_auto_test doesn't execute the test suites through make
directly, but instead runs `make -s -n` and then executes the output,
the integrated build tests fail since the sub-make doesn't return an
error as it should when attempting to build with the wrong .h
alternative, resulting in always the first .h alternative being used.
Fix this by using a wrapper script instead.
Also adjust some other related minor build details.
closes #1202
Change-Id: I4b6436295c6b39117bd06df53aa5afc7118ad6a1
5 years ago
Richard Fuchs
5cf4717f89
TT#115400 explicitly disallow ptime in non-RTP SDPs
...
Change-Id: Ib1e324861b6a88e1a2f80e4f37a8afa654923a77
(cherry picked from commit e2bf4abee885ee0d8938b8be02df19ca4b4a28e7)
5 years ago
Richard Fuchs
19f08a8b78
TT#113750 tests for I603bb86c
...
Change-Id: Iff348ce8a5ae3d0038128c4c8d162efa7c16aa42
5 years ago
Damir Nedžibović
f650f95111
TT#14008 Squashed commit of the following:
...
commit b3d2d70d4cfb449fb80af188eee89b6dc343830d
Merge: 1e62cbbb eacd2634
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Mar 4 11:36:26 2021 -0500
Merge branch 'fix_packet_order' of https://github.com/enreached/rtpengine into enreached-fix_packet_order
Change-Id: I30690cf4955c04238c359e4aca2d0fea36ebfd36
commit eacd2634e8
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 16:56:07 2021 +0100
Update docs with --poller-per-thread option.
commit 7d02539673
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 16:47:55 2021 +0100
Prevent mem leak.
commit 3510a5d021
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 13:25:39 2021 +0100
Make poller per thread functionality configurable.
commit a2142b2a5e
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 11:57:18 2021 +0100
Use pthread_self() instead of syscall(SYS_gettid).
commit 2e471cae40
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 11:46:44 2021 +0100
Refactor the code a bit.
commit 91f72455c9
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 11:21:42 2021 +0100
Use usleep() instead.
commit 08d3bdb4ed
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 11:03:39 2021 +0100
Use ssl_random() instead.
commit 2d9995a864
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Tue Mar 2 15:50:13 2021 +0100
Sleep for 20ms instead.
commit eded168a38
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Tue Mar 2 15:11:43 2021 +0100
Implement poller per thread in order to fix packet order.
Change-Id: If652c906be8b16115eb84e749f89a2729ba75120
5 years ago
Guillem Jover
68797f4195
TT#111150 Mark bit-fields explicitly with as unsigned
...
Whether a bit-field is signed or unsigned is implementation specific, so
we should be explicit about this.
Change-Id: I744df3d24bc08e95fa816ba4135f19cd3a5dcb17
Warned-by: lgtm
5 years ago
Richard Fuchs
083ae4c37f
TT#14008 convert rtcp-fb handling to list
...
closes #1196
Change-Id: I08ec4bf783d2a6bc0e83498e61cf964718a03de4
5 years ago
Richard Fuchs
eb1157d386
TT#112250 don't change ports when endpoint is talking ICE
...
Change-Id: I0e60534d6d3cb62d25b8d865da02c3472cf0994e
5 years ago
Guillem Jover
962479bd63
TT#108003 Stop using random()
...
While these usages are not supposed to be security sensitive, it's still
best to avoid the usage altogether so that we do not need to think about
it. Add a taint macro so that this does not regress in the future.
Change-Id: Ic75861ed1b7ce9dfca4f897de8be2408204ce3cb
Warned-by: coverity
5 years ago
Richard Fuchs
ab54b774ed
TT#14008 remove .depend from make system
...
The dependency tracker is causing more problems than what it's worth, so
just remove it.
Change-Id: I5db8cae57400cd644add08447406a4526da03f65
5 years ago
Richard Fuchs
302968fc0e
TT#14008 rename some test suites
...
Rename test suites from *-test.c to test-*.c as the former is
conflicting with the file name pattern of the build tests, which are
listed in .gitignore.
Change-Id: I8779fac492510c0996bdcb2c6250c07536fe3b63
5 years ago
Richard Fuchs
1785f70637
TT#91151 add new replace-zero-address option
...
closes #1185
Change-Id: I8cf6f4ff043649255dafa93b28fcb2127ce4d2bb
5 years ago
Richard Fuchs
772db96c36
TT#91151 fix check for trickle ICE and zero address
...
Avoid using an explicit test for the trickle ICE endpoint address and
instead use the TRICKLE_ICE flag.
Change-Id: I821ced7e77c798004c9d88ec072848b7f6e24a85
5 years ago
Richard Fuchs
a9f58ff39d
TT#91151 add tests for null addresses
...
Change-Id: Ie22fc324dc0342fa7b8aa31656eb6400e1dd91aa
5 years ago
Richard Fuchs
36273e1f5d
TT#107565 add option to track SDP version
...
Change-Id: Ifb3ca589742a4ad0cc83982d6e42bf692a2c98db
5 years ago
Damir Nedžibović
2fc54462de
TT#14008 Squashed commit of the following:
...
closes #1180
commit 023f6cbc9e0b595d1d02116d38d39358fbb9ee49
Merge: ae82034d 86e287d1
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Mon Feb 1 11:16:04 2021 -0500
Merge branch 'control_ng_tcp' of https://github.com/enreached/rtpengine into enreached-control_ng_tcp
Change-Id: I628dcfd30e901dbee97b00bee0b6bba0cb29826f
commit 86e287d117
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 16:38:53 2021 +0100
Update the readme file.
commit 35f5d9e151
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 16:20:09 2021 +0100
Update docs.
commit 336deb4c67
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 14:28:07 2021 +0100
Replace hex values with chars.
commit 37c86a8fa0
Merge: 17a10b96 5cd53ef1
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:51:06 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit 17a10b96ad
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit adfddefae3
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit 5cd53ef1c9
Merge: 1bd3a8fc b28ab075
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:49:50 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit 1bd3a8fc6d
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Jan 29 10:20:02 2021 -0500
TT#14008 fix AEAD kernel API for < 4.2
Untested whether it actually works
closes #1176
Change-Id: If6398632ac62525a673b844cfb4ce842a8aa0346
commit 71a222d7a8
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Jan 29 13:07:25 2021 -0500
TT#14008 improve log output for stray packets
Change-Id: Ic4b03928b279aade761de3ba1646b5c27318e6a3
commit b28ab07532
Merge: 813a4f1c 6e4373af
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:21:31 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit 813a4f1caa
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit 0c87a19c55
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit 6e4373affb
Merge: fbf74bfe 7799f23a
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:19:46 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit fbf74bfe2d
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Jan 27 10:18:14 2021 -0500
TT#14008 fix possible segfault
closes #1172
Change-Id: I94bb52c290c2032073e54528283660f03e694033
commit 1a5bcc0905
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 14:49:43 2021 -0500
TT#109251 fix redis restore segfault
Change-Id: I501a47b065e7b8ff28a3ac157c0ce567f228557f
commit b38b49fd60
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:44:44 2021 -0500
TT#102450 added tests for Ia9fa96cf
Change-Id: Ic9728e12a012335c30c5640ac0b5c88e39ad24ed
commit f33877bfe3
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:43:46 2021 -0500
TT#102450 fix some timestamping issues
Make sure G.722 rate multiplies is applied in the right places
Don't trust encoders to return proper timestamps, but instead track them
explicitly based on frame duration
Change-Id: Ia9fa96cf662da97159fa170c3a3f37516889e1bd
commit 39a25b954d
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 14:07:53 2021 -0500
TT#106101 mem leak fix for 554034eb7e
Change-Id: I9c410211580d8513a203a29f898970a78175d08b
commit 11d11aed90
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:41:28 2021 -0500
TT#14008 clean up some tests
Looks like packet order can be an issue in some cases
Change-Id: Ib8fb8c553c9d0f2919b24dda1e15e5a23832c619
commit 7799f23aa5
Merge: ba7ee9d6 e191e16c
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:18:24 2021 +0100
Merge branch 'master' of https://github.com/sipwise/rtpengine into control_ng_tcp
commit ba7ee9d6b1
Merge: f805d881 ffe187f1
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:15:58 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit f805d881fa
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit c548a3ca4b
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit ffe187f116
Author: Damir Nedžibović <damir.nedzibovic@bad-team.net>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
Change-Id: I2acf208fcff1fa9aa790c31f1097ad9b4b7c3238
5 years ago
Richard Fuchs
88d2765ef6
TT#102450 added tests for Ia9fa96cf
...
Change-Id: Ic9728e12a012335c30c5640ac0b5c88e39ad24ed
5 years ago
Richard Fuchs
8e21b4b595
TT#14008 clean up some tests
...
Looks like packet order can be an issue in some cases
Change-Id: Ib8fb8c553c9d0f2919b24dda1e15e5a23832c619
5 years ago
Richard Fuchs
c5ef68897a
TT#76250 consider default number of channel when matching codecs
...
Eliminates duplicated codecs when `opus/48000/1` is used for example
Change-Id: If434e34fe75883544cf6c2c83723af73878ccb20
5 years ago
Richard Fuchs
9c6d57edc5
TT#14008 allow parallel execute of daemon tests
...
Change-Id: I5155a017924cb6f9d3f379c259fae6de29fa8939
5 years ago
Richard Fuchs
e671a5dcab
TT#108552 prefer sha-256 over sha-1
...
Change-Id: I1c54b6410d492a2dbd7169f000c84ecebf9d817c
5 years ago
Richard Fuchs
f2d7e71b07
TT#108552 update crypto suite preference ordering
...
Change-Id: I7f192fda512d90b0ab05ff4856891eb0f348a157
5 years ago
Richard Fuchs
0898923c38
TT#98901 use correct DTMF codec context
...
Change-Id: Idf66a2528d06830247e71038a9616726afd588c4
5 years ago
Richard Fuchs
60fd172720
TT#98901 update tests for DTX
...
Change-Id: Ia374e1f284e9ccb2fd1b066ef44fb284cb29f134
5 years ago
Richard Fuchs
030f38ff16
TT#97301 add description to log levels
...
Change-Id: I223d69016b5e6328f1124a6a977c46d008b667dc
5 years ago
Richard Fuchs
6602a3a7c5
TT#108551 add kernel support for AEAD-AES-GCM
...
Also amends tests plus additional clean ups
Closes #1133
Change-Id: I0dad7b8aad9cff1b019323c7ac5a356830ab09ad
5 years ago
SPChan
0c4110779d
TT#108551 add support for AEAD-AES-GCM
...
close PR #1133
Squashed commit of:
commit b5009eff0b
Author: SPChan <shihping.chan@gmail.com>
Date: Fri Dec 11 11:40:17 2020 +0800
crypto.c: handle 12 bytes master salt length of AEAD
AEAD RFC7714 specifies 12 bytes master salt length
(section 12) but the KDF expects 14 bytes.
The erratum to RFC7714 specifies to pad on the right
by 16 bits to be compliant with the KDF.
https://www.rfc-editor.org/errata_search.php?rfc=7714
commit 30ba71f10c
Author: SPChan <shihping.chan@gmail.com>
Date: Fri Dec 11 09:31:00 2020 +0800
crypto.c: AEAD make clear which operations are for AAD
commit 3e4d87681d
Author: SPChan <shihping.chan@gmail.com>
Date: Thu Dec 10 19:38:51 2020 +0800
Implement RFC7714 ciphers: AEAD AES
Initial userspace only implementation
Change-Id: I8624b255e4fd83a5ca418655ef117c48e56e2379
5 years ago
Richard Fuchs
0bab726e5d
TT#92250 reset opposite side supp handlers
...
If a supplemental codec was removed by the codec tracker, we must reset
any codec handlers on the opposite side that were using this output
codec.
Change-Id: I7fb9d0ec7a061682fe3b28d9ead14ac263aff7c3
5 years ago
Richard Fuchs
6bf5e3af54
TT#92250 add tests for reorder-codec
...
Change-Id: I87e6a2068af2350db4d175bbb0b5dbacf1543fee
5 years ago
Richard Fuchs
99ba631fd0
TT#92250 update tests for recent changes
...
Change-Id: I9f6315140bb34000ec4b3adccb0251516ec15532
5 years ago
Richard Fuchs
341f2e04dc
TT#92250 also create codec handlers for synthesised supp PTs
...
Change-Id: Icebd5a5d8f1ab159f7343b8036e36322b1211e8a
5 years ago
Richard Fuchs
30733ec5cd
TT#97301 support granular log levels
...
Change-Id: Ife458bd2449f61113a3e6db1708821570d92dc23
5 years ago
Richard Fuchs
46176f2937
TT#101653 defuse codec tracker so it doesn't remove too many
...
closes #1136
Change-Id: I692cd15daf57bb95c5592099713bdc46338d4321
5 years ago
Richard Fuchs
7f8ae1fd06
TT#94201 add tests for GH #1147
...
Change-Id: I00bb1914613fbe39742ede4ba2800c1a341ba5d6
5 years ago
Richard Fuchs
f861ff7f1e
TT#101653 limit maximum delay in input processing after lost packet
...
Change-Id: Ie55e6e8a23836c97ae0a20f6604b0a80e238a2d8
5 years ago
Richard Fuchs
c6208914a3
TT#101653 check receiver side for supplemental transcoding
...
If the receiver is transcoding any supplemental codecs, we must also
transcode all other codecs.
Change-Id: Ia169b2cd78762fbca175a83c2425b1f3caf7ad86
5 years ago
Richard Fuchs
6e519047df
TT#101653 add tests for codec-consume/accept
...
Change-Id: I054584d338645ebe59ed0803aa3262f81c2e7401
5 years ago
Richard Fuchs
71d02ff486
TT#101653 retire always-transcode flag
...
Change-Id: I845c4b2f811c2945c9015cdf4570036f3a26b81f
5 years ago
Richard Fuchs
336cb5b280
TT#101653 add codec-consume and codec-accept options
...
Change-Id: Icac343b34881628118f2c36181be66db1c6286e0
5 years ago
Richard Fuchs
73e4ef42eb
TT#101653 add silence detection option
...
Change-Id: I14940fcabdef475ed5dbe74d9af7ebc2af10311b
5 years ago
Richard Fuchs
3cc93571b8
TT#101653 add extra codec negotiation tests
...
Change-Id: I4d7b5ad712a6216bf47e577dee58a59c54b37c17
5 years ago
Richard Fuchs
c5667e3bf7
TT#100200 add CN decoder
...
Change-Id: Ic4ff122745569e3892f1a95fedb36ce9d2495349
5 years ago
Richard Fuchs
54e68942be
TT#104500 better support a=rtcp-fb
...
Link the attribute value to each RTP payload type and only output it if
PT is still present
Also merge PT attribute printing into a single loop
closes #1128
Change-Id: I494498ca806b795045e9e5bbb82174fa4aef8b2b
5 years ago
Richard Fuchs
a642a1e694
TT#98901 avoid PT collisions with asymmetric codec setup
...
Change-Id: Icce014312cef57e9df6dbe4165a67bef617b84c7
5 years ago
Richard Fuchs
16fd8aad15
TT#101653 alter re-invite codec negotiation logic
...
Change-Id: Ic5f68258b6f1f10af1df42ff8b06d82488595c35
5 years ago
Richard Fuchs
8097f9632f
TT#100200 add tests for 9ea1303c6
...
Change-Id: Ia7a97389412c0047a55ef86a0316c64486f283b1
5 years ago
Richard Fuchs
de7807f0f1
TT#101653 update transcode-test with new codec flags
...
Change-Id: I359820746b5ca5f82638a81089ed30b16e402ad4
5 years ago
Richard Fuchs
7a42c0c48c
TT#100251 distinguish between real transcoding and DTMF-related t/c
...
Change-Id: I4643baeb87a7b71e8fc9d23c433fa958c9c11a71
5 years ago
Richard Fuchs
bae79d3fef
TT#98901 handle AMR SID DTX
...
Change-Id: I418c43e0cef2a70143010235988523f195a3bf5a
5 years ago
Richard Fuchs
ee74914b22
TT#92250 ignore format parameters for DTMF codec
...
closes #1098
Change-Id: I180667a7c5fa9da8a95d99826cb3fc4006598976
5 years ago
Richard Fuchs
6ccfd14530
TT#94201 change default ICE= behaviour, add new =optional flag
...
Change-Id: Ie510bc05879c91eb1a0c7d7351461a63056ba410
5 years ago
Richard Fuchs
a89696c4be
TT#94201 add tests for 95b81455
...
Change-Id: I75e2da6bf210f0aa818082f39ef59dc7e1d5cefc
5 years ago
Richard Fuchs
74fd959ccc
TT#92250 use matching output codec with inject-DTMF
...
Change-Id: I220947872303c534368363e8f980b94bd7d406a5
5 years ago
Richard Fuchs
2502b44ff8
TT#92250 keep supp codecs last when transcoding in reverse
...
Change-Id: I20d9b6e54c38ab92dcbe4e706ed04bca7145c373
5 years ago
Richard Fuchs
e1dda97028
TT#14008 fix some warnings from musl
...
Change-Id: I99fe1185cf814232b44c078b62199e850850cb0d
5 years ago
Richard Fuchs
32cfb61e0b
TT#92250 add tests for 68ccc5
...
Change-Id: I25e31a2fa5ae29614828c4953bb97db42062a50e
5 years ago
Richard Fuchs
68ccc52b2b
TT#92250 postpone codec_tracker to final stage
...
Change-Id: I222f705e53fc95f56da40cf927197afcb2ee5107
5 years ago
Richard Fuchs
3654309b95
TT#97302 tests for 5ad4a5
...
Change-Id: If5c8bf6f74c3169a252440ccc9eb8639843fef69
5 years ago
Richard Fuchs
dc4775d5ce
TT#97302 respond with the same DTLS hash func as was offered
...
Change-Id: Id72df1083b5d329fa33875853981ec471440a6c1
5 years ago
Richard Fuchs
9553af11df
TT#92250 add tests for single-codec flag
...
Change-Id: I0954747bb72af82151598edb8444d0040e0d3c67
5 years ago
Richard Fuchs
653b09ca93
TT#92250 add `single codec` flag
...
Change-Id: I7c84e1f906fec93ed624d2fb4a4d9e9bfc9b4109
5 years ago
Richard Fuchs
241c78c915
TT#92250 add codec-except option
...
Additionally allow `except` and `offer` (and `transcode`) to revert
masked codecs.
Also adds `mask=full` and `strip=full`
closes #1054
Change-Id: I93a2891f2a0b9d324f6804e38f992be73c46211a
5 years ago
Richard Fuchs
2ce7b6476e
TT#92250 better handle supplemental codecs
...
Change-Id: Id6bac3892642d6ae58c71a1781b5d282c48a3a1c
5 years ago
Richard Fuchs
5ac91499fe
TT#92250 keep supplemental codecs last in list when transcoding
...
Change-Id: I3172414fd724e5c5fe9d69b5a78270bed41f83b6
5 years ago
Richard Fuchs
ba0553b9d0
TT#96200 test for I5fb7638aa71e80c08abcda2d8c341ae72725bace
...
Change-Id: I698a889ef6ecd96ce9b76781f7b7c9ac7c04a2c9
5 years ago
Richard Fuchs
e4e9061569
TT#91003 fix test compiler warning
...
Change-Id: Id2d1add9e41aca2100d5a6f6c9ae388029428ec6
5 years ago
Richard Fuchs
d2e831755c
TT#91003 add tests for mode-change-interval
...
Change-Id: I8936ff8d6f4e6804ba7e2ba6b040da0507c633c4
5 years ago
Richard Fuchs
5a33dee413
TT#91003 add tests for extra AMR options
...
Change-Id: I61515f8282f434f461147e05dca6f0d6ce65674d
5 years ago
Richard Fuchs
1020bcb80d
TT#91003 honour AMR mode change restrictions
...
Change-Id: I632f27c7068f3b7f6f3648992fcc6e5b5d65a29a
5 years ago
Richard Fuchs
30b11936e8
TT#91003 add AMR mode-set and CMR tests
...
Change-Id: Ie436282b15d58ea5fe0cd9e704939485d1c4e9ed
5 years ago
Richard Fuchs
017a2fe37a
TT#78201 fix existing test
...
Change-Id: I6043fe68c8f9d2edefeac2f05abe63a24091c849
5 years ago
Richard Fuchs
12ac8846de
TT#90101 don't blindly accept a protocol switch in an answer
...
An endpoint switching protocols is normally passed through to the peer,
but in an answer that is usually not desirable. Change the default
behaviour to stick to the original protocol that was offered even if the
answerer changes protocols.
Change-Id: Ib288549f4b1c9ab57a6333c6b7dd511537af96f7
6 years ago
Richard Fuchs
ae5b1762b9
TT#88603 don't remove transcoded codecs we added ourselves
...
closes #1058
Change-Id: I469b8e71d5a699c948a30cb2171467c267eec741
6 years ago
Richard Fuchs
1147f856c0
TT#14008 support building against FreeSwitch version of SpanDSP
...
Change-Id: I472161e6368886240a4ba08e269542fd3f6e4d41
6 years ago
Richard Fuchs
1537eddff6
TT#88750 add SRTP test script
...
Change-Id: I352f24cc6cc229ffd0635adafe89aa20b5f9ef31
6 years ago
Richard Fuchs
ec061bba6f
TT#84804 add new DTLS-reverse flag
...
closes #1038
Change-Id: Ic58b3e3c3d1fec75a2c6ea9ddb260141d9a2831f
6 years ago
Richard Fuchs
73cb248f8d
fix statistics format when multiple transcoders are present
...
closes #1042
Change-Id: I1dcd9c3053f35f97f0de8c23609a25347263044b
6 years ago
Richard Fuchs
de37041ad9
honour media-address= also for ICE and RTCP
...
closes #1039
Change-Id: Icb75875757eecfc02100dacb16d70532ed6be7ec
6 years ago
Richard Fuchs
8e22c9a414
TT#85701 improve branch handling with delete-delay=0
...
Initially created branches don't have a tag associated with them, so
they don't appear in `other_tags`. We need to keep track of which
branches were created from a single from-tag through their via-branch
values so we know when all branches have been deleted.
closes #1037
Change-Id: I4c6ce602b99a9104de98098cd06ca399eb28e1b2
6 years ago
Richard Fuchs
592af4d309
TT#84804 add tests for ICE/DTLS and GH 1035
...
Change-Id: Id6f25d9918abdc08aa22f2d37316cbcc65859a26
6 years ago
Richard Fuchs
cba8127475
TT#84804 test lib: return port when requested to
...
Change-Id: I3446db3924ac848887e68c7a143aa057ac4d34e6
6 years ago
Richard Fuchs
64e6bf440b
TT#82203 add detailed transcoding stats
...
Change-Id: Ib04767c38b00b17ef5844a9f6649e009270f8f82
6 years ago
Richard Fuchs
19ac0deb52
fix tests for non-bcg729 case
...
closes #991
Change-Id: I0c75fe40ab64add720e8eeed7236d25e89f23773
6 years ago
Richard Fuchs
89175c8564
TT#81850 fix SRTP re-offer and RTP to SRTP switch
...
1) In an SRTP re-invite offer, fixes not a full set of crypto suites
being present
2) In a re-invite offer that switches from RTP to SRTP, fixes SRTP not
being initialised at all
Change-Id: I911442d2cba17ecf6af482cfe922d4e9db2eda8d
6 years ago
Richard Fuchs
46325d61fd
TT#81600 fix SRTP when transcoding/DTMF injection is in use
...
Change-Id: I444c95e8dc14594571f7592f158805cbbe6e3c8d
6 years ago
Richard Fuchs
19a9b44332
fix tests after e516db2
...
fixes #978
Change-Id: I134f9493b750dd36db3d1b0967f3b9dc86ddb19f
6 years ago
Richard Fuchs
cca6ba70c7
allow protocol=RTP/AVP plus OSRTP-offer
...
closes #976
Change-Id: Id409d08a5a89b0ca9dbaf8cc457cc8ea89a433f1
6 years ago
Richard Fuchs
a168a3c024
TT#78307 generate RTCP for media players
...
Change-Id: Ic6dd65211ca253491a7ef3acd35499155b60fe4c
6 years ago
Richard Fuchs
2e4617ff86
TT#78307 move SSRC send stats to actual point of sending
...
Change-Id: I54ff4afeb8b3a205a678e9102fb0d8cedee78bae
6 years ago
Richard Fuchs
dfc76d23b5
TT#78900 leave m=message connection details untouched
...
closes #959
Change-Id: Iaf01c87697ce46f507563ed1560e664b0ca33544
6 years ago
Richard Fuchs
5fc326c64b
TT#78001 support OSRTP
...
closes #951
Change-Id: I8cd21d60b16e357a57d0d505649b74f38f4ca0b3
6 years ago
Richard Fuchs
e59ccc2973
TT#79900 add SDES=lifetime option
...
closes #966
Change-Id: I462dabffb5c00387ab1b91cabf3fcb2be998f76e
6 years ago
Richard Fuchs
1055a1e71e
TT#79351 detect and fix payload type collisions
...
fixes #963
Change-Id: I938b1c4b9baed37caf718f7537bbb9c11f7b91e5
6 years ago
Richard Fuchs
d611bbbb74
TT#78501 add T.38 options
...
Change-Id: I4f173f384db18e832c1d24a7015a836ec4215a96
6 years ago
Richard Fuchs
dfae8d6a22
TT#78201 add symmetric-codecs flag
...
closes #953
Change-Id: I848f501709f48927a7156033ccd42eacd742e2d8
6 years ago
Richard Fuchs
d872802ba2
TT#76711 T.38 <> audio gateway
...
Change-Id: I4552e07eee632fa730745410b08c3bf70ab67ab2
6 years ago
Richard Fuchs
de69c5ed1f
TT#76711 split codec_handler_get for different protocols
...
Change-Id: I67573100108aedb1c8e7fc5920682a7872fd10c2
6 years ago
Richard Fuchs
2d78c36338
TT#76711 allow update of media type
...
Change-Id: I3e860fe8683be2d7b0cd3cc70d4f7e4b39a0e147
6 years ago
Richard Fuchs
d847d26e0b
TT#76711 convert codec handlers hash table to direct hash
...
Change-Id: Ieeb8183cd8041a10e311fb4f2fe6b92bbc5ad8bb
6 years ago
Richard Fuchs
61ab3d917e
TT#76711 add libdl linkage to testing preload lib
...
Change-Id: I647182dd4abc44ef1f7956df419313215ab82a0f
6 years ago
Richard Fuchs
c0be3ea0e1
TT#14008 allow for slightly different DSP outputs
...
Certain versions of spandsp return a slightly different volume for the
PCM DTMF events (0x10 instead of 0x0f) which breaks the tests.
fixes #950
Change-Id: I9c92bcc5a91214d3c3e6f9de6cdd2faecba2d9db
6 years ago
Richard Fuchs
06b87041ed
TT#74301 add tests for jitter buffer
...
Change-Id: I167cb10e5d390b89aa6f77122567238d642a5736
6 years ago
Richard Fuchs
ef0d6a3a80
TT#74301 merge jitter buffer PR #834
...
refactored
closes #834
Change-Id: I174cc6e365af54fb66d2dd78be02c601c5d5d645
6 years ago
Richard Fuchs
4267e1ca09
TT#74301 split auto-daemon-test framework into perl module
...
Change-Id: Id12cd5a6db1f23da9ba0d50ebf17912ba94297e3
6 years ago
Richard Fuchs
16afc46ca4
add test symlinks to gitignore files
...
Change-Id: Icaf60b8e1eb75f10f9b41cb5c55ad40ea89aa0ac
6 years ago
Richard Fuchs
8bdeb2d9bf
TT#69701 fix incorrect address used for raddr/rport
...
fixes #850
Change-Id: I36eb8c61e094cda335c14023374dab6d5f1ccfcd
6 years ago
Richard Fuchs
228d822a71
TT#68100 set iLBC encoder and decoder options
...
required to distinguish between 20-ms and 30-ms modes, both for encoding
and decoding
add support for the iLBC mode= format parameter and dynamic mode
switching
closes #854
Change-Id: Icb6f0ec80df86d27681c689c168b24f163a2db06
6 years ago
Richard Fuchs
3bf3982de1
TT#65052 support queuing up multiple DTMF events
...
Change-Id: I489194212a46d12761b3fdc1e212c78254b91427
6 years ago
Richard Fuchs
068bdb224f
TT#65052 support adding pause after DTMF PCM
...
Change-Id: I0332ac2488f9d2d12ce4d84c3e8b60caf35d9c6c
6 years ago
Richard Fuchs
a6b41372c6
fix test suites for different implementations of base64 encoding
...
Change-Id: I7ef16ca66f8fff92faefd8bbc5d1d4d195a68de4
7 years ago
Richard Fuchs
3466700149
TT#65800 fix SDES negotiation bug
...
If B accepts a crypto suite that was not listed as the first, in order
to support SRTP passthrough, we correctly answer to A with only that one
crypto suite. But we must also remove all other crypto suites from our
list of supported crypto suites internally, because we use the first one
to init our crypto contexts.
fixes #829
Change-Id: Id07343d7b24648208e3a4b4e0b246949dce0385e
7 years ago
Richard Fuchs
b14f3b2b1c
TT#64259 support injecting DTMF tones and events
...
Change-Id: I07aa7690146db5b41be479a67aaafbd66aec4033
7 years ago
Richard Fuchs
23977237c0
TT#61050 detect to-tag changes via via-branch
...
Change-Id: I1cf0f7e516ae52a2f40a9ef84a207fe1456ea1e5
7 years ago
Richard Fuchs
290477d2e5
fix unit test after 8fb603e5
...
fixes #798
Change-Id: I166f681cb2d5c496d2cbb4bc13318b0395ad12b3
7 years ago
Richard Fuchs
3845a43d0e
change localhost to 127.0.0.1 to avoid resolv problems
...
fixes #795
Change-Id: Ic53060432ead0db0891c24b4abaf077c0d583546
7 years ago
Richard Fuchs
988d077b5c
TT#60301 fix rtcp-mux logic with branched calls
...
Move the RTCP_MUX_OVERRIDE flag to the opposite side of the dialogue to
preserve options given during a branched call.
closes #793
Change-Id: I0bd7621ba22fbfe4f41d115ec2e5dab65283ae01
7 years ago
Richard Fuchs
166aaa0c71
fix compilation for with_transcoding=no
...
closes #789
Change-Id: Ia0a50f77ae25b8af5e387d40b2b570285836e32d
7 years ago
Richard Fuchs
f960799cdd
TT#59703 add build test for dtmf_rx_fillin()
...
closes #787
Change-Id: I26ec7ebef74dad03192019b788e7c7ae17715783
7 years ago
Richard Fuchs
7803930d21
TT#59703 generalise build test make macros
...
also add a linker stage to the test build
Change-Id: Ief9dcabbb77dd682b6e7188c296f4713c1c234a3
7 years ago
Richard Fuchs
7ad9906178
TT#59650 fix DTMF related core dump when repacketising
...
Change-Id: I77b84c4b47ee41702b076a8a2f3259dc853654f1
7 years ago
Richard Fuchs
910c03fa62
TT#58660 PCM to RFC DTMF transcoding
...
Change-Id: Iea6a11c0caad1f5e7dcca966101e2969d3516b6f
7 years ago
Richard Fuchs
c0781e5193
TT#58659 RFC DTMF to PCM transcoding
...
Change-Id: I32fa876940131e3a18f611e2a518f7acd1327665
7 years ago
Richard Fuchs
db507468de
TT#59100 support case insensitive codec names
...
closes #775
Change-Id: Id54309bf0920e731ad42fb09b078580090f6f82e
7 years ago
Richard Fuchs
b0b43ce67e
TT#58659 update test script for consistent seq numbers
...
Change-Id: I0846d9e476fac9f630cee2f1b7925b7aa7a15fd0
7 years ago
Richard Fuchs
eb602892b0
TT#58659 fix incorrect escape seq in test script
...
Change-Id: I03fa500ce6b12cb87c807d522eb61dd7197f234b
7 years ago
Richard Fuchs
491865a99f
test case for github issue #766
...
Change-Id: I4f4ac8d35f0a6e358ce6730605292c3f6dbe24c4
7 years ago
Richard Fuchs
357474df6f
TT#50652 add label= option to match call participants
...
Change-Id: Ifc6cf8f630e9e5eb8cfb9b284e671a5ce4470963
7 years ago
Richard Fuchs
9917e65599
fix division by zero for dtmf in some cases
...
closes #730
Change-Id: Ic917cc21d5c9a2012ae59d8c9c323114074fb300
7 years ago
Richard Fuchs
52660eddd2
TT#54800 add ptime-reverse tests
...
Change-Id: I565daf5d86576f3b47bb190685fc68cfed1ec739
7 years ago
Richard Fuchs
fb76ef74f8
TT#54800 fix ptime overrides
...
Adds a new option ptime-reverse to complement setting of ptime towards
the offerer. This and ptime setting are now ignored in answers.
Change-Id: Icbc04f191cbc194b75b72a97832fcaba58feb10e
7 years ago
Richard Fuchs
6921472e3b
TT#54800 add ptime tests
...
Change-Id: Ia8423bf560d6a563b5a3f6ba77edf11a726b2766
7 years ago
Richard Fuchs
349954d2bc
TT#50652 handle SRTP output for media playback
...
Change-Id: Ie83c9c01c4c17e14d30aa14272b86af9ea38e1fb
7 years ago
Richard Fuchs
c9bae61ed7
TT#50652 add media playback tests
...
Change-Id: I5ba67c553594fa8c4254598375b26b06b7174835
7 years ago
Richard Fuchs
5b0a0105ef
TT#50652 support playing back media files from database
...
Change-Id: Ib21b6605553f67d6892ec8e2c75a7b0fca40936e
7 years ago
Richard Fuchs
83965bdb1f
TT#50652 infrastructure to support reading/playing of media files
...
Change-Id: I8212f5c74bcb9557d41f80ef3a1595f53bafde8a
7 years ago
Richard Fuchs
d96dbdea17
TT#50652 split timer thread functions into separate file
...
Change-Id: I445f3e2556ce647bf7e245e9612f4babcf04e388
7 years ago
Richard Fuchs
e3ec97f858
TT#50652 add -Wstrict-prototypes everywhere
...
Change-Id: Ic5b5fcb892a8f70196478f8622d956bdea373422
7 years ago
Richard Fuchs
8f3c309c7f
fix always-transcode not being honoured when only codec-mask was used
...
reported in #664
Change-Id: I2cdfe405c61d48513a01393c5306fe4c875325ee
7 years ago
Richard Fuchs
497c2d6a8d
TT#49104 move RTP sequencing into SSRC context
...
Detect and handle RTP seq resets while transcoding and provide
consistent output seq
fixes #664
Change-Id: I063bd9432f253fde25e90cdeb4e3460a882f7778
7 years ago
Richard Fuchs
3b28460507
TT#52651 Squashed commit of the following:
...
commit 2029144368
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 21 13:12:50 2019 -0500
TT#52651 switch TCP to TLS
Change-Id: Iab6b05d3b5c88553cbd6f531f3189084d9e71995
commit b28e718ee4
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Feb 22 09:20:54 2019 -0500
TT#52651 generalise streambuf interface
Change-Id: I7d5ab8ffe13e52d4dbb1901531cc13fcc173d60d
commit cb2dbd2a92
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 19 09:32:56 2019 -0500
TT#52651 add start/stop forwarding commands and party selection logic
Change-Id: I8ef7e288d3a3e485bd2fa14e1a2407a0c8d94bac
commit 442c48f627
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 15:43:23 2019 -0500
TT#52651 produce output for TCP forwarding feature
Change-Id: I18543921577faf655679829684f5af46c0af5054
commit 2ef8028eb2
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 10:18:21 2019 -0500
TT#52651 make recording to output files optional
Change-Id: I12c288b965641352658ce3b499c2ee90593e1322
commit 10a58cd7a0
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 16:02:16 2019 -0500
TT#52651 strip streambuf into lib and include in recording daemon
Change-Id: I1f6638961e9e767063e0b4e6b5d55d88799366d3
commit 9d3bb5bffc
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 15:40:12 2019 -0500
TT#52651 extract/move unrelated old legacy decoder struct members
Change-Id: Iffd79b43180c30a9e128a460f7ba85ba49dedeaf
commit 1bc38e4201
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:43:42 2019 -0500
TT#52651 config options for forwarding option
Change-Id: Ieaa2ee0e55a0c531158174bc6a534738a64dbee6
commit 06d61cd3dd
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:29:52 2019 -0500
TT#52651 move socket.[ch] into lib/
includes necessary re-shuffling of additional code pieces
Change-Id: I74b314ab5936ac8a0eeaff94e084617b59b28d79
Change-Id: I025e8ec86b90ede79565542dff57ec1559d04200
7 years ago
Richard Fuchs
490d7eb019
disable all AMR tests by default due to inconsistent codec libs
...
closes #708
Change-Id: I48f8c229486dc52c227e64782b05f931f1012c66
7 years ago
Richard Fuchs
daa0bf932e
fix tests compilation for with_transcoding=no
...
fixes #707
Change-Id: Ieb8b5365aab6b07967eb1576626fbf9dc0df27ad
7 years ago
Richard Fuchs
c33399ace6
fix test suites for different implementations of base64 encoding
...
further fix for fa90e4d
Change-Id: Ic8aa9e08f21fe79ba6d55fea87928e9ece228779
7 years ago
Richard Fuchs
fa90e4dc0e
fix test suites for 0c9bb7c
...
Change-Id: I689b24ab0deae6439b8359dbfa4020259d7e0572
7 years ago
Alexey Vasilyev
0c9bb7c440
Rename crypto suits according to RFC6188
7 years ago
Richard Fuchs
3cdfe5af1a
suppress loading of default config file for auto tests
...
Change-Id: I018de8dc31781756ef69738706531ad5f3dfb2af
7 years ago
Richard Fuchs
8d625cc03f
add auto test suites for #661
...
Change-Id: Icce0a216f190efad365e613e76290630540dd9b1
7 years ago
Richard Fuchs
0811c59120
fix bug with incorrect open3 redirection for test suite
...
Change-Id: I261ac7a6ce1bede73a1dbc2dad9b20720f05a5d3
7 years ago
Richard Fuchs
415af36ae6
don't add rtpmap or mid attributes for deleted/silenced streams
...
fixes #686
Change-Id: Ie9a155072a8b6acb8edcf59a5dd164f78a503616
7 years ago
Richard Fuchs
44c38c6c83
TT#49351 create preloaded library for system tests
...
Change-Id: Ibd87e7c03637a0772dcf3b0f2ed0d8646aa2add9
7 years ago
Richard Fuchs
744d6a46ff
add codec-set option
...
Codecs that were implicitly accepted for transcoding had no option to
set their parameters (such as bitrate) for encoding. The codec-set
option adds this.
fixes #681
Change-Id: Ib238eb73a507af168c366579abc80da07250fe88
7 years ago
Richard Fuchs
ee01f15852
fix non-default encoder bitrate not being applied
...
Bitrates specified in codec-transcode-... options were applied to the
decoder created during the offer. The matching encoder only gets created
during the answer phase, at which point the specified bitrate must be
copied from the decoder.
fixes #681
Change-Id: Idc6a16a4493908d78bb0b48ae590aba046152af0
7 years ago
Richard Fuchs
84f152bc62
TT#49600 add test suites for SDES crypto negotiations
...
Change-Id: Ia615394c9c87c797a0ee58ccc67074f9caba4093
7 years ago
Richard Fuchs
98de5697e6
TT#48650 use constant string hashing for string lookups
...
To avoid repeated strcmp()s and make use of switch()'s optimised binary
lookup, we employ a second build step that preprocesses certain .c files
and uses gperf to substitute pseudomacros with their respective constant
hash value.
Change-Id: Id89c4728a0fc7aa911691d4dd1ba8e7b3916a983
7 years ago
Richard Fuchs
5e558e9016
fix test suite compilation after 590b752b
...
Change-Id: Ibcba457a1e31c1523b417a9492e581e0b5cedbbb
7 years ago
Richard Fuchs
04a83027a0
TT#43557 implement media blocking
...
Change-Id: I336cf7203c1236b3e596310690a89ce1c3fd8bf4
7 years ago
Richard Fuchs
e67b9c40da
TT#43556 support blocking of DTMF event packets
...
Change-Id: I7ef43ddb254b1583c2dc69b44a13b978eff15510
8 years ago
Richard Fuchs
08fc00906d
fix segfault with DTMF logging and implicit payload types
...
fixes #571
Change-Id: Id2b575ff555d7968006309bcb5b5d6bbac2ed1e7
8 years ago
Richard Fuchs
a9ec666cb4
TT#38350 implement sending DTMF events to syslog
...
Change-Id: I82fbdc7da6cbe2505ef1c98dd3c45b63c4461994
8 years ago
Richard Fuchs
dd34574669
TT#38350 keep track of the most used RTP payload type
...
Instead of just remembering the last seen RTP payload type, this adds a
tracker that keeps track of the last 32 seen payload types and keep the
list in order of how often each type was seen.
Change-Id: I062a43b7bfc9413b755dca548d72953ff8245477
8 years ago
Richard Fuchs
bfac341aec
shut down transcoding engine when it's not needed
...
closes #562
Change-Id: I3c96cdcdeea8ee815f0ae7e40a4caccbfee9977e
8 years ago
Richard Fuchs
8562bdee70
support new `asymmetric codecs` flag
...
Change-Id: I244b3576be19658ecc2af353e427e95aea4fca70
8 years ago
Richard Fuchs
f1b81b649e
simplify parameters passed to codec_rtp_payload_types()
...
Change-Id: I8a9147bb527b3084ed9f4acfa82868fc26b0d8c2
8 years ago
Richard Fuchs
a2ed8e613a
convert transcoding unit test macros to functions
...
Change-Id: I409003397c7b510f79169e6069829b4bb949d12e
8 years ago
Richard Fuchs
f0b4f1d9a9
TT#37157 make payload mismatches in lossy codecs non-fatal
...
required to accomodate different versions of encoders
Change-Id: I47c574f1a8761b0ba042532145548e87d4398b75
8 years ago
Richard Fuchs
9b447cf18a
TT#37157 add G722 transcoding test incl RTP TS testing
...
Change-Id: I33f244eeccfbf9a9358608a73743585fd235686b
8 years ago
Richard Fuchs
6e9776876c
TT#37157 add RTP TS and seq checking to transcoding tests
...
Change-Id: Ib9e17aa6b0b3b3ec945d0abe54cdefca5e7ea989
8 years ago
Richard Fuchs
88778d981e
TT#37157 eliminate stray compiler warning in test code
...
Change-Id: I554308499edb326bae56841629827ed85152efe4
8 years ago
Richard Fuchs
6f6bad1d74
TT#37157 swap parameter order for packet_seq() test macro
...
Change-Id: I61f257efad7afc9634c73a32c3167b2ef8aca608
8 years ago
Richard Fuchs
95a7cc6cfb
eliminate redundant function argument
...
Change-Id: I5bff4436072c2855590e08d90c5098af3abceb93
8 years ago
Richard Fuchs
d64c888a0e
TT#36301 transcoding unit tests
...
Change-Id: If48e5afe5a343b557183b6e87441f52424dd2c6a
8 years ago
Richard Fuchs
1e96c9e522
fix compiler warning introduced in 677fe29d
...
Change-Id: I523bdf389cf8107f6f5c279c26a643c95ae54c49
8 years ago
Richard Fuchs
677fe29dfb
remove the AMR decode test
...
the AMR (narrowband) decode test is unreliable as different AMR lib
versions give different results and the AVCODEC version test macros
aren't sufficient to differentiate between them
closes #549
Change-Id: I2eceb0a14b968be9cf7c62303a83fc958235e2dc
8 years ago
Richard Fuchs
9e43369b84
disable AMR narrowband decode test for older ffmpeg
...
closes #541
Change-Id: Idcdd6c16fdcfa85fd02301b2045e3685e172e82d
8 years ago
Richard Fuchs
db2882ca78
integrate AES unit test into main build framework
...
Required addition of include/ directory for headers shared between
daemon and tests
Change-Id: Ib25504f4d7f4baa917efcdc0ef78b6cc89439827
8 years ago
Richard Fuchs
8c770b9e05
appropriate use of LDFLAGS and LDLIBS
...
fixes use of implicit make rules for some compilers
closes #539
Change-Id: I43a74ccf8155b1eafe90eba46ce155a2a6301a89
8 years ago
Richard Fuchs
06f76e6de4
don't run AMR tests when transcoding is disabled
...
fixes #540
Change-Id: I6b0d970ec9d7b8603ee401d8fd41176ee0ffeae4
8 years ago
Richard Fuchs
895fa96054
TT#35456 implement RFC 4867
...
Fixes AMR transcoding. Some features yet unsupported.
Fixes #498
Change-Id: I1075a539a7a7dab9106df9ef49b8bda2484b97ec
8 years ago
Richard Fuchs
b2a775f2f0
transcoding test suite improvements
...
Change-Id: Id7c522afe3d5060d0eb79126763454ecd25fc411
8 years ago
Richard Fuchs
9eb9a2f421
TT#31197 include bcg729 build support
...
Change-Id: I3862c0b9b8010699e6a49f749b38568d08103840
8 years ago
Richard Fuchs
df537b98c3
TT#28163 pass encoded packets back to processing for sending out
...
Change-Id: Icdd49d174336277dae0c2c79854fc4e3b42a5c44
8 years ago
Richard Fuchs
cee94a5348
TT#28163 pass RTP packets to media decoder
...
Change-Id: Ie1cf4ed50a0dae0ee4bbe37918d3d2a86666d998
8 years ago
Richard Fuchs
1aa9944fe4
TT#27550 implement interface round-robin selection
...
Change-Id: Id5cf290cc9d044716b5f55cf416dc40b87f23f24
8 years ago
Richard Fuchs
ab0dba7d14
TT#12800 support custom monologue labels
...
Change-Id: I55b2db88307088c4d5e0161eae6e3aa0b5d1b053
9 years ago
Richard Fuchs
4ad693a063
TT#12800 report MOS stats back to proxy via NG protocol
...
Change-Id: Ib0cc5b39a5f50d68a8013b738ac7d87b32069928
9 years ago
Richard Fuchs
0b63050c46
TT#12800 add test script to simulate RTP packet loss
...
Change-Id: I931d2b0ee16167bf48900aee806d99a12e4c601e
9 years ago
Richard Fuchs
74be799c4c
TT#12800 add RTCP support to perl test scripts
...
Change-Id: I9407b7b71817085b4c2c70bebcfe4681c8540696
9 years ago
Richard Fuchs
f83f674c4c
fix perl namespaces - move into NGCP::
...
Change-Id: I5c21abf195b766bfda3d9d371b4d0577007c1f5e
10 years ago
Richard Fuchs
b6b0b901b3
move dedicated tests into t/
...
Change-Id: I0c51cbc63c2a1d34d89aca92084da7a8be53d8b7
10 years ago