Karsten Horsmann
0f991f6666
readd User/Group and switch back to forking cause CentOS7 systemd is very old
5 years ago
Karsten Horsmann
11290d48b6
if ngcp-virt-identify not there should not break the script
5 years ago
Karsten Horsmann
b7040ad992
add iptables helper for el systemd to spec file
5 years ago
Karsten Horsmann
6d67dc3b3a
* add also ngcp-rtpengine-iptables-setup. So iptables rules will created like the debian packages did that.
5 years ago
Karsten Horsmann
b72e53b6a2
Correct EL systemd permissions
Systemd complains about 755 rights of EL service files.
"systemd[1]: Configuration file /usr/lib/systemd/system/rtpengine.service is marked executable. Please remove executable permission bits. Proceeding anyway."
5 years ago
Richard Fuchs
3eae4b3af3
TT#14008 add MOS-LQ option
Change-Id: I2cacceda1f910fb2ed74ccd9f17cde1bf50031b0
5 years ago
Richard Fuchs
891f45b4df
TT#14008 run jitter calculation for passthrough and egress
Change-Id: I004e8747d3f3dd83d43251ce93e4d98c3a739ecf
5 years ago
Richard Fuchs
a28df1f871
TT#14008 fix incorrect ingress octet count
Change-Id: I45b66c4fe29942855494a4e4aee080fca463c351
5 years ago
Richard Fuchs
369e64f9a7
TT#14008 add mqtt support
Change-Id: Ica4a3e4ef58eadf3feca44ea63f2308103b3146f
5 years ago
Richard Fuchs
e32d128bd8
TT#14008 add cumulative global stats counters
Change-Id: I884a47c6d3e52fcb5572187fbd71fd11ec08cb8e
5 years ago
Richard Fuchs
95a30674ac
TT#14008 implement lock-light global call iterators
Change-Id: Ie01eb06262267a1aa0b69f632a515d5271bafb52
5 years ago
Richard Fuchs
5c50ec2bbe
TT#14008 convert RTCP timer and DTX to regular timer
Change-Id: I7f9e1e586e237d6b40ee250ed149cb21eae87f95
5 years ago
Richard Fuchs
6f3bf25789
TT#14008 improve timerthread performance
The only reason the wait time in timer threads is capped at 100 ms is to
catch the daemon's shutdown. Since these threads already use a
condition variable to be woken up, we can use the same condition to wake
up the threads during a shutdown, allowing for a much longer (possibly
unlimited) sleep time in timer threads.
Change-Id: I3b5f280a4d502176a731e8b52b1b731022c8db4f
5 years ago
Richard Fuchs
232f3470b3
TT#14008 wake up only one timer thread
When a new timer object is scheduled to run in the future, we only need
to wake up one thread to notify about the new object as only one thread
is needed to handle it. The other threads can remain in the previous
sleep state.
Change-Id: I92ccec61a6c5a4a3cea5c5428c85f83707cf4d64
5 years ago
Richard Fuchs
4b02406b0a
Merge branch 'master' of https://github.com/semhoun/rtpengine
Change-Id: Iaef09e2cfa21250e3ec347eb2afb1efb89344f76
5 years ago
Nathanaël Semhoun
c76b0b7ef6
Fix G729 packet duration
Without this correction, timestamp is not incremented in case of transcoding
5 years ago
Richard Fuchs
017dbbd330
TT#14800 update last_packet during signalling events
closes #1283
Change-Id: I640ff269643eb6ecf9d6fd2a21601aeb39acac58
5 years ago
Sipwise Jenkins Builder
01f06ceb3a
Release new version 10.0.0.0+0~mr10.0.0.0
5 years ago
Richard Fuchs
25cb6ff857
TT#14008 handle deprecated g_memdup
GLib 2.68 deprecates g_memdup() in favour of g_memdup2() as the former
was using a guint second argument which could lead to integer overflows
(gsize should be used instead).
Change-Id: Iaa3e3b1ecaab00d1ac887c915397b15b7204dd11
5 years ago
Richard Fuchs
1b49b43135
TT#14008 release all references held by timerthread on shutdown
This makes sure all objects are cleaned up during shutdown even if the
respective timer hasn't run yet.
Change-Id: I197b930f1b6e407819cc5a8c4ebd92fcef21b2cd
5 years ago
Richard Fuchs
58b566cda6
TT#14008 call the free func only if set
This avoids possible segfault by calling 0x0
Change-Id: Ib45c19d8cf785887cc20f8a07cf30bea270c85e1
5 years ago
Richard Fuchs
50834df3ca
TT#14008 call statistics_free after codecs_cleanup
Some codec handlers hold references to objects held within the
statistics hash table, therefore we must free the statistics after all
codec handlers have been released.
Change-Id: I3832dbeeaaf21d4a82be2dc2c842718415fd46f7
5 years ago
Richard Fuchs
b110072ae4
TT#14008 deprecate av_init_packet
Recent ffmpeg versions have removed AVPacket from the public ABI,
therefore deprecating av_init_packet on statically allocated objects.
The replacement is av_packet_alloc()/av_packet_free().
Change-Id: I5f93fbd19e43413c3328e143cc9147fbdf12d910
5 years ago
Richard Fuchs
b734fc080e
TT#14008 fix integer handling (overflow/sign) issues
Warned-by: coverity
Change-Id: Ia473075046253b2ffcf65344f65469772e6df993
5 years ago
Richard Fuchs
2e66655925
TT#14008 add tests for CN passthrough
Change-Id: Ia0c9f682f1a6f7e6a7d1a568595b6e1f5418dad6
5 years ago
Richard Fuchs
3a6a95f833
TT#14008 fix CN passthrough
Change-Id: I39c75c6089ca3e4c90ebfd7298a81493066a7784
5 years ago
Richard Fuchs
c7431aa846
TT#122401 disable sample filter for CN resampler
Change-Id: I42085cc7952d86f2da1efa2d29ea85321b001da4
5 years ago
Richard Fuchs
ddfce1fcdd
TT#111150 add unit test for resampler
Change-Id: Ib9b78f1200c0f4f5feae549f840059b9481d10b6
5 years ago
Richard Fuchs
9b296db449
TT#122401 fix timing issues with fluctuating ptime
Change-Id: I77877afcafaf81e357b86eefa62eb3e2279ca75e
5 years ago
Richard Fuchs
4cbd676b76
TT#122401 add DTX tests
Change-Id: I518d226c324123f94668dcec470e22b7a4f95f7e
5 years ago
Richard Fuchs
d4fbec39d1
TT#122401 return ptime from decoded packets for DTX
Change-Id: I382b842406fbee73ec752f6f4f0832736222ef52
5 years ago
Richard Fuchs
4f6af3746b
TT#122401 add early DTX logging context
Change-Id: I8ab96e3c0295cce793706226bcb7350816b7109e
5 years ago
Richard Fuchs
64670ffb61
TT#122401 add option to bypass AMR SID
Change-Id: I0504d452737573f388941dcca507e3adfd5744c6
5 years ago
Richard Fuchs
ec68dfeb31
TT#122401 add configurable CN method
Change-Id: I2aa9901b2a9dcf64563a84d77fa40d23b6c25525
5 years ago
Richard Fuchs
7e24a7e4c8
TT#122401 add CN DTX method
Change-Id: I03c977e10f9bdad284dbafb048b2a19d798957e5
5 years ago
Richard Fuchs
dc38a0e88e
TT#122401 support multiple DTX method per codec
Change-Id: I775d56e675255b3dca4227779d1146d8c8806f06
5 years ago
Richard Fuchs
11988524ab
TT#122401 add generic silence DTX generator
Change-Id: I673c1115b6678842d7d49febea3c4ecbb67f534a
5 years ago
Richard Fuchs
5d5098efde
TT#122401 keep track of decoder's output format
Change-Id: Ib55ba9787b07885cfc9544f93749710ce8cafc91
5 years ago
Richard Fuchs
da06ed217b
TT#122401 add ptime to DTX trigger
Change-Id: I96aabff398cbe296243d8bdf7499468c6da96352
5 years ago
Richard Fuchs
7c3982ea11
TT#122401 rename "lost packet" functions to DTX
Change-Id: Ie39ff68eb0be8bf77f1b6c213df837c08fc869b7
5 years ago
Richard Fuchs
b1409e58e1
TT#122401 correct ptime handling for negative values
Change-Id: I3ca96971ec20aa02deb80d2d9613bbaa33c3ae05
5 years ago
Richard Fuchs
830abd6717
TT#14008 add tests for media echo
Change-Id: Ic676f2a9ed84c245ecbb393de05869480f8edd18
5 years ago
Richard Fuchs
1755ccfef4
TT#14008 use temporary variable to avoid stray compiler warning
The glib macro for g_atomic_pointer_get() uses typeof() with an
intermediate variable, resulting in a stray compiler warning if the
argument uses `const` as the intermediate variable also ends up being
const. Use an extra non-const intermediate variable to work around this.
closes #1270
Change-Id: I3bf1404240d3b8571aaf40c38b524f578e0fdbd9
5 years ago
Richard Fuchs
586a8028eb
TT#111150 fix initialisers in test-transcode
This eliminates some compiler warnings
Change-Id: Id41742189d1a79e9d9b1bdf89a5269a9b3dcca7c
5 years ago
Richard Fuchs
0e2bddb6c8
TT#14008 add `pierce-NAT` flag
Change-Id: I1ec9b0ba152939cb6dc079e0047040da862945dc
5 years ago
Richard Fuchs
a009f76456
TT#14008 support media echo and blackhole
Change-Id: I9df4680188709867db2b61d97cc5f1e30c59e0d7
5 years ago
Richard Fuchs
cc9fb063eb
TT#14008 fix possible segfault
closes #1265
Change-Id: I7f02a9c2d7f7fbdf830018200fab99d9cf4f425c
5 years ago
Stefan Mititelu
156271ef9f
Avoid deadlock of notification thread
Fixes issue #1258 .
5 years ago
Richard Fuchs
1ec517c2f4
TT#14008 restore foreign calls from the appropriate DB
closes #1257
Change-Id: I299475a01470cc9d4910d9d304bdda9bbbee6e83
5 years ago
Richard Fuchs
30621846ab
TT#14008 keep track of selected Redis DB
This avoids unnecessary SELECT calls.
Change-Id: I916889cbd4490045fdbacd85138d631ed6f7bd88
5 years ago