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
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
Richard Fuchs
6abe388621
fix compile warning
...
Change-Id: I6d93986eca7b50a8ae5ddf075c37123f8ebcdcde
8 years ago
Michael Prokop
6932f22c66
TT#22411 Fix spelling mistakes/typos
...
s/paramter/parameter/
s/fowarding/forwarding/
s/readabilty/readability/
s/recieving/receiving/
s/genrated/generated/
s/parametes/parameters/
s/existance/existence/
s/shouldnt/shouldn't/
s/seperate/separate/
s/neccessary/necessary/
s/occurence/occurrence/
s/timout/timeout/
s/ouput/output/
Change-Id: I4403eb54130f3c114d7881054abfdfc8223b5bf2
8 years ago
Richard Fuchs
523228b981
Merge branch 'stop-recording' of https://github.com/1and1/rtpengine
8 years ago
Claudiu Boriga
bb85236b67
update readme to add stop recording command
8 years ago
Claudiu Boriga
cf15275f30
add stop recording comand to ng interface
8 years ago
Richard Fuchs
e7d75bd275
TT#19350 add option to manage iptables rules directly
...
Change-Id: I8e2b47bf34206ed5cc369649bf8ef875ac271169
8 years ago
Richard Fuchs
dd338975f6
drop log level for messages about unknown RTP/RTCP packets
...
closes #395
Change-Id: I8a3c9c1d06ce04a4bb2280e16e2d170cd27ac65b
8 years ago
Richard Fuchs
c8d60aed61
Merge branch 'fix_cdr_logs' of https://github.com/1and1/rtpengine
8 years ago
Claudiu Boriga
b317acdbde
don't log corrupted cdr for foreign calls
8 years ago
Richard Fuchs
1206e26f76
add missing lock for SSRC hash dump
...
Change-Id: I165ceae3f6d5bada4ec0390c440f84bcde542952
8 years ago
Richard Fuchs
3dbc1469b0
Merge branch 'fix_1way_statistics' of https://github.com/1and1/rtpengine
8 years ago
Richard Fuchs
43c3e7ded7
Merge branch 'fix_redis_null_access' of https://github.com/1and1/rtpengine
8 years ago
Claudiu Boriga
b3ce08a1ea
Count multipexed packets in statistics. Don't count errounously when no stream is found
...
fixes #387
8 years ago
Claudiu Boriga
67de59ada4
check that redisContext is not NULL before using it
8 years ago
Richard Fuchs
fade693a1c
additional reference counting for /proc stream files
...
fixes #368
Change-Id: Ie2f8079aad7ed1c0f58252d254e77b27305b4468
8 years ago
Lucian Balaceanu
63bdd61565
on startup, also accept hostname:port params for endpoints
8 years ago
Richard Fuchs
bb50729806
fix parsing of IPv6 address in legacy UDP protocol
...
Change-Id: Ida602ceddac51b8045b0beee59015facd7b1ee5d
8 years ago
Sipwise Jenkins Builder
7b0c881c85
Release new version 5.5.0.0+0~mr5.5.0.0
8 years ago
Richard Fuchs
de129b78c7
Merge branch 'fix_graphite_crash' of https://github.com/1and1/rtpengine
8 years ago
Claudiu Boriga
9f2286d7bb
fix bug that makes rtpengine crash when graphite server is down
...
replaced select with poll because when a large number of file
descriptors are open segfaults might happen
8 years ago
Richard Fuchs
983c4afb01
fix correct use of CFLAGS over LDFLAGS
...
Change-Id: Ibea683fea6f16cc3a944c99de4db44051571fcba
8 years ago