Guillem Jover
708231858f
TT#26513 Pass --retry=5 to start-stop-daemon and avoid sleeping
Change-Id: I8221d1b48b9d3d76f1421f47f6dc02c509b4d7bb
8 years ago
Guillem Jover
0d3e69387c
TT#26513 Improve sysvinit output messages
Change-Id: I57162bba42a84a99cd47fe94abdd92b33436c286
8 years ago
Guillem Jover
a456e201cf
TT#26513 Remove unused modprobe variables
Change-Id: Ic52f2e4fc4bca1f76d67178be9d553b0321a8160
8 years ago
Guillem Jover
172bd1f637
TT#26513 debian: Simplify upstream version fetching
Change-Id: Ia1e99d197b2f63d5fa36edf0475e2aa3f4c83053
8 years ago
Claudiu Boriga
3472821ccc
Add option to set TOS for control-ng interface
8 years ago
Sipwise Jenkins Builder
b637c8f4b7
Release new version 6.1.0.0+0~mr6.1.0.0
8 years ago
Guillem Jover
6721f3c973
TT#22072 Update debian/.gitignore
Change-Id: Ic284326be495c55c0f3b597d72ffc591b79d72ad
8 years ago
Dmitry Poroh
cc09f4d3de
Crash stream_packet in case of out_srtp is NULL is fixed
8 years ago
Guillem Jover
677c9a52d2
TT#22072 Update packaging
- Bump Standards-Version to 3.9.8.
- Bump debhelper compatibility version 10.
- Switch from Priority extra to optional.
- Canonicalize Homepage URL.
- Add a debian/.gitignore file.
- Replace ngcp-rtpengine-dbg with automatic dbgsym packages.
Change-Id: I969b608f2c737f62eef0082cad82bec6293af3f1
8 years ago
Richard Fuchs
031921c322
purge old entries from SSRC hash table if it gets too full
fixes #417
Change-Id: I4da50858d3c4959687b341b7c0856a868c87ffa7
8 years ago
Guillem Jover
465f3fe721
TT#24097 Remove $ from variables inside arithmetic evaluation
Change-Id: I51742f8b08f4402016e6c640d289342fcb51b926
8 years ago
Guillem Jover
53b3c36939
TT#24097 Fix shell quoting
- Add missing quotes.
- Switch some problematic usages to use bash arrays.
- Override shellcheck errors (these might need fixing in the future).
Change-Id: Id451ff9f4c5d5ef9b3826544908d64e9c08c5797
8 years ago
Guillem Jover
376df64d80
TT#24097 Use «grep -E» instead of deprecated egrep
Change-Id: Ia4d51ece3aba31777f62c92897d4e7c207e6d07c
8 years ago
Guillem Jover
33bafcfc3c
TT#24097 Use $() instead of deprecated ``
Change-Id: Ief744bc63928e9eeee72436911e01b7b2a29c260
8 years ago
Guillem Jover
04f57900fc
TT#24097 Switch for loop to use the i variable
This makes it a more natural code pattern.
Change-Id: I200df650625de63ec1a7cacb05c73ee8f0c40080
8 years ago
Guillem Jover
747661ff0d
TT#24097 Do not use bash builtin names in sh scripts
Even though this is a false-positive, it confuses checkbashisms. So
let's rename the variables to something else, even more descriptive,
to avoid the check error.
Change-Id: Ife79bf76121bb4e3c120525ffe5a0eca871936f6
8 years ago
Guillem Jover
33518213c0
TT#24097 Remove unused shell variables
Change-Id: I529a493b2c8d3573d1b848c3fffa951bb8fc60c9
8 years ago
Guillem Jover
19b4df7fb6
TT#24097 Do not use unportable test operators
Change-Id: Ifea38fdfadf5b1e80bb6a9d9158cec4eeb533531
8 years ago
Guillem Jover
b2636dcb29
TT#24097 Enable strict and warnings everywhere
Change-Id: I7362eaf95a41c67f65d79ea9e4bc1fb94eb32e69
8 years ago
Guillem Jover
0bdc116387
TT#24097 Rework perl code flow
- Avoid comma-separated statements.
- Avoid mixed boolean operators, and use proper code flow keywords.
Change-Id: Iec4c85a3d39fe94ba7b9f293dc158892ae7d9577
8 years ago
Guillem Jover
cff9d296fd
TT#24097 Reorder hash assignment to make perlcritic life easier
The code is correct, but perlcritic seems to have problems parsing it
and confuses it with a statement separated with a comma.
Change-Id: I76cd82699cffa2b1a9d938c53172f02d09f47583
8 years ago
Guillem Jover
acf84a7eb4
TT#24097 Use semicolon instead of colons for end of statement
Change-Id: Iebad9ae973f5e6ddd9712635c21d6137536c0d92
8 years ago
Guillem Jover
0012037a32
TT#24097 Allow perl builtin homonyms for method names
These are methods and do not really conflict with the perl builtins
with the same name outside of this package.
Change-Id: If7405ebc6a9e862433e576743ae6c32d7d6ec51e
8 years ago
Guillem Jover
b4d0ff7f39
TT#24097 Use upper-case HERE-doc markers
Change-Id: Ic161ae00c573c6febb4c8366ed1ee3773c2cfc0e
8 years ago
Guillem Jover
0c728b2041
TT#24097 Localize %ENV variable assignments
While these instances are a bit pointless as they are assigned on the
file scope, and this is something that should be allowed by perlcritic.
Let's just do this, which does no harm, so that we can catch other
problematic cases.
Change-Id: I674b1374a62fa976e20a3fedf356ae6d4848a796
8 years ago
Guillem Jover
301af4a2e9
TT#24097 Declare variable as my
Change-Id: Id5aa7f7f3c0839564804102fb401e5422e676433
8 years ago
Guillem Jover
d5ad4a9f88
TT#24097 Do not use magic variable names
These variables have magic meanings, we should avoid their usage to not
confuse readers nor trigger side-effects.
Change-Id: Ieb759f74ccde6ba6466f5c02743e3f881b5d53b7
8 years ago
Guillem Jover
bf514fb2a0
TT#24097 Do not directly return result from sort
Using sort on a scalar context has undefined behavior. Assign the result
of the sort into an array and return that.
Change-Id: I180ba1dfcafe6e49132a38bd01be715718a4dff1
8 years ago
Guillem Jover
aa2eaee95e
TT#24097 Use a regex for split
Change-Id: Id8543d7d792e35a736c770fc87a20fa399d68bad
8 years ago
Guillem Jover
4f006a5cad
TT#24097 Use block form for map and grep
Change-Id: I6e2c68762c13bb89dcaf916f8e5ce476c34179dd
8 years ago
Guillem Jover
d5f7624a98
TT#24097 Fix perl filehandle usage
- Use autoflush method per filehandle instead of setting $| and using
the one argument select().
- Use lexical variables instead of barewords for filehandles.
Change-Id: Icd71248a28bea0974a79e489add5deee0b65748d
8 years ago
Pawel Kuzak
8941c827d3
Fix control statistics headlines
StopRec was missing
8 years ago
Richard Fuchs
d6bc658c36
Merge branch 'reduce-offer-time' of https://github.com/1and1/rtpengine
8 years ago
Richard Fuchs
ba4676809d
small fixes and improvements for packet forwarding feature #411
Change-Id: Ibf7aba46b38900d405824ab79005de65cd0be7d9
8 years ago
Richard Fuchs
fb6575eefb
Merge branch 'add-recording-forwarding' of https://github.com/1and1/rtpengine
8 years ago
Claudiu Boriga
ab0cb0c7a7
don't use g_hash_table_foreach for call_timer_iterator
this keeps the callmaster->hashlock for a long time
so copy the list of calls instead and update call refs
8 years ago
Pawel Kuzak
f81fdf4212
Deleted outdated graphics
8 years ago
Richard Fuchs
23eebfc4d7
Fix frame PTS when decoder returns multiple frames in a row
Fixes garbled audio for certain codes (e.g. G.729)
Also adds some additional debug output
Fixes #410
Change-Id: I1dbae2638f1e55bf80bb96549a75b9c4b82d08bf
8 years ago
Claudiu Boriga
2250ab11fd
make METADATA section appear in the metafile at
intialization when recording using the proc method
add new METADATA sections only if they differ from
the previous ones
8 years ago
Claudiu Boriga
3dcddf3ffa
recording-daemon: add option to forward calls
With this option, the daemon can forward calls
to a server via a UNIX domain socket insdead of
creating audio files.
8 years ago
Richard Fuchs
4cab964b42
Merge branch 'fix_redis_recording_crash' of https://github.com/1and1/rtpengine
8 years ago
Claudiu Boriga
d5fea12937
check call.recording structure before using it
if call recording is not configured but the redis db contains
calls with recording flag, then call.recording can be NULL
8 years ago
Richard Fuchs
cc056c148f
add rtcp-mux-require option to force rtcp-mux usage for WebRTC
fixes #404
Change-Id: I4a5dbf30a7c02058216ea7e8c8782cf83e214623
8 years ago
Richard Fuchs
0c6b2cfc22
Merge branch 'fix-TOS-for-redis' of https://github.com/1and1/rtpengine
8 years ago
Claudiu Boriga
ca622b40ef
set TOS for redis streams
8 years ago
Richard Fuchs
13d51f0df0
add extra thread allowance for blocking CLI code
make sure not to run with a single thread if only one CPU core is
present
proper fix pending: convert CLI code to non-blocking, muxed, using
streambuf interface
closes #399
Change-Id: I09a6d758c668fe6a2bbe6735e3299d3c8cb1ba58
8 years ago
Richard Fuchs
5bcbf27fe1
fix metadata DB insert without trailing pipe character
fixes #374
Change-Id: Ibfe89b7804183ef04eba39d29e01b70160f7c264
8 years ago
Sipwise Jenkins Builder
cdb867ded5
Release new version 6.0.0.0+0~mr6.0.0.0
8 years ago
Richard Fuchs
440a1f8a4e
delay proc stream/call file deletion until all references are cleared
fixes #384
Change-Id: I1c94027644a18a280077ba00d023c28070d2c9d7
8 years ago
Richard Fuchs
00cc28dff4
TT#22660 don't zero out SDP origin on zero connection address
Change-Id: Idc68132a7ae23a6273464927ecf27237cdc9d6cf
8 years ago