Richard Fuchs
f39a32cfb0
fix possible core dump when processing certain malformed SDP
Change-Id: I3240f09033d7e587c48f8baa315953c553b99f0b
(cherry picked from commit 178391e177 )
8 years ago
Richard Fuchs
e5caf86ea4
TT#36759 rate limiting for ICE/STUN log messages
Change-Id: Iac172a52ac9a48d5ff62995454bda108680228d7
(cherry picked from commit c3eacd16fb )
8 years ago
Richard Fuchs
1a92fa8c0f
TT#37156 fix divide by zero error (regression from db58aa80)
fixes #564
Change-Id: Ifdc58c814d6a0c82d95ca86ab2fd4eb3a85486ae
(cherry picked from commit 50394e8dd2 )
8 years ago
Jerzy Ptak
3c29ea95e0
fixing memory leaks
Change-Id: Ibd7190a86bb5d55b0d8c070668b4d6c66f63470c
8 years ago
Richard Fuchs
92a070528d
use reference counting on SSRC objects
possibly fixes #488 and #482
Change-Id: Ib68e456b9322836b153c9fd0e59c3556378557ae
8 years ago
Richard Fuchs
4d4dabaf4f
TT#28163 abstractize SSRC hash
Change-Id: I2f28854070ad5a7567870ef7585e67729154b0e3
8 years ago
Richard Fuchs
2f74733ac9
fix graphite interval calculation for call durations
closes #543
Change-Id: I60f88cd874051c44df21b0b20401d1603ba5832e
8 years ago
Richard Fuchs
2459245ede
create explicit per-stream DTLS context for ICE
fixes #500
Change-Id: Iee3d9ab1c19a6992ae043896eb500b3961de3edc
8 years ago
Richard Fuchs
eaefb3ca93
fix segfault regression from e84fd86
closes #470
Change-Id: I3ce83e4fdc5fe8113932bb51ec3375c6144814ae
(cherry picked from commit 14262f56fa )
8 years ago
Richard Fuchs
f4a7c2786c
fix incorrect DTLS context being used with ICE
fixes #451
Change-Id: I4db956bd9e8234862a7dd3ee492a6ed2778150d3
8 years ago
Richard Fuchs
cd4082ba72
TT#31752 fix segfault on empty a=rtcp
Change-Id: I4f4494a552dd9bcd6f83f32a846cce1c18be8bc1
(cherry picked from commit 7b4424091b )
8 years ago
Richard Fuchs
f546088d49
purge old entries from SSRC hash table if it gets too full
fixes #417
Change-Id: I4da50858d3c4959687b341b7c0856a868c87ffa7
(cherry picked from commit 031921c322 )
8 years ago
Dmitry Poroh
657247b0ca
Crash stream_packet in case of out_srtp is NULL is fixed
(cherry picked from commit cc09f4d3de )
8 years ago
Claudiu Boriga
eee9fa24c0
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
(cherry picked from commit d5fea12937 )
8 years ago
Claudiu Boriga
50178457a6
set TOS for redis streams
(cherry picked from commit ca622b40ef )
8 years ago
Richard Fuchs
1cb933fd86
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
(cherry picked from commit 13d51f0df0 )
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
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
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
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
Lucian Balaceanu
63bdd61565
on startup, also accept hostname:port params for endpoints
9 years ago
Richard Fuchs
bb50729806
fix parsing of IPv6 address in legacy UDP protocol
Change-Id: Ida602ceddac51b8045b0beee59015facd7b1ee5d
9 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
9 years ago
Richard Fuchs
983c4afb01
fix correct use of CFLAGS over LDFLAGS
Change-Id: Ibea683fea6f16cc3a944c99de4db44051571fcba
9 years ago
Richard Fuchs
4310e067a4
support pkg-config for xmlrpc-c
fixes #373
Change-Id: I063c3f6f4f1ea4ee08fa668f006931f951dd3f95
9 years ago
Richard Fuchs
a9d55c6fe7
always decrypt RTCP for SRTP<>SRTP session for stats purposes
fixes #366
Change-Id: Ie99766a3561d3adfcb06d75c465a9aa02c16b2ab
9 years ago
Richard Fuchs
f979159d0e
fix segfault when no SSRC pointer is present
fixes #370
Change-Id: If1e89b21a183acd79a6c84aee6e470849022e37c
9 years ago
Changli Gao
6824865c10
DTLS: Fix potential double BIO_free
We should set init to 1 after calling SSL_set_bio(), otherwise if
we fail to call EC_KEY_new_by_curve_name(), we will free r_bio and
w_bio twice: one with BIO_free(), and the other with SSL_free().
9 years ago
Richard Fuchs
3f12517510
report last error when port could not be opened
Change-Id: I397101dc64c4e2f706fd604e524b27c86e51a6a5
9 years ago
Richard Fuchs
8f55dd17f1
fix pushing wrong SSRC to kernel module
fixes #360
Change-Id: I6051bc3e81b06e89e6b8d74dbff94363716369fe
9 years ago
Richard Fuchs
2a03c008ac
clean up code artifacts
closes #314
Change-Id: Ie6762654adc67a2cc2fd34c0bdda7a514928d389
9 years ago
Richard Fuchs
23bc99ed81
TT#12800 consider RTCP XR reports for MOS calculations and stats
Change-Id: I18f6ff92bab432caf446c59395ab253a305378f4
9 years ago
Richard Fuchs
ab0dba7d14
TT#12800 support custom monologue labels
Change-Id: I55b2db88307088c4d5e0161eae6e3aa0b5d1b053
9 years ago
Richard Fuchs
2cf93904df
TT#12800 restore SSRC table from redis
Change-Id: I9c6a5a33ae14e803e5badade8307d4f53f7a04a2
9 years ago
Richard Fuchs
9108b14b80
TT#12800 records stats average not just for MOS but all values
Change-Id: I1c641a654623022df617da98c4a53ed34decb211
9 years ago
Richard Fuchs
4ad693a063
TT#12800 report MOS stats back to proxy via NG protocol
Change-Id: Ib0cc5b39a5f50d68a8013b738ac7d87b32069928
9 years ago
Richard Fuchs
5c84a6f61c
TT#12800 limit size of SSRC hash table
Change-Id: I51ba759d1f328f08b03e14a2f8545453f6a8ade8
9 years ago
Richard Fuchs
11dac7b28f
TT#12800 add MOS statistics to final log output
also converts call->created to a timeval
Change-Id: Idb71ada22a2d04637670b7515e54f2994f8d4c93
9 years ago
Richard Fuchs
868c3b64fe
TT#12800 add ssrc handling into packet_stream struct
Change-Id: I7da97a6435854a846d2782448b32c69327756ccf
9 years ago
Richard Fuchs
84e76e7cba
TT#12800 calculate MOS values from RTCP RR
Change-Id: Ie4ba70ae8290f497a4a5d756a369911b96205299
9 years ago
Richard Fuchs
0f285899e0
TT#12800 avoid creating empty log messages
Change-Id: Ica806fbc4cbe723cffdc16a7206fd4890af9fe53
9 years ago
Richard Fuchs
90693a1969
TT#12800 refactor RCTP XR processing
Change-Id: Ieb6279d866cae3e4f6b13c2755518c2bbb7e428c
9 years ago
Richard Fuchs
70b7112617
TT#12800 store and process RTCP SR and RR for statistics
Change-Id: Ia78c37ae9d24df6783b664da6d395263f9f39e91
9 years ago
Richard Fuchs
c1711ea948
TT#12800 consolidate and combine RTCP parsing and logging
Change-Id: I8690b5d180b3eaf1c1b0b4295734609c5125a453
9 years ago