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
4 years ago
Richard Fuchs
aad3fb3130
TT#157801 support "any" interface config
Allow usage of "any" as interface config option to configure any and all
locally present network address, except loopback. This allows us to ship
a working default config file.
Change-Id: Ic13efd5f668e3bb317948b226c5700331f95a708
4 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
4 years ago
Richard Fuchs
37323545bd
TT#14008 suppress ICE attribute warning
Change-Id: I21f0cc7dbf087888b12cb0c1272e21015f364f30
4 years ago
Richard Fuchs
31e41d1282
TT#14008 fix poller-per-thread behaviour
Change-Id: Ie75e9ebb315801157e432b2d0ce6a07c61cdd0d0
4 years ago
Richard Fuchs
4c2c50d13e
TT#14008 update for YCM config
Change-Id: I465fc0f594c2c6127074f6fbd33b3506eb232271
4 years ago
Michael Prokop
0f1dd7bc89
TT#108003 GH coverity workflow: ensure to use up2date repository
Package installations might fail, if the underlying repository changed
(as compared to the running base image).
Let's match behavior of .github/workflows/unit-tests.yml.
Fixes https://github.com/sipwise/rtpengine/runs/4751441960 :
| E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/s/systemd/libsystemd-dev_245.4-4ubuntu3.13_amd64.deb 404 Not Found [IP: 52.252.75.106 80]
Change-Id: Iaca7086d68ac8047ef22357636f1124ab9148c59
4 years ago
Richard Fuchs
649fdb95e9
TT#146201 fix incorrect variable used in proc_list_show
Change-Id: Icbc1e5f9d83a477db760b1745d3d96c9ae14a8cf
4 years ago
Richard Fuchs
43523b82f7
TT#146201 fix kernel test script
Change-Id: I0ac9e04a8b624bee30d3e19195096ce55255ddc2
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
Ryan Fowler
61b0e3dc74
Fix README typo
my -> may
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
Richard Fuchs
5fba6c7172
Merge branch 'master' of https://github.com/smititelu/rtpengine
Change-Id: Ib3d067385d9ea0efe259aaeec97bfd4f8f7075f1
4 years ago
Stefan Mititelu
7adf6ace92
Add 'seconds' to some stats duration
4 years ago
Richard Fuchs
75ddfd46b6
TT#14008 add tests for SRTCP generation
Change-Id: Id4d8da184a5cacb4a68d0b8bad779959d1d61cc9
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
11549cc3a2
TT#144701 support JSON in tests and CLI tool
Change-Id: Idd1b413d720b7be8f36849660c547332a344a698
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
72504a01b7
TT#14008 null-proof string hashing and address parsing
Change-Id: I3bf5ef43b4f883ac1ad0e8a7502b79f13ba3e33d
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
fbf649146a
TT#136956 convert pow() usage to lookup table
Change-Id: If16607fb1f6cf14e0cc3dbc7bd288291325d8473
4 years ago
Richard Fuchs
a1a0b03ab9
TT#136956 refactor DTMF frequency generator code
Change-Id: Ibcecc6dd04971e575747e3609f01858435351d92
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
4f705362e9
TT#136952 test-transcode: hold reference to mock call
Change-Id: Id930b1bf260c712872cf7a9498ea50818f51fcb9
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
Victor Seva
bc09e94d61
TT#124273 pkg/deb/generator.sh
* produces the non-NGCP debian dir
* It will be called by a jenkins job
Change-Id: I7e5eaabfc39a2ef3985a8a908998299c79d864a8
4 years ago