Richard Fuchs
5586ed0ed6
MT#55283 C90 compile fixes
...
Change-Id: I5e6bba67507689ba9b1c14865bedb8625373508c
9 months ago
Matteo Brancaleoni
e9fd1f89e3
MT#55283 Add inbound-peer, outbound-peer and peer flags for automatic interface selection
...
Introduce three new NG protocol flags that automatically select the matching
configured rtpengine interface based on the system's routing table:
- inbound-peer=<ip>: resolves to interface for inbound (from) direction
- outbound-peer=<ip>: resolves to interface for outbound (to) direction
- peer=<ip> resolves to interface when only one interface is required
When these flags are used, the system:
- Uses a temporary UDP socket to determine the local address assigned by routing
- Finds the first configured rtpengine interface matching that local address
- Uses that interface for the media stream
This allows dynamic interface selection based on network topology without
requiring explicit interface names in the signaling.
Closes #2033
Change-Id: I211806b9cef9d028fdb689d90ea3fe627bdf5d0d
9 months ago
Richard Fuchs
e5d3aa0f01
MT#55283 add poller status to Prom
...
Change-Id: I8f0bc1388dd0d6cbe28351896c062ed01d4f0b4c
9 months ago
Richard Fuchs
d279b14a99
MT#55283 export poller thread stats
...
Change-Id: I5b8b2e6c791d27a1d29e982c72005aff38e7cd6d
9 months ago
Richard Fuchs
9196bb5f5d
MT#55283 track poller stats
...
Count number of wakeups and number of items per wakeup
Change-Id: I75eb53804f9690722a3908339bf9f606c8a8f4a9
9 months ago
Richard Fuchs
cbf807615a
MT#55283 add atomic64 size/type assert
...
Change-Id: Ie68eb9ac05db5afba238936a4b1a4be2bc8adaeb
9 months ago
Richard Fuchs
c1522c2cdc
MT#55283 remove useless code
...
Change-Id: I45ebdb7d667610eaca74c1fe446ce49e88be9847
10 months ago
Richard Fuchs
750c00618f
MT#55283 increase poller wait time to forever
...
Change-Id: I1df315d9f5382a974d67471f0f2eedec0eb9cb69
10 months ago
Richard Fuchs
11f92ac502
MT#55283 use g_new instead of g_malloc
...
Change-Id: I54a69b5ecfe0650653080e345a69b0c257682c70
10 months ago
Richard Fuchs
15effb7641
MT#55283 type-safe thread helpers
...
Change-Id: I90ba4347ed787eb63bad84287bea200fac5dbe82
10 months ago
Sipwise Jenkins Builder
22294550a1
Release new version 14.1.0.0+0~mr14.1.0.0
10 months ago
Richard Fuchs
0b94847eae
MT#55283 local var for shorter code
...
Change-Id: I1e8bb980a23402c1b3f5b2dc1d1a412a960a02e6
10 months ago
Richard Fuchs
5f832a5d81
MT#55283 refactor mem pinning into function
...
Change-Id: I8824dcf88412c68bb9f9df5dc0d6d0ed7e6fd067
10 months ago
Richard Fuchs
0e1ba80ead
MT#55283 fix module refcount
...
Change-Id: Ife7dc65308b91b223bc67dd4f81f1e0fb079c5df
10 months ago
Richard Fuchs
df6f8f9b55
MT#55283 add `fragment` to docs
...
Closes #2032
Change-Id: Iadb6c180d5dee98b1d04f377031d6489ed5148ad
10 months ago
Richard Fuchs
a5e5a27ea0
MT#55283 use seq_printf for /status
...
Change-Id: I71cd6e34e590da6b6c9b339191642a2a565dcb4e
10 months ago
Orgad Shaneh
7d715132b8
MT#55283 CI: Prevent scheduled actions from running in forks
...
They are meant for the main repo.
Closes #2031
Change-Id: I65e5ba4c8b98fc2460beceb18c0f8b70192c2efd
10 months ago
Orgad Shaneh
aa28864c5d
MT#55283 Abort make if required package is not found
...
Closes #2027
Change-Id: I609d326fe69c82268f4e58411549cf26afc68409
10 months ago
Orgad Shaneh
d9fda378e3
MT#55283 build: Get hiredis, pcap and mysql flags from pkg-config
...
Closes #2028
Change-Id: Id92bb615df466fecc3cbd7e774b8096daedd3235
10 months ago
Richard Fuchs
d851706c23
MT#55283 improve build test error output
...
Change-Id: I66ad3dbb1d746ad81d55c4daf922f0cfaf6f7850
10 months ago
Richard Fuchs
99d30be6aa
MT#55283 name spacing
...
Change-Id: Ia95f405f1fdad4690cab071cb68ca25cc465bd1f
10 months ago
Richard Fuchs
4071e42a3e
MT#55283 fix off-by-one bug
...
Change-Id: I578554e956a6630b49362ea9245255c13d6c69b4
10 months ago
Richard Fuchs
5263fb0098
MT#55283 pull down service ready notification
...
Change-Id: I1cd82828c15598ef7d2f6c868d3ea479ac3ed934
10 months ago
Alex Brown
2639d9c0d1
MT#55283 Fix Issue with pcap based recording getting overwritten
...
Closes #2025
Closes #2026
Change-Id: I9f49127725b867b5fc9e9a852e6688e2c1d10b49
10 months ago
Harsh Daga
d45a29e3cd
MT#55283 adaptive jitter buffer
...
closes #2018
Change-Id: I94d4eb08e96fe33e149a03a647c6b13c814d7469
10 months ago
Richard Fuchs
15682312b7
MT#55283 convert extmap to iqueue
...
Change-Id: Ib2cd22fe5e004fadd30d44d91fd9ad344e4b9b74
10 months ago
Richard Fuchs
f68e614709
MT#55283 convert slp to iqueue
...
Change-Id: I7afc869810917f05a08d0147b225d3162720e430
10 months ago
Richard Fuchs
ef8967dafe
MT#55283 convert packets_out to iqueue
...
Change-Id: Iff72ab45cd3d4f6579180b5ed121a1779ee8285b
10 months ago
Richard Fuchs
63aaee1b76
MT#55283 add intrusive queue container
...
Change-Id: Ib706a257b90428f8a37503e41c040ffc93d36839
10 months ago
Richard Fuchs
914f6dfa1a
MT#55283 use intrusive list
...
Change-Id: I53c561dcc781f5cbd367ccb0df7b6900241f5e24
10 months ago
Richard Fuchs
4f5d013640
MT#55283 introduce socket use counter
...
Change-Id: I2468f4faedd195c9ea52d6ee6c99eabf37b7e73e
10 months ago
Richard Fuchs
23aa836800
MT#55283 fix missing MQTT SSRC stats
...
Change-Id: I3464f56263f783b7d81d4bdddfe56cd1fafa9ac3
10 months ago
Richard Fuchs
1fdf5cf2ea
MT#55283 add TCP keepalives for Redis connections
...
Change-Id: Id16f7f0f547f45cbef95bc98ede67a30f01cf3b9
10 months ago
Richard Fuchs
750f0a88bb
MT#55283 improve timeout handling
...
Only look at the recv side of recvonly/sendonly stream pairs by default,
and only consider the silent-timeout for calls that have no receive
streams at all.
Change-Id: I7773a6cc35733b0d27c8268f648a98e59fce9813
10 months ago
Richard Fuchs
6b785e77a2
MT#55283 make arg non null
...
Change-Id: Ia30ab70c0a520b6469146bdb60fcd112f56673b3
10 months ago
Richard Fuchs
a513a60d1d
MT#55283 add port usage test
...
Change-Id: I3ee432b05479baae01539e3584d41278ef67a5ed
10 months ago
Richard Fuchs
b0d2b82199
MT#55283 replace g_atomic with atomic_*
...
Change-Id: Ia0729df4449e8bd4a2028d0373089e0fc9e1e042
10 months ago
Richard Fuchs
ee65919c60
MT#55283 replace g_atomic with atomic_*
...
Change-Id: Ib792e9fbc051ca808f82426d2cb1f0c3243b01b5
10 months ago
Richard Fuchs
388f6342ed
MT#55283 fix opus fmtp booboo
...
Fixes #2017
Change-Id: I4931cce077dd54209f2342b962a144bce965db25
10 months ago
Richard Fuchs
37813ddf86
MT#63317 rework port opening mechanics
...
Instead of opening local sockets directly during call setup, just create
the appropriate objects first, and then open the actual sockets in a
second step.
Move the opening step down, after the bundle logic has run. This way we
can avoid opening sockets that aren't needed.
Removes an intermediate step of obtaining consecutive ports.
Change-Id: Ib94c871ed6b3a433872afd23cb1aebbd9910b33e
11 months ago
Richard Fuchs
78c2e1e157
MT#55283 update return type
...
Change-Id: I76f16c3a04b1276ca04d25ea4a09f6f115f31d4b
11 months ago
Richard Fuchs
0ea27e9193
MT#63317 split apart ICE startup
...
Gather candidates in one step, and create candidate pairings against
local sockets in a second step.
Change-Id: I85bba7fe95af14d7f77a14d5baad4ea072a83bd3
11 months ago
Richard Fuchs
2ba7bd1041
MT#63317 fix possible booboo
...
Change-Id: I98926165e834eba01ef702eda1467521dca2b713
11 months ago
Richard Fuchs
e121a1e289
MT#63317 eliminate sockets shut down test
...
If we clear the sockets from the endpoint map during monologue shutdown,
we can guarantee that no sockets present in an endpoint map are ever
closed.
Change-Id: I4e3b6f39d51145fbfaebbe0bc412d8f001bbb053
11 months ago
Richard Fuchs
5b199f473f
MT#63317 use endpoint map as test for disabled
...
Change-Id: I425e33030c22119d459e3f58a2b00a64126b9e69
11 months ago
Richard Fuchs
0ebc75d229
MT#63317 rework endpoint_map hunting
...
Store the current (last) used endpoint map in the media object. This can
then be directly used when port latching is requested.
Remove and close sockets from endpoint map if fewer ports are needed.
Change-Id: I58aab82f82ecc3b0a7fc7a781394c8d77e715ecf
11 months ago
Richard Fuchs
90678613b4
MT#63317 add port usage test
...
Change-Id: Ife1f8d54306155741984f2e5379a2b474fb5a25c
11 months ago
Guillem Jover
d3457c1cfc
MT#62763 Fix shellcheck issues
...
Warned-by: shellcheck
Change-Id: I42a0a4cc60007686b220940c0ddb7dbd0a13038f
11 months ago
Richard Fuchs
0600d731c1
MT#55283 fix test case
...
Change-Id: Ib3e53a1d7c283e74ed86b5f80d9ca24950d16620
11 months ago
Richard Fuchs
0be3d106b8
MT#55283 close sockets on unsubscribe
...
closes #2010
Change-Id: I988f495e99e6eca39029958be5e504999085f1b2
11 months ago