Richard Fuchs
533d4b7d8c
TT#14008 remove obsolete config option
...
Change-Id: Ibda1c75b506646f91bb217f0eec3dcaac6ccf423
3 years ago
Richard Fuchs
3c1f4b1f1e
TT#14008 remember last used local socket for reporting purposes
...
Change-Id: I4d52df89c58bb1544dab5a6c5a87aec7975607aa
3 years ago
Richard Fuchs
45a9ce32a7
TT#156900 track local media sockets in hash table
...
Change-Id: I6a732b670ca46165675ebced4514eb8a86b7047e
3 years ago
Richard Fuchs
941a50edd5
TT#156900 add helper functions and macros
...
Change-Id: I341632e4b6dbefd6743b9b1c4578c374c84505b2
3 years ago
Richard Fuchs
b1d17cdcef
TT#14008 use pthread_cancel semantics for shutdown
...
Instead of having each thread sleep only a little while and then
periodically check for the shutdown flag, make them sleep longer and use
pthread_cancel() to interrupt the sleep during a shutdown in the
designated break points.
Change-Id: I13f1872a0176697e064ceef4062db6ca6ccf7a0e
3 years ago
Richard Fuchs
3582b623a9
TT#136957 DTMF delay support
...
Change-Id: I62dce272a1acc0a9a3b6b8c37df68a18357dbee4
3 years ago
Richard Fuchs
1ef4eeba80
TT#136957 split up DTMF event queue into in and out
...
Change-Id: I2e0619071d43df8537736187104ca12bb2f86f64
3 years ago
Richard Fuchs
c794c00efa
TT#136957 refactor DTMF event tracking into a list
...
Change-Id: I09aec46cad4cbb92aab67b7e9158d4d1598df186
3 years ago
Richard Fuchs
2ca64340e1
TT#136957 support DTMF triggers for blocking
...
Change-Id: I32e0d02e739ceb5a34aaf187b1ea086482e6d73e
3 years ago
Richard Fuchs
6ac4f12c01
TT#136956 add more options for DTMF replacement
...
Change-Id: Ic78a34042ad664bd54e35647636864ea99e60385
3 years ago
Richard Fuchs
576774614b
TT#136956 add support for DTMF-security=zero
...
Change-Id: I48d612697ac3f89852b2b7374cf6e442e4a8222e
3 years ago
Richard Fuchs
9da5a46fcb
TT#136956 support DTMF-security=random
...
Change-Id: I4100c1511be743901d302491238872990f213118
3 years ago
Richard Fuchs
320642ddf2
TT#136956 support DTMF-security=tone
...
Change-Id: Ide898f68d788f39674b8fdb4f4edb0aa14e0884b
3 years ago
Richard Fuchs
38f97c2df8
TT#136956 support DTMF silence replacement
...
Change-Id: If693800a955a9ddf7245da0082426ae609deb407
3 years ago
Richard Fuchs
478c2608e8
TT#136956 upgrade `block_dtmf` to enum to allow for different modes
...
Change-Id: I8bfa1cb9067a00958a2a1415b82e01c02deaf758
3 years ago
Richard Fuchs
ba556db1d4
TT#136955 tie in DSP DTMF events with other DTMF reporting
...
Change-Id: I72fe6b670c42fe4ed6ba32a1fd142c290b2aaca2
3 years ago
Richard Fuchs
e7edfc03b4
TT#136954 add explicit flag to en/disable DTMF detection
...
Change-Id: I0da522ec5b195d580b44e6c5d0cfc42b73a8ac4b
3 years ago
Richard Fuchs
8e8e78afb1
TT#136952 add new delay_buffer struct
...
Change-Id: I8b3b663d3688f1872b059791381fc8e2034c7293
3 years ago
Richard Fuchs
ecf02ddcc1
Merge branch 'master' of https://github.com/smititelu/rtpengine
...
Change-Id: If22a490e36138e14fe46cbfad6b9d815a4fceeaa
3 years ago
Richard Fuchs
12f23b311c
TT#157801 shift handling of v4/v6 addresses
...
Handling of dual stack v4/v6 was previously done by the individual
listener objects for INADDR_ANY listening addresses. If listening on
INADDR_ANY was requested, then each listener would create two instances,
one for IPv4 and one for IPv6. This works fine for INADDR_ANY but fails
for listening on host names that resolve to multiple addresses, such as
`localhost`.
Solve this by relieving the listener objects from handling this and
instead handle it in the code setting up the listeners. If a host name
resolves to multiple addresses, then set up multiple listeners (up to
two supported currently). This allows us to listen on `localhost` by
default and have both 127.0.0.1 and ::1 active. INADDR_ANY is handled
specially by also setting up :: in that case.
Change-Id: I2a1e1d7090d7d23863c7a9bb1e89b85ad2ea44f4
3 years ago
Richard Fuchs
f5a148f268
TT#14008 change local ICE ufrag/pwd after ICE restart
...
Implements RFC 5245 9.2.1.1
Also reset ICE role after a restart
closes #786
Change-Id: Idc7ec9f409b70598e2840fb7d0a31a12f9db3c21
3 years ago
Stefan Mititelu
528e108a1e
Add new graphite-timeout parameter
...
Needed to be able to set graphite socket timeout.
Useful when one wants rtpengine to force the graphite connection
to fail faster, in case graphite server gets filtered while
connection is ongoing.
3 years ago
Richard Fuchs
31e41d1282
TT#14008 fix poller-per-thread behaviour
...
Change-Id: Ie75e9ebb315801157e432b2d0ce6a07c61cdd0d0
3 years ago
Richard Fuchs
cf7dcb31be
TT#14008 add fallback if codec list is empty
...
reported in #1374 and #1380
Change-Id: Ie12453a0526ed202c298d06d18b6782105c9fade
3 years ago
Richard Fuchs
8b79a6074f
TT#156052 add call duration stddev metric
...
Change-Id: Idb8cf304323ba33e1cdbd4dbe343dc508041cc93
3 years ago
Richard Fuchs
7b5b52e932
TT#156052 add MOS stats to stats output
...
Change-Id: I9dd3847ae772ba0851239c3f230de72a2ed207ee
3 years ago
Richard Fuchs
45cb995b19
TT#156052 add call->destroyed timestamp
...
Change-Id: I76e973faee5797c00b1f5a1e01a73df903874ccb
4 years ago
Richard Fuchs
f613cf6fb2
TT#156052 rename total_calls_duration to _intv
...
These stats are per-Graphite-interval stats. The name should reflect
that.
Change-Id: I53844b8b1e61000873bc839f0ab713b7fc5ac1d6
4 years ago
Richard Fuchs
aea33b77fe
TT#14008 switch must_recrypt argument to bool
...
Change-Id: I27d7f31adb62a2fd099268ea9a82c4384bfe78a2
4 years ago
Richard Fuchs
e11407ab8d
TT#144701 support JSON in NG protocol
...
Change-Id: I5ffe551c2712d0dece3490cd5653c6817603642d
4 years ago
Richard Fuchs
16f2f9af5c
TT#14008 switch from repeated hash lookups to list iterator
...
Change-Id: Ib877462c584de20aa7c7af35ce567392b2a7b6ba
4 years ago
Richard Fuchs
f1d37e9c93
TT#147451 add support for SIPREC style SDPs
...
Change-Id: I6a0bba30e8e356a44156571b7dc3b094176ef26e
4 years ago
Richard Fuchs
a7e22ba698
TT#147451 add support for multi-ml subscriptions
...
Change-Id: I1ff9861840bc743068eac2cd18d81990d44acdc9
4 years ago
Richard Fuchs
77be8a00b0
TT#136952 add convenience function to reset all codec handlers
...
Change-Id: I690b1a6c3388c47ba97fadb2b8740eff8706884f
4 years ago
Richard Fuchs
fdb529eb5a
TT#136955 refactor DTMF event reporting
...
Change-Id: I420f56674a639a4b41b5333d8d9b8ffa843a7042
4 years ago
Richard Fuchs
ea7d04ae76
TT#136952 add CLI options to manipulate calls and tags
...
Change-Id: I9b6b24cbcaa7ed62a5dd786ae5d847ecee8cd46f
4 years ago
Richard Fuchs
bcb912bc27
TT#136952 allow passing user data to ssrc_hash_foreach
...
Change-Id: Iea158f06901de33ad9b53f8c277011b859cb214a
4 years ago
Richard Fuchs
4cbeb15c07
TT#147451 obsolete necessity for `from-tag` in unsub/sub ans
...
Change-Id: I409dbfb032265d0da39bff4cb63bf6dd5388cde4
4 years ago
Richard Fuchs
730cc646a8
TT#14008 eliminate duplicate DTMF reports when forking media
...
With multiple media subscriptions, codec handlers are called
consecutively, once for each forwarding chain, leading to DTMF events
reported multiple times. The DTMF trigger must therefore keep track of
the state in the upper media object, not in the codec handlers.
Change-Id: I9ceaf406e093f25b7c037a325a0f2a7a91954922
4 years ago
John Burke
fab19ed8bb
Add support for endpoint-learning on a per call basis
4 years ago
Richard Fuchs
426575aa32
TT#14008 add backtraces for obj* debugging output
...
Change-Id: I51c6667fc835eedf54a10878bc09620557aa8d22
4 years ago
Richard Fuchs
44e53a2767
TT#147451 add missing cleanup of subs lists
...
Change-Id: I54d1545d3b302d3d73168c3c64b15af3e327a494
4 years ago
Richard Fuchs
ff00569c89
TT#14008 extra mitigation for forwarding loops
...
Flag a socket with an error strike when packets are received too fast,
and refuse processing once too many strikes have occurred. This should
prevent forwarding loops from taking down the system.
Change-Id: Idc574f2f1dbbcb156efc37a80e903dc4e60ef1b1
4 years ago
Richard Fuchs
d3a3382ac9
TT#14008 convert threads_join_all arg to bool
...
Change-Id: Ie1ef9bbfe6faaf9fa7ed163d51475f6f353309df
4 years ago
Richard Fuchs
24f607752c
TT#145450 add support for tracking multiple SSRCs per stream
...
Change-Id: I885fbf7973133af8d7c9184eb0e75f5401309c8e
4 years ago
Richard Fuchs
834eb034af
TT#14008 add packet loss tracking for userspace passthrough
...
Change-Id: Id2ea329333a4236389e2a2b567fba76ffc7cea5f
4 years ago
Richard Fuchs
785ed90bba
TT#14008 eliminate duplicate packets_lost counters
...
This solves inconsistent stat output
Change-Id: Ic4c010fbceb83d1f8d5fffecacb3c65a436bfeae
4 years ago
Richard Fuchs
41966c9648
TT#14008 associate interface with call_monologue
...
This makes it possible to add new streams without specifying the
direction/interface again.
Reported in #1366
Change-Id: I8f320ecbe72f123d755ba80370de9c40960eb0f0
4 years ago
Richard Fuchs
0fa3a105af
TT#131402 add stats for user/kernel streams
...
Change-Id: I78800a3bbef9fdd92369c2ed14efd39c7799178f
4 years ago
Richard Fuchs
7699e1da64
TT#131402 convert bitfield functions to `bool` type
...
Change-Id: If7f59a8a8437752c13909f6d6a09f8056ac4efbf
4 years ago