Richard Fuchs
e234e11c98
MT#55283 silence perl test warnings
Change-Id: Ib881bfc3311a0d1e19a2d95bca671a607b678f08
10 months ago
Richard Fuchs
875e9ff11e
MT#55283 t/Makefile fix
Change-Id: I0f212c69547685657047f45d18e2aab17d8f5bb0
10 months ago
Richard Fuchs
ccccded287
MT#55283 add evs-dtx= option
Change-Id: I6489895e31e1fcf1c72c9767b122189f22f58792
10 months ago
Richard Fuchs
7e30f816e4
MT#55283 change amr_cn_dtx option to bool
Change-Id: Ife3d89d8c133b14bf42b6c3468675a6147882681
10 months ago
Richard Fuchs
7194b6a61a
MT#55283 add EVS DTX tests
Change-Id: Iebaefde5ab8de606a8ba7bde3e7e1c15fd7dfd6c
10 months ago
Richard Fuchs
de47c13b0b
MT#55283 add missing EVS DTX handling
Change-Id: I04882d64df1f08d733a4fb87747f13c807e2795c
10 months ago
Richard Fuchs
6a5d3412f8
MT#55283 move out EVS frame generation code
Changes to a hard-coded sample format (clock rate, channels) and
directly modifies dec->pts.
Change-Id: I1b9f71af4a252cdc0f795ca91e525ff19f6cc580
10 months ago
Richard Fuchs
7a58f4eb29
MT#61404 add test for Ia4656770db
Change-Id: I1ed0a25b25e22f901d4811ff9e4ef9d8e087a4ad
10 months ago
Richard Fuchs
18579227a9
MT#61404 clone previous sequence number for T.38
If the receiver of a previously passthrough T.30 stream gets switched to
a generated PCM stream from a T.38 gateway, continue the sequencing of
the previous SSRC. Technically this is not necessary as the generated
PCM stream gets a new SSRC, but at least Asterisk seems to ignore this
and expect sequencing to continue, and will ignore PCM if the sequence
jump is too large.
Change-Id: Ia4656770db11f5fa1a1e9bf5bd71a0398deb1e00
10 months ago
Richard Fuchs
0f55781a58
MT#61404 add daemon-tests-t38
Just add the make target. Don't run it as part of the test suite as it's
quite extensive. Update the script a bit as well.
Change-Id: I192e90413bd7ffde842571324c816e4271367b42
10 months ago
Richard Fuchs
0da49000ba
MT#61404 always update egress RTP index
Add a simple function that acts as an encryption callback to just update
the ext_seq (index) of the egress SSRC context. The kernel module
already does this, but the daemon only did it when SRTP was involved.
This now tracks egress packet indexes in all cases.
Change-Id: I9460744de55ead4b05aceb322fd8482442ff2b41
10 months ago
Richard Fuchs
43cc9cc06d
MT#55283 change shutdown order
Some components (the timer thread used by the codec handlers in
particular) may hold references to components owned by the codeclib (the
.so handles in particular). Move codeclib cleanup towards the end.
Change-Id: Ic581588c27b69c025576c14a69e999c9ca5d1597
10 months ago
Richard Fuchs
a19bed611c
MT#61404 remove unused RTP/non-RTP distinction
Change-Id: Ia43e1eb373c893df6693032a14eb631f16593094
10 months ago
Lucian Balaceanu
bba9625b25
MT#55283 fix calling redis_delete when call is not persisted to db
Fixes a corner case that happens when trying to delete a call created with
ng offer and no-redis-update flag and for which no ng answer was received.
In such cases, one would receive warning messages from Redis
"ERR DB index is out of range".
What happens is that on call creation redis_hosted_db defaults to -1. This
value is changed when writing to Redis, but the writing is not done for a
ng offer with no-redis-update.
Kudos go to Pawel Kuzak.
Closes #1910
Change-Id: Iad19ec8ac69b169e6352662697b17eb23e6970fb
10 months ago
Richard Fuchs
518c297be2
MT#55283 add recvfrom() to tests-preload.so
Support the recvfrom() function. This requires also returning to address
(not just the port) from the tester's rcv() function to be useful, which
in turn requires updating a bunch of tests.
Change-Id: I3c0bcab9b744f2c234662399199abc538876c4fa
10 months ago
Richard Fuchs
b2599aba54
MT#61625 add getsockname abstraction
Change-Id: Ib89e235c3b8ea5a1038d09dfd8a7895d5753401c
10 months ago
Richard Fuchs
69ac1b1c9d
MT#61625 allow send/recv without endpoint address
Change-Id: I61f301baec69788228325f79194755b828b3858d
10 months ago
Richard Fuchs
af789073a7
MT#61625 add socket_rcvtimeout helper
Change-Id: I17de1f5948e64712fb60bd96708c07ea87cfe010
10 months ago
Richard Fuchs
eeeb2d8641
MT#55283 move socket_port_link into stream_fd
This allows us to simplify some function signatures
Change-Id: I58f65735ba84ec7a536b1b170d1ef90e266308f5
10 months ago
Richard Fuchs
08e382540e
MT#55283 add link to port_pool in socket_port_link
Change-Id: I43400175271b089a368f731bd55acb05ccab7141
10 months ago
Richard Fuchs
5d87f74f1b
MT#61625 allocate rtp_payload_type in memory arena
Change-Id: I119fc027f805bd7452096fa75ca6e152527f41ea
10 months ago
Richard Fuchs
31c6d7d754
MT#61625 split out generate_mid()
Use a common function to generate media IDs.
Change-Id: I428205f67632134d2d598456f1d5b2eca67e8be5
10 months ago
Richard Fuchs
c99a4691b4
MT#55283 use GPOINTER_TO_UINT
Change-Id: I5e8ee279aa193c1b7f71a01c42fa3482856b9b30
10 months ago
Richard Fuchs
bf10ace2f3
MT#55283 use relaxed ordered atomics
Change-Id: I17dbebf129412b077c3edbabe800a5ae49d0bb85
10 months ago
Richard Fuchs
dcc816dd07
MT#55283 use obj_release in more places
Change-Id: Ib343ff28bf6796238358170f89e565e5e9d6f707
10 months ago
Richard Fuchs
4c9343b8c6
MT#55283 used typed hash table for rtp_stats
Change-Id: I015a931d7e726815d2a7d06fa4d74a1418dfec0b
10 months ago
Richard Fuchs
bebec5eee4
MT#55283 add extra typed GPtrArray methods
Change-Id: If67ac73a5f7f7e767d8f8eb09a77ca552ab81148
10 months ago
Richard Fuchs
1eab1312ae
MT#55283 update bit field type to bool
Change-Id: Icd65e286d97719de2e51fd85b7af167a3fc31103
10 months ago
Richard Fuchs
7c4bc9bc07
MT#55283 update bit field type to bool
Change-Id: Ie85a3609a8889e31c551dce92dbcaec5af1e6675
10 months ago
Richard Fuchs
06b84ac050
MT#61625 refactor __rtp_stats_update
Make it so we can do this without a codec_store.
Change-Id: I3872709ee8d28ccccfab52006cb7f73887b53f04
10 months ago
Richard Fuchs
587c0dac82
MT#55283 convert __socket to bool
Change-Id: I1b631456716d37c188d473763fab6d5114573b01
10 months ago
Richard Fuchs
09c4c84d03
MT#55283 move helpers out of the way
Change-Id: I207d000c7c2cfca9c139518cc0111355b6414d60
10 months ago
Richard Fuchs
3662b74009
MT#55283 convert tos to bool
Change-Id: Icf424a04b79923c239f1ccdbb79115b080a84462
10 months ago
Richard Fuchs
ad11e98903
MT#55283 convert pktinfo to bool
Change-Id: I4fa705063400f119568f93fa037a51adabbe9c40
10 months ago
Richard Fuchs
bf08339f5a
MT#55283 convert timestamping to bool
Change-Id: If87a80917396fa397e6d0641c38546bd31a10a31
10 months ago
Richard Fuchs
df64eb09a4
MT#55283 convert accept to bool
Change-Id: Ie4e1415fd35fa6b4a3ab95ed80c2ab3047b902bc
10 months ago
Richard Fuchs
55ccc6bbe1
MT#55283 convert listen to bool
Change-Id: I18ab74fcd1e5ca330619a357d6ee080be45b2ab5
10 months ago
Richard Fuchs
88bbfc2255
MT#55283 convert connect to bool
Change-Id: I8086c72713b79c29d9cfd6822610e3580df38cc8
10 months ago
Richard Fuchs
9808a5f26c
MT#55283 convert eq to bool
Change-Id: I62460fe2184aaf8bd6e84957c46274c04bd672c4
10 months ago
Richard Fuchs
eb172ce029
MT#55283 convert bind to bool
Change-Id: Ic127aabf04e3185293e77194953f4eb93dd1a771
10 months ago
Richard Fuchs
23ca436a1e
MT#55283 convert sockaddr2endpoint to bool
Change-Id: I4d2fb4ea29284ea421920e514ec0d80392e1a7a0
10 months ago
Richard Fuchs
c621061cc7
MT#55283 convert sockaddr2endpoint to bool
Change-Id: Ib1e2ff18d8a64f71116fe5ce886c593cd29b2d51
10 months ago
Richard Fuchs
3337059585
MT#55283 convert endpoint_parse_any_str to bool
Change-Id: Id7ba272643f3578fbf12647444342f979b3d864f
10 months ago
Richard Fuchs
b5085cf1c7
MT#55283 convert ipv46_any_convert to bool
Change-Id: I7671aca8592ca02b6005c5e94aae3d18444fd7dc
10 months ago
Richard Fuchs
80f7c20429
MT#55283 convert sockaddr_getaddrinfo to bool
Change-Id: I75e04bdda3b54fd9f7cbe9d6ff8c978e2bb2c2d1
10 months ago
Richard Fuchs
5f418146c4
MT#55283 convert endpoint_parse_any_getaddrinfo_full to bool
Change-Id: I74dbdcb6798203306652078997b74bdaacfb8526
10 months ago
Richard Fuchs
fbcdaaee4a
MT#55283 convert endpoint_parse_port_any to bool
Change-Id: Iede44b1652ac749d0e0fbd31acb0e42bca8641c3
10 months ago
Richard Fuchs
86a825d3d4
MT#55283 convert endpoint_parse_any_getaddrinfo to bool
Change-Id: I81bb829ab4ccb8005109c2c1c874e83c3340a053
10 months ago
Richard Fuchs
3e5cf09486
MT#55283 convert endpoint_parse_any_getaddrinfo_alt to bool
Change-Id: I6e4437ce60065205c13271b96ee6b346af0a24fa
10 months ago
Richard Fuchs
ce68a760db
MT#55283 convert sockaddr_getaddrinfo_alt to bool
Change-Id: I0e071572b22977cbcd06aa1836b4b91c94de263b
10 months ago