Richard Fuchs
a87889b35a
MT#63317 initial support for allow-mixed
...
Adapt affected tests
Change-Id: I2a5dc1249a9a7dbab20b6022e20572a36d9520a9
8 months ago
Richard Fuchs
af4ca41edb
MT#63317 support filtering of extensions
...
Change-Id: Iac4fa87b89dc7d011115d149f8cfd4c74cd1ca7a
8 months ago
Richard Fuchs
457724191b
MT#63317 tests for ext too long
...
Change-Id: Idb2a97c43e1abaf3890857c687870872c4e583ff
8 months ago
Richard Fuchs
02097e68f5
MT#63317 tests for Ib1f1d51d
...
Change-Id: I04b40cf3719b926b54f686fefac5580966b47e2b
8 months ago
Richard Fuchs
9ef7c87e6f
MT#63317 print exts for forwarded packets
...
Change-Id: I8c133696219db536ee5c9fedd62a79bf6d658ce9
8 months ago
Richard Fuchs
e046eecb96
MT#63317 print extensions from list
...
Change-Id: Iec3824adb461264ea67f937258ba592f2fd82209
8 months ago
Richard Fuchs
c7aec504ca
MT#63317 tests for Ib8ca6d4a
...
Change-Id: Ib9856fe0b0965f5348eb5d6ce49dd7d6d03ac60a
8 months ago
Richard Fuchs
d3d1a55830
MT#63317 support extensions in codec_output_rtp
...
Change-Id: Ibefde005041bc6d715d42d089e6277ee2804917c
8 months ago
Richard Fuchs
21d9f4f0ac
MT#63317 add test for Iaa38fa3c
...
Change-Id: If6727d52bc76c249cfa5dd5e19948740ba1acaa8
8 months ago
Richard Fuchs
00e8c083b7
MT#63317 add handler lookup to test-transcode
...
Change-Id: Ic385e4f8f5b5ae291eca080151ed0b95f9e7f5e5
8 months ago
Richard Fuchs
f349cc7ee7
MT#63317 use monologue-local extmap storage
...
Change-Id: I8a341718f3944b276cd2838aaf37d26bb5ca1e0c
8 months ago
Richard Fuchs
c525cb9e09
MT#63317 remove duplicate header parsing
...
Pass down RTP/RTCP header to crypto functions so that they don't need to
parse it out again.
Change-Id: I551ab6a668cc99c903cde8807f6f9c10fc0cf6d5
8 months ago
Richard Fuchs
6c5190a79d
MT#63317 add tests for RTP extensions
...
Change-Id: I4b92c764157fa7cdf80a7279fa77f53e32fcc1a7
8 months ago
Richard Fuchs
fc9cb21d8a
MT#63317 store extmap entries in media object
...
Change-Id: Ia673ae3049f5c6ce8dd8516b5becc0a9322559d8
8 months ago
Richard Fuchs
923d99d60d
MT#55283 change default learning mode to heuristic
...
Change-Id: Ib974e61f7a413d8e808bb1342733744e5bcdb721
8 months ago
Richard Fuchs
f48fc84dab
MT#55283 defuse unstable tests
...
Change-Id: I88bb066fb6a1a0e46494b6c8033966aadd4c7273
9 months ago
Richard Fuchs
c7edd6ca9f
MT#61977 unit test for S3 auth
...
Change-Id: I4c9c393759f96abfcb02149819b14f418781f40d
9 months ago
Richard Fuchs
6626fd4eb6
MT#55283 add alternative G.722 encoding
...
Change-Id: Ia7f77dadb84020b9778fa1b8d5086165cdf16f0c
9 months ago
Richard Fuchs
eb288752dc
MT#55283 tests for I19c2aff7
...
Change-Id: Icb28f4d94fb8b628ee635fdf10b516891b5953b2
9 months ago
Richard Fuchs
632d125c69
MT#55283 add remote-candidates test
...
Change-Id: I0176a0df26bcd48b9b580f6986e7be6e757212c0
9 months ago
Richard Fuchs
b7803498c2
MT#55283 support ICE nomination in test
...
Change-Id: Idd338e3439d80734d9bc4fbe83078a1611194bee
9 months ago
Richard Fuchs
646850c6d6
MT#55283 remove duplicate make dep
...
Change-Id: I7d8c4d3d256ba7a834dfd96f13e7e05a72100b6a
9 months ago
Richard Fuchs
ffacde5748
MT#55283 trigger RTCP send from both send funcs
...
Reverses the side effect of I225b43dff
Restores consistency and fixes tests and very slow systems
Change-Id: Ib4285e7aae95cd58eccd1d3c4f84e5786b4b0810
9 months ago
Richard Fuchs
4cfaf1a3cf
MT#63151 remove duplication of files during make
...
Change-Id: I67f45a52660b089748c4f6f76c564bbc97fa1899
10 months ago
Richard Fuchs
35d3110612
MT#55283 add alternative opus output
...
Different encoding on certain platforms (armel)
Change-Id: I481d7aafcdba078bb317a6c6bab1f0b88b37a7b7
10 months ago
Richard Fuchs
16ab6ffa1f
MT#55283 extend test
...
Change-Id: I12d02233cb0190578be865d22a7f7afee52f0c5d
10 months ago
Richard Fuchs
8f92c6e5c2
MT#55283 update test
...
Change-Id: I2e06f2338cb7d1f9f32d2497bdf01b1be3048714
10 months ago
Richard Fuchs
b6bd9804a0
MT#55283 upgrade xmlrpc_callback to string
...
Simply take the xmlrpc-callback address as string and don't try to parse
it out. Store it in the call object as string as well.
Obsolete `created_from_addr`. The string form `created_from` is all we
need.
Change `created_from` to `str` as well.
Change-Id: Ib67b57b1d2d474d7b033f56ef8be59f71e44641b
10 months ago
Richard Fuchs
7fbc61253d
MT#55283 add keyspace notification test
...
Change-Id: I39afe810d2f269550c565197c7ea824d287ecd25
10 months ago
Richard Fuchs
ffc539c0d8
MT#55283 locking updates
...
Protect selected_sfd with in_lock.
Protect RTCP sending with in_lock and out_lock as appropriate.
Has the odd side effect of RTCP reports expected in tests to be sent one
packet later than before.
Closes #1966
Probably fixes #1927
Change-Id: I225b43dff8e8fbb938d3be6aad50249997615d77
10 months ago
Richard Fuchs
799830902e
MT#55283 ignore G.729 fmtp
...
closes #1971
Change-Id: Ide2577b76de1f26844a9c73e169bcad96ee2a90e
10 months ago
Richard Fuchs
e2e5e22d04
MT#55283 add tests for Ib118cd2ce/Ib36b36bb
...
Change-Id: I5e45e473ea1d747d54477fb12f0d8fb7f4133c6f
10 months ago
Richard Fuchs
fa8123e1c2
MT#55283 explicitly return PTS/duration
...
... from packetizer function instead of putting it into the AVPacket.
Remove AVPacket from callback function arguments.
Fix up PTS/duration adjustments where they were missing.
Closes #1963
Change-Id: Ib36b36bb6648b0579dd83155c7217317dda29cc3
10 months ago
Richard Fuchs
62b216646b
MT#55283 test for Ia69cbb69a82
...
Change-Id: Idff08b9935828e9bb1f45d1ebe76cbde0c019b18
10 months ago
wangduanduan
7b5235b4bf
MT#55283 test: add test for unknown fmtp
...
closes #1968
Change-Id: I71d2f7947f0495ea08d000568c40915e86d034d8
10 months ago
Donat Zenichev
fd763f2804
MT#63082 crypto: ignore dummy suites
...
If dummy definition with no tag, algo etc.
just ignore it, otherwise not excluded
and is dangling in outgoing SDP.
Also add according test.
Change-Id: Ib7c981ee66b1ce8cb363a9cc181231c68baa69cd
11 months ago
Richard Fuchs
14af582379
MT#55283 tests for I577371570
...
Change-Id: I00de521c00cb9ddc20be0a2cdd5ea1b5542c8206
11 months ago
Richard Fuchs
02897ccb46
MT#55283 fix sdes_accept logic booboo
...
Using `l->next` as a test for whether only one element is left in the
list is not reliable. Use the actual list length instead.
Update one affected test.
Closes #1961
Change-Id: I5773715700220cd762e61090bac941ddd33afd9b
11 months ago
Richard Fuchs
cac4b2b29d
MT#55283 add test for I9cbb9e946
...
Change-Id: I17e2fc60e15d9e81759437559190c2a74fcd797e
11 months ago
Richard Fuchs
4f664646b0
MT#55283 add test for Ie233a4a45b
...
Change-Id: If1aaa81931b976a3039b70c531a792fc2aed0e97
11 months ago
Richard Fuchs
4cd65ccea8
MT#55283 add test for invalid SDP
...
Change-Id: I6d6e601ede4b461f03aad85ca24a507f1277dc46
11 months ago
Richard Fuchs
3df26cf2d0
MT#55283 improve G.729 format matching
...
RFC says that annex B is the default in the absence of the annexb=no
format string. Consider the alias "G729a" as annex A.
Closes #1951
Change-Id: I9a8483ee5520bf4688601123f1ebec4f1f480642
11 months ago
Richard Fuchs
bad2b3df1d
MT#55283 add extra WS test
...
Change-Id: I083c55b331d325ceb90adb2cc1b36ba4bc8c6c78
12 months ago
Richard Fuchs
54f7a465c6
MT#55283 add extra MOS test
...
Change-Id: I4a15132c327b8c3509ab0d673c0be4272096f9b6
12 months ago
Richard Fuchs
a2c9d5c7a1
MT#55283 add media PUBLIC flag
...
A simple mechanism to track whether a given media endpoint has been
advertised to the public. If it hasn't, then any media received on it is
considered suspicious, and source addresses are ignored for learning
purposes.
Change-Id: I76a08e3f442f263dad192ff496a5d734a9349d26
12 months ago
Richard Fuchs
c35ee940d0
MT#55283 fix PT Redis JSON encoding
...
Change-Id: I6b358e41b2d00f4e3736593071af84c80e7e8628
12 months ago
Richard Fuchs
849e16de46
MT#55283 add RTCP tests
...
Change-Id: If686285e3424490620f48a89ada29a5dd4cc9398
12 months ago
Richard Fuchs
97b55f30bb
MT#55283 add tests for dtx-shift=0
...
Change-Id: Ib7df44b251e35ffb02f19be2eb883d9d86f9720b
12 months ago
Richard Fuchs
6221c9ed93
MT#55283 add extra DTX tests
...
Change-Id: I49aede640d2c138950f2b86e469b0d95a80ad199
12 months ago
Richard Fuchs
794797c23f
MT#55283 tests for I100d0d0476b
...
Change-Id: I6cc0c1f185f3c159423fc1f4a0977e506bd1343e
12 months ago
Richard Fuchs
5132e74a41
MT#62735 honour strict-source during learning
...
Change-Id: Ic4eb9ebf20020bfea1840102e542d3ec5b9adcf2
12 months ago
Richard Fuchs
ae8a8220b0
MT#62735 add tests for Ia2779bf5
...
Change-Id: If7c8387838aefc19ae302ff4b9597fa1e34b952e
12 months ago
Richard Fuchs
2af6de638d
MT#62735 add tests for I2a2cdd9476
...
Change-Id: I772b2854f3ed3d36705bc2488786f6661a94cf28
12 months ago
Richard Fuchs
ee32e5ba5f
MT#62735 add tests for heuristic learning mode
...
Change-Id: I0c3d67f4ee3f3350fcf0b350c39e475db948c6c8
12 months ago
Richard Fuchs
581a12536c
MT#55283 add stats reporting test
...
Change-Id: Ieb8bf7b1d66686b11c4fff60ba31d267f15738d9
1 year ago
Richard Fuchs
2fdafa67d7
MT#55283 fix missing strdup
...
Add breakage to tests
Change-Id: Idec72d08f124d562e5112febd8a9114fe80cec68
1 year ago
Richard Fuchs
3ec06bc2eb
MT#55283 add test for play media over HTTP
...
Change-Id: I203ffabc411e91a7502b0fb0b710bd9aff85bd2e
Ref: https://github.com/sipwise/rtpengine/issues/1936
1 year ago
Richard Fuchs
5d613020e6
MT#55283 add global bufferpool
...
These are normally held per thread, but in cases of threads not having
dedicated init/cleanup functions (GLib thread pool), we can use a global
one as fallback.
Fixes #1936
Change-Id: Ia2ff3523e6079baa73e0721862100ec2f8b66c88
1 year ago
Richard Fuchs
7893b1a830
MT#55283 extend G729a compatibility
...
Change-Id: I6079d06ada8acec1771f27677f3043d34e4c9f20
1 year ago
Richard Fuchs
fdcee65ab7
MT#55283 tag transform call IDs/tags
...
Change-Id: I79eabb46e66db3df03a3cee169690de70d9166ff
1 year ago
Richard Fuchs
5d985372d8
MT#55283 obsolete usage of xmlrpc-c
...
Replace with hand-rolled requests made via libcurl.
Background: libxmlrpc-core-c3-dev packaging is currently broken in
Debian Sid and this is a good opportunity to move away from it.
Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102554
Change-Id: I8a09452220993afdac19654edf13d7f3f6ba64c9
1 year ago
Richard Fuchs
71addf5118
MT#62687 support codec preferences
...
Change-Id: Ib8eaca5b2223cf7eb40e9dc68e8ab05782bd4f99
1 year ago
Richard Fuchs
c8dd521e33
MT#55283 obsolete SSRC tracking
...
Change-Id: Ic0a3c7826180e1e1f4a783dcc6d775c92fe38d1f
1 year ago
Richard Fuchs
cf22d82932
MT#55283 eliminate input/output combination SSRC
...
Change-Id: I94636b7f6fb6fb31cd3bf332fffe0203e17f6c16
1 year ago
Richard Fuchs
19af8034a4
MT#55283 split SSRC hash into in and out
...
Change-Id: Ie1d378ee455e6fadb39a16f4c1d86f604870c536
1 year ago
Richard Fuchs
94b1eced71
MT#55283 extend test preload .so
...
Support PKTINFO, even though no info is actually attached yet.
Prefix fake socket addresses with the type (udp/tcp) so that both can be
used at the same time.
Change-Id: Ia72e28c9a0fe07d74ec473b5288b30b82c6c8113
1 year ago
Richard Fuchs
636c9f193f
MT#55283 add L16 and G726 support
...
Change-Id: Id12bd895cc8ce99d6988360bedaff75fb0b5a362
1 year ago
Richard Fuchs
36dfa4353d
MT#55283 tests for I4e675b151
...
Change-Id: I76f2f28b9ff9a9981daf11cba1a3809176961bc1
1 year ago
Richard Fuchs
283abdf465
MT#55283 convert mix_buffer to int64_t
...
Change-Id: I13343b4cce82440e9a54fd9c26731f27abe57ba5
1 year ago
Richard Fuchs
952429aa89
MT#55283 convert last_packet to int64_t
...
Change-Id: I21aec3c852a213c433b3a6c62d8b039303ec0f01
1 year ago
Richard Fuchs
165c42fb8e
MT#55283 convert calls to int64_t
...
Change-Id: I7c9a2229ba3eea418e009bb04def336476d2ec25
1 year ago
Richard Fuchs
5dd2b5bb74
MT#55283 convert graphite to int64_t
...
Change-Id: Ifeb8e560716330a5c3e573a355a90a46c3f68f30
1 year ago
Richard Fuchs
c59864d3d8
MT#55283 convert rtpe_started to int64_t
...
Change-Id: Ib80187cfa9abd7f947926b9195e998bee6369ff6
1 year ago
Richard Fuchs
c70510303a
MT#55283 convert rtpe_now to int64_t
...
First step in converting (almost) all timeval uses to int64_t
Change-Id: If20fd749c61c278273c535b68287df7e6f042808
1 year ago
Richard Fuchs
238dc9d5be
MT#55283 integrate ssrc_hash into upper objects
...
Change-Id: Ib8f78ef6bc3028fc342fe07253ebe628af322e55
1 year ago
Richard Fuchs
954bac923b
MT#55283 move SSRC hash from monologue to media
...
Change-Id: Id03603982692e9f6aef3b96d2a04514459eb30a7
1 year ago
Richard Fuchs
8121ae2d2b
MT#55283 add even more DTX tests
...
Change-Id: Ic723c3979097287cbe05a1b1aacbc80e452ded9f
1 year ago
Richard Fuchs
940f84b23a
MT#55283 track last outgoing TS
...
Keep outgoing RTP timestamps consistent between different instances of
the DTX buffer. Update affected tests.
Change-Id: I6cf03ab32f5c510bd781063a9e7241d1187c202b
1 year ago
Richard Fuchs
0b61f4f067
MT#55283 use embedded list link
...
Avoids repeated calls to allocator
Change-Id: Ibbf1324996e723dc36639885de0916a9ad82e367
1 year ago
Richard Fuchs
0a2cc046cf
MT#55283 defuse MOS test
...
Change-Id: I39b11da4692fea708806752b8cd028aa57a6b514
1 year ago
Richard Fuchs
9542cc0f3f
MT#55283 fix python websockets version test
...
The newest module comes with a version string of "15.0.1" which makes
the conversion to float fail. Use string operations to fix.
Change-Id: Ia13534e9eeab451261d4c48fa782b116652b6904
1 year ago
Richard Fuchs
fd7e5a4036
MT#55283 add new DTX test
...
Change-Id: I44a3b7cb81f816d8eb0deaf75ef3269ac770f367
1 year ago
Richard Fuchs
bab1ad6a41
MT#55283 fix tests
...
Change-Id: I547c7acf6d676d2799d1117a5f8d867912903514
1 year ago
Richard Fuchs
f6b598085e
MT#55283 add tests for I9de5fdf3
...
Change-Id: I8b31041f855e5305501c54e333f9b7896dd41e5a
1 year ago
Donat Zenichev
cd0b948b18
MT#62272 auto-daemon-tests-moh: make sure no RTP after call finished
...
Make sure that in tests with MoH there are no RTP packets
coming after the call is done.
Expected is that all packets have been received
during the signaling exchange.
Change-Id: I861f53ea108c2f0cf9f808bf6954ccd145f487fc
1 year ago
Donat Zenichev
de6a7e5d44
MT#62272 auto-daemon-tests-moh: add reflect MoH test
...
Just another test to make sure the reflection MoH
functionality works correct.
Change-Id: I68974060523a99f740269c9c2daf06e1af7ecb4d
1 year ago
Richard Fuchs
f73a5772c0
MT#55283 remove timestamp from DTMF tests
...
Not deterministic
Change-Id: Iad2baa3dbbf57a7dd77db972542fe0613263c5c8
1 year ago
Richard Fuchs
0b4d9a9135
MT#55283 add extra 'connect' test
...
Change-Id: I4e7e7ab9aad9652dd01d5f910d43aaac2c5f9fd2
1 year ago
Richard Fuchs
e0a7fa60ea
MT#55283 add test for I688c57a8c
...
Change-Id: I341db87a161c7c9156b22ba872dc5c86b0598a30
1 year ago
Richard Fuchs
65bfe22d40
MT#55283 fix missing mode-set with reuse-codecs
...
With reuse-codecs, we still need to place the codec from the SDP into
our prefs list, even if it's already present, as the format options may
have changed. Update one affected test case.
Closes #1921
Change-Id: I688c57a8c45ec4c3bf159fe2193a0e00bbceeda2
1 year ago
Donat Zenichev
37afe18840
MT#62272 auto-daemon-tests-moh: allocate different ports for sockets
...
For each new MoH test take a new pair of ports.
Change-Id: I980707da44764d629ee323f95b2c5c133b7febfb
1 year ago
Donat Zenichev
c420a17c3b
MT#62272 moh: add double hold test
...
Test double hold case.
Change-Id: I136eef73f63d0a3814fe220a1fe95f41d6d44d18
1 year ago
Donat Zenichev
57e095eb43
MT#62272 auto-daemon-tests-moh: use text config
...
Instead of start-up options just use the text
file for configuring things, easier and simpler to keep.
Additionally: introduced config options:
- `moh-attr-name = rtpengine-hold`
- `moh-prevent-double-hold = false`
Fix tests accordingly.
Change-Id: I128b531af6a21623105e5933f8b0b572fdc5620a
1 year ago
Richard Fuchs
9bd5670f89
MT#55283 use fixed allocation size
...
Allocate all bufferpool shards of the same size, regardless of
underlying allocator. This way increase memory usage a bit, but we're
already quite heavy on that, so no big deal.
Change-Id: Icbe09cd2f9b33bc58ab1efe7de293dea00236fec
1 year ago
Richard Fuchs
1a98502a1b
MT#55283 used aligned memory for bufferpool
...
Use allocators that return memory blocks aligned to the requested size,
instead of generic malloc. This makes it easier to play tricks with the
memory blocks.
Change-Id: Iad4b1127c76e48c2e9b4ad8489118d4883a24f6a
1 year ago
Richard Fuchs
a49b0b690a
MT#55283 add T.38 codec test
...
Change-Id: I5972a4b683526a82b49837eefabd83d52ddacabd
1 year ago
Richard Fuchs
9a5069f53c
MT#61625 add "transform" tests
...
Change-Id: I6976929522b0098729fd8b317bf7c46e791407ef
1 year ago
Richard Fuchs
7dbcb578ab
MT#61625 add "transform" transcode handler
...
Change-Id: I9b9ef39859f196a9c0ea8a7aee657311a70a5d03
1 year ago
Richard Fuchs
fb84336d1a
MT#61625 add global memory arena
...
Change-Id: I49c9f786d0826c090df348eb7ae600f6887611bd
1 year ago
Richard Fuchs
e72f7e4b0f
MT#61625 add ng_client code
...
Change-Id: If216cedc5b2ff81dadf1ec7d1df2b767c9dd3abc
1 year ago