Richard Fuchs
30ead56f72
fix incorrect sample config (`1` instead of `true`)
reported in #721
Change-Id: I0e569ec7404604a28c00aabd6d154b9bfa7200ff
7 years ago
Richard Fuchs
b5e938a606
fix missing recording_on flag set
reported in #721
Change-Id: I273b4d7c1ba167058366e4c36e5a392b7c734cf2
7 years ago
Richard Fuchs
2cfb80f56c
TT#56553 fix double G.722 sample rate issues
Fixes missing RTP TS rescaling
Fixes double clock rate adjustment
Fixes sequencer not releasing packets after seq reset
Fixes #748
Change-Id: Ic6021ab6fd781cd291c0aba3e03633f565908c29
7 years ago
Richard Fuchs
a67dcd5892
TT#56007 TT#55864 make RTPENGINE rules UDP only
The rtpengine kernel module only cares about UDP packets, so narrow down
our iptables rule accordingly.
Change-Id: I33856efa6b39372104b05ec0dc6f34ad0b5e0cbd
(cherry picked from commit cd23c05044 )
7 years ago
Richard Fuchs
cd34aa036e
TT#56007 TT#55864 leave xt_RTPENGINE loaded after stop
There might be a firewall script that installs and manages the
xt_RTPENGINE rules even if rtpengine isn't running at the point. Leave
the module loaded if possible and unload it only for a package removal
or upgrade.
Change-Id: I5a35e965379aebd757a45883f82bbcb5fa2412e8
(cherry picked from commit 9c6677d2fd )
7 years ago
Richard Fuchs
e58071ed06
Add missing check_conn when running SQL statements
Intermittent errors from the DB can cause the connection to be reset and
not re-established for the next statement to be executed, leading to
segfaults.
fixes #742
Change-Id: I1ed5b75457ab7167a70df5e04a964d37f98e60f7
7 years ago
netaskd
5c6fe96fa0
Define requires according to the installed kernel.
thanks @mika for suggestion
7 years ago
netaskd
4ab033b893
add kernel-devel as requires for DKMS module build on target host
DKMS module will not builded without kernel sources
7 years ago
netaskd
b711c2dd46
rtpengine.spec: fix building dkms module on a different host kernel version
7 years ago
Richard Fuchs
0872ab573e
TT#54800 add ptime-reverse tests
Change-Id: I565daf5d86576f3b47bb190685fc68cfed1ec739
7 years ago
Richard Fuchs
3d1df02536
TT#54800 fix ptime overrides
Adds a new option ptime-reverse to complement setting of ptime towards
the offerer. This and ptime setting are now ignored in answers.
Change-Id: Icbc04f191cbc194b75b72a97832fcaba58feb10e
(cherry picked from commit e6b1b1e3c3 )
7 years ago
Richard Fuchs
397b339dc9
TT#54800 add ptime tests
Change-Id: Ia8423bf560d6a563b5a3f6ba77edf11a726b2766
7 years ago
Richard Fuchs
31aef6f0f1
TT#54800 sequencing fixes
fixes incorrect seq when packets are consumed, as well as incorrect seq
for out of order packets
Change-Id: I0e2117ab68ccf5d0fa63b395a059aeb992f7dd13
7 years ago
Richard Fuchs
d994ca93ea
as per docs, remove all relay candidates under force-relay
fixes #728
Change-Id: I2828d4d9d5832d7248ea78b48bd38dba9592cca1
(cherry picked from commit 661994e362 )
7 years ago
Sipwise Jenkins Builder
7ea5e992b6
Release new version 7.2.2.0+0~mr7.2.2.0
7 years ago
Richard Fuchs
34c75d6b08
Reverse participant matching logic
The from-tag may have been added to the message automatically, so we
should first check if any other flags are present, and use it only if
nothing else was found
Change-Id: Iec95d56812c31185ecd1171d01c922e7af0f5dd4
7 years ago
Richard Fuchs
9566c05364
compile fix for with_transcoding=no
Change-Id: I6cf6b7d7bc60b21a74be2a7c6c6d11b13b954a04
7 years ago
Richard Fuchs
a7972ea506
error out on invalid clock rate parsed from RTP format string
to debug #720
Change-Id: Ibb2796e49877b7c511583bfc1c3dda0bc6949ec6
7 years ago
Richard Fuchs
65839d0f19
fix always-transcode not being honoured when only codec-mask was used
reported in #664
Change-Id: I2cdfe405c61d48513a01393c5306fe4c875325ee
(cherry picked from commit 8f3c309c7f )
7 years ago
Richard Fuchs
5be3192cfc
TT#50652 fix possible sequencing bug while resampling
Change-Id: I5e0baec70892cbef9a9a036285379fe75ee3eba0
(cherry picked from commit 6092c91ae4 )
7 years ago
Sipwise Jenkins Builder
867fa02d90
Release new version 7.2.1.0+0~mr7.2.1.0
7 years ago
Richard Fuchs
497c2d6a8d
TT#49104 move RTP sequencing into SSRC context
Detect and handle RTP seq resets while transcoding and provide
consistent output seq
fixes #664
Change-Id: I063bd9432f253fde25e90cdeb4e3460a882f7778
7 years ago
Richard Fuchs
072bfb8a45
fix possible null pointer reference
fixes #709
Change-Id: I65f9ad85547f12b12202dd0f76b34b00525b96ca
7 years ago
Richard Fuchs
4bb1381cfb
compile fixes for older openssl versions
closes #711
Change-Id: I04925a0cf105bf70d63dd7b1ed3297aceecac5a5
7 years ago
Richard Fuchs
6c3a6b58f5
add documentation for PCM forwarding feature ( 3b284605)
Change-Id: I97be194e7e9ad46e18aff5ede3101aafc801404d
7 years ago
Richard Fuchs
717021a29c
add ssllib to gitignore
Change-Id: I28d25e1fffa72e4b9f8c179d341873963b67b93d
7 years ago
Richard Fuchs
3b28460507
TT#52651 Squashed commit of the following:
commit 2029144368
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 21 13:12:50 2019 -0500
TT#52651 switch TCP to TLS
Change-Id: Iab6b05d3b5c88553cbd6f531f3189084d9e71995
commit b28e718ee4
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Feb 22 09:20:54 2019 -0500
TT#52651 generalise streambuf interface
Change-Id: I7d5ab8ffe13e52d4dbb1901531cc13fcc173d60d
commit cb2dbd2a92
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 19 09:32:56 2019 -0500
TT#52651 add start/stop forwarding commands and party selection logic
Change-Id: I8ef7e288d3a3e485bd2fa14e1a2407a0c8d94bac
commit 442c48f627
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 15:43:23 2019 -0500
TT#52651 produce output for TCP forwarding feature
Change-Id: I18543921577faf655679829684f5af46c0af5054
commit 2ef8028eb2
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 10:18:21 2019 -0500
TT#52651 make recording to output files optional
Change-Id: I12c288b965641352658ce3b499c2ee90593e1322
commit 10a58cd7a0
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 16:02:16 2019 -0500
TT#52651 strip streambuf into lib and include in recording daemon
Change-Id: I1f6638961e9e767063e0b4e6b5d55d88799366d3
commit 9d3bb5bffc
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 15:40:12 2019 -0500
TT#52651 extract/move unrelated old legacy decoder struct members
Change-Id: Iffd79b43180c30a9e128a460f7ba85ba49dedeaf
commit 1bc38e4201
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:43:42 2019 -0500
TT#52651 config options for forwarding option
Change-Id: Ieaa2ee0e55a0c531158174bc6a534738a64dbee6
commit 06d61cd3dd
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:29:52 2019 -0500
TT#52651 move socket.[ch] into lib/
includes necessary re-shuffling of additional code pieces
Change-Id: I74b314ab5936ac8a0eeaff94e084617b59b28d79
Change-Id: I025e8ec86b90ede79565542dff57ec1559d04200
7 years ago
Guillem Jover
b290bb8a98
TT#53700 Switch nfs-mount systemd service from Type oneshot to simple
This service should be stopped when we disable the ngcp-recording-daemon,
but ngcp-service has logic to skip services of Type oneshot.
In this case turning it into a Type=simple is fine because even though
there are no daemons/programs remaining after execution, we do set
RemainAfterExit=yes explicitly.
Change-Id: I3bde666ae1ed19ac56d38b3e011714e66615a378
7 years ago
Richard Fuchs
490d7eb019
disable all AMR tests by default due to inconsistent codec libs
closes #708
Change-Id: I48f8c229486dc52c227e64782b05f931f1012c66
7 years ago
Richard Fuchs
daa0bf932e
fix tests compilation for with_transcoding=no
fixes #707
Change-Id: Ieb8b5365aab6b07967eb1576626fbf9dc0df27ad
7 years ago
Richard Fuchs
c33399ace6
fix test suites for different implementations of base64 encoding
further fix for fa90e4d
Change-Id: Ic8aa9e08f21fe79ba6d55fea87928e9ece228779
7 years ago
Sean Bright
3f2a82480c
README.md: Update main bcg279 link
7 years ago
Richard Fuchs
fa90e4dc0e
fix test suites for 0c9bb7c
Change-Id: I689b24ab0deae6439b8359dbfa4020259d7e0572
7 years ago
Alexey Vasilyev
0c9bb7c440
Rename crypto suits according to RFC6188
7 years ago
Richard Fuchs
88c81bef22
fix incorrect VA format in die_errno()
Change-Id: I94d035606cb58dc7a263791a1ca148044cc45947
7 years ago
Guillem Jover
048b6ed191
TT#50752 Add ngcp-service aliases in systemd service files
These are names used in the ngcp-service nsservices.yml file, adding
them here makes using the system more consistent.
Change-Id: I66b0149cbfe70d2260a6c50617a52e53604256da
7 years ago
Richard Fuchs
3cdfe5af1a
suppress loading of default config file for auto tests
Change-Id: I018de8dc31781756ef69738706531ad5f3dfb2af
7 years ago
Richard Fuchs
8d625cc03f
add auto test suites for #661
Change-Id: Icce0a216f190efad365e613e76290630540dd9b1
7 years ago
Richard Fuchs
4266f8e542
move SDES-no handling into __sdes_accept
This fixes SDES-no being honoured also for SRTP>RTP transcoding cases
additional fix for #661
Change-Id: I229f89c8b3c6a8e485190d67162e95eee387e307
7 years ago
Richard Fuchs
0811c59120
fix bug with incorrect open3 redirection for test suite
Change-Id: I261ac7a6ce1bede73a1dbc2dad9b20720f05a5d3
7 years ago
Richard Fuchs
aa0001d43b
add SRTCP debug helper script
Also fixes a bug in the Perl implementation for SRTCP decrypt
Change-Id: I426b1a5e287f2d00aecbee4ed8db82ffa55740ab
7 years ago
Michael Prokop
b5c350beb9
el init scripts: send errors to stderr and exit with proper return code
`exit -1` is out of range in shell scripts and returning
with 255, while init scripts are supposed to be exit with `1`
and similar on errors.
We're following
http://refspecs.linuxbase.org/LSB_3.0.0/LSB-PDA/LSB-PDA/iniscrptact.html
and returning with exit code 6 for configuration issues.
Change-Id: I8eda8e059c4ea10b9ddbddd1306627894073b034
7 years ago
Michael Prokop
e5956f7f9f
el init script: ensure TABLE is set by default
Otherwise we might end up with empty "$TABLE", while we're
trying to execute:
echo "del $TABLE" > /proc/rtpengine/control
This will fail with `echo: write error: Invalid argument` error then.
Instead set TABLE by default to '0'. Users can
customize this via /etc/sysconfig/rtpengine,
and the file is sourced after we set the default.
Closes #696
Change-Id: I2f9bb810757507bcc01509ce02676af0d711f515
7 years ago
Richard Fuchs
5722f8b4fd
TT#50954 use <STDIN> instead of <<>> for older Perl versions
fixes #694
Change-Id: I2ca830766577f27b85224ea3b5ffef105966ce2d
7 years ago
Richard Fuchs
aaccc10630
fix el init script inserting duplicate iptables rules
closes #696
Change-Id: Ie7d7bc6ec152c8b9cbae08422338563169158f97
7 years ago
Richard Fuchs
c0d1a050b5
provide linear alternative to bsearch for kernels < 3.0
closes #691
Change-Id: Iff988ff77937e6b932e5ebd7b7bea7010a850de3
7 years ago
Guillem Jover
ff3b821e47
TT#50954 Use <<>> instead of <> as that has unsafe semantics
Change-Id: I6462d853f5669678357b72215b453414f683337d
7 years ago
Denis Maksimov
e28ca4bcdc
add BuildRequires: gperf in spec file
7 years ago
Richard Fuchs
415af36ae6
don't add rtpmap or mid attributes for deleted/silenced streams
fixes #686
Change-Id: Ie9a155072a8b6acb8edcf59a5dd164f78a503616
7 years ago
Richard Fuchs
0c559f5860
Add missing SDES accept routine
When we receive an incoming SDES parameter, we must match them against the
previously sent outgoing SDES parameters, choose the one that matches
what we just received and eliminate all others. This is a no-op if none
were sent previously (original offer).
Issue only appears in a re-invite when the first offered crypto suite is
accepted.
fixes #631
Change-Id: I4991d0aaf0b29c1ba66045ed0e5281fc18c8af2e
7 years ago