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
4 years ago
Richard Fuchs
37323545bd
TT#14008 suppress ICE attribute warning
Change-Id: I21f0cc7dbf087888b12cb0c1272e21015f364f30
4 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.
4 years ago
Richard Fuchs
31e41d1282
TT#14008 fix poller-per-thread behaviour
Change-Id: Ie75e9ebb315801157e432b2d0ce6a07c61cdd0d0
4 years ago
Richard Fuchs
cf7dcb31be
TT#14008 add fallback if codec list is empty
reported in #1374 and #1380
Change-Id: Ie12453a0526ed202c298d06d18b6782105c9fade
4 years ago
Richard Fuchs
3535d96fda
TT#136957 fix TS tracking with supplemental codecs
Supplemental codecs such as DTMF use static timestamps while the event
is ongoing, leading to a TS jump when the RTP flow changes back to
audio. The sequencer needs to be aware of this so it doesn't mistakenly
see the next audio packet as overdue and starts to process it
prematurely.
Change-Id: I2faea9aceec21fc04920f6c3c94141725383379f
4 years ago
Richard Fuchs
f79593ecc9
TT#136957 use output PT clock rate instead of encoder clock rate
... for scheduling output RTP packets. This is mostly relevant for DTMF
packets which don't have an associated encoder when being forwarded.
Change-Id: I56ee94a9ac7f42cc65eec0703bf042065687e43f
4 years ago
Richard Fuchs
912524abc7
TT#136957 use scheduled timestamp when running timers
Change-Id: Idcd17785dca7e7ae63b6b2ec39d3fe705d4f945e
4 years ago
Richard Fuchs
757cee2125
TT#136957 correctly schedule send-now RTP packets
Change-Id: Ie96324329dae131f24784916911189dd8cf3d6b8
4 years ago
Richard Fuchs
9be9ceb8f9
TT#156052 set `destroyed` TS also for delayed deletes
Change-Id: Ib55a9a63c2bdf0bdcc71717ac73af917c933950e
4 years ago
Richard Fuchs
8b79a6074f
TT#156052 add call duration stddev metric
Change-Id: Idb8cf304323ba33e1cdbd4dbe343dc508041cc93
4 years ago
Richard Fuchs
7b5b52e932
TT#156052 add MOS stats to stats output
Change-Id: I9dd3847ae772ba0851239c3f230de72a2ed207ee
4 years ago
Richard Fuchs
970757da2b
TT#156052 add call duration metric to Prom
Change-Id: I734e9d4bf08f5b5559decb546ac150bc6bf981ac
4 years ago
Richard Fuchs
49b79e8b2f
TT#156052 use `destroyed` timestamp for call duration stats
Change-Id: I464269ffc85c7552e38abdbe326c8675b3175f19
4 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
Stefan Mititelu
7adf6ace92
Add 'seconds' to some stats duration
4 years ago
Richard Fuchs
9c0d233a46
TT#14008 support SRTCP with generate-RTCP
Change-Id: I279d26745278b12bc818e36589324828d7883a3f
4 years ago
Richard Fuchs
aea33b77fe
TT#14008 switch must_recrypt argument to bool
Change-Id: I27d7f31adb62a2fd099268ea9a82c4384bfe78a2
4 years ago
Richard Fuchs
219982ba06
TT#14008 call g_string_set_size before grabbing pointer
closes #1412
Change-Id: I02f97aa05788401586848cb36421f65828968864
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
00438148ae
TT#14008 improve pseudo string hash for YCM
Change-Id: I405694b3ea3b3c71a4414fe66383aa05275d171d
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
2e5a5f63c4
TT#147451 rename helper function
Change-Id: Id2ea3f4d9a495018319d7f8fc3b97d56ad35defe
4 years ago
Richard Fuchs
61ad51b926
TT#136955 only do DTMF event output if we have a PT
Change-Id: I2c322a3a1ff18cbb3191025607af030c0651e642
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
ef141e6810
TT#136952 split up CLI tag info writer
Change-Id: I40f9e89d11edb3857ae7d1b6663b9afb0efc5c78
4 years ago
Richard Fuchs
31ad47af33
TT#136952 split up call info CLI writer
Change-Id: I8a2aaa08b2ad1a6d8a3b6a8753b0e6e0248f43d4
4 years ago
Richard Fuchs
740bdb4295
TT#136957 reset SSRC sequencers when going to transcoding
Change-Id: I98110a3d298b4ef7884ddfe2fdc931b338d40dc7
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
a3f2781acd
TT#147451 refactor media_block_match
Change-Id: Id4094e59100d05f3e6afa5f923aa55e1c8ddba4d
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
Victor Seva
23d0dad18f
TT#124273 fix typos detected by lintian
Change-Id: I5b0636ba18dc0e2a1fc888e94cf44cbd20a103ea
4 years ago
Richard Fuchs
e6405c4a2f
TT#14008 add locking for `bypass_seq` case
Some functions (packet_dtmf in particular) called from the sequencer
depend on upper-level locking, so make sure this happens even if we're
bypassing the sequencer and do passthrough.
Change-Id: I6c729c3ba8075736fd614b8c06e3415b9c9e5ca7
4 years ago
Richard Fuchs
ca0c699356
TT#113650 support "active-replica" alternative to "master"
Change-Id: I2f5a5a8ef8dc64263c881d94bb780224707e6997
4 years ago
Richard Fuchs
9c2b53b3ed
TT#147800 don't clutter output dict with empty SSRC entries
SSRC entries might be present for the same SSRC in multiple contexts,
but only one of them will hold the actual stats. Don't create output
SSRC entries unless we know they won't be empty, as otherwise we won't
be able to create the actual SSRC entries (with stats) later on as they
dict key will already exist.
Change-Id: I54e263a17e14869ebb98456963f8ca75d11e9a89
4 years ago
Richard Fuchs
271a2a2a54
TT#14008 fix local SDP copy incorrectly returned from function
closes #1405
Change-Id: I12ba3970d7991a966f9403dca13a57bd0ef5120e
4 years ago
Richard Fuchs
56d4ff74f2
TT#14008 add config knob for max log line length
This is useful because we log to stderr, which technically would allow
unlimited log line length, but this is in fact turned over to syslog,
which truncates log lines that are too long.
Change-Id: Iee8994842335ab1cf94941c14eced01e29120bc9
4 years ago
Richard Fuchs
ba14e05724
TT#14008 use correct accumulator for managed_sess and avg call duration
closes #1399
Change-Id: I9ef93a78bb6317f33cd90779d0069c5a7b328008
4 years ago
Richard Fuchs
80e002135f
TT#14008 rate limit error messages from sendmsg
Change-Id: Ic7acfd40d498f9c3279a9d638e5650d24fbabec9
4 years ago
John Burke
fab19ed8bb
Add support for endpoint-learning on a per call basis
4 years ago
Richard Fuchs
835ba08b5f
TT#14008 handle NULL selected_sfd in rtcp_send_report
closes #1404
Change-Id: I282db8287f31d49eb26f0baf01951187577d7890
4 years ago
Richard Fuchs
0c95b124fd
TT#151150 don't call __get_logical_interface with NULL name
Change-Id: I5a2426974fd73a17ed7986e1146d9a2ae6423f08
4 years ago
Richard Fuchs
179b7edec1
TT#14008 fix possible segfault
Not only check for the presence of a sink, but also check for a sink FD.
Treat a sink without an FD as if there is no sink.
Closes #1401
Change-Id: I04c0be33f8cae39399674ca0a87185a729daa843
4 years ago
Richard Fuchs
2c0e196be9
TT#107565 fix SDP ordering issue of s= vs o=
Change-Id: Id6ad795bf9304e66012958060104af00a4bc1c6b
4 years ago