Richard Fuchs
368312a4f5
TT#31403 keep local packet stats for RTCP output/rewriting
...
Change-Id: Ib086bbacf5613e1480bfb9050612163152e24b28
8 years ago
Richard Fuchs
159729ad0d
TT#31403 move SSRC mapping out of codec handler
...
Change-Id: Id5babcef6440f40e45e7e23afc54398a39093a3f
8 years ago
Richard Fuchs
7986ca0860
TT#30900 support specifying codec parameters for transcoding
...
Change-Id: Ifac093cfba74a7cfdf1ba22209d608e04fed8c10
8 years ago
Richard Fuchs
a4a0e34ded
TT#31408 distinguish between codec types
...
Change-Id: I8c7331908fe4a105d9f9139a5f9867b6ae43a646
8 years ago
Richard Fuchs
2e43b47305
TT#31409 check codec support only once during startup
...
Change-Id: I8eacd1f62cc1273707b4c4d1046918225e1b6957
8 years ago
Richard Fuchs
71b3762f13
TT#30901 use hash table to look up RFC specified codecs
...
Change-Id: I471dc77d0c4bdbdf66dc4b021d77202ec0ddbb39
8 years ago
Richard Fuchs
ff0a46a053
TT#30901 convert codec list to hash table
...
Change-Id: I0956b441101b4c33e0f186399ef5558f89744e12
8 years ago
Richard Fuchs
266a1fbc8b
TT#31404 support custom ptime and repacketization for sampled codecs
...
Change-Id: I4db83cb8faa9b0234dd655f4bdc116a3ddb59f39
8 years ago
Richard Fuchs
c380052882
TT#31401 configure encoder bitrate
...
Change-Id: I96e14285b4e6235451ef55dfdfd0fec9f7364096
8 years ago
Richard Fuchs
c6c79f49b8
TT#31198 flush encoder queue on shutdown to avoid warnings
...
Change-Id: Ic4a99083f22d8d2c87edb28539d6e325cbdb34b4
8 years ago
Richard Fuchs
1746f1d3bf
TT#31405 handle non-media pseudo-codecs (telephone-event)
...
Change-Id: I10a0156d500f49941d7d3d558e54e3c198638c4a
8 years ago
Richard Fuchs
ad4a5d10ef
TT#31198 add resampling support
...
Change-Id: Ib691e62d9ff6fc5663cea275663efc9134d78188
8 years ago
Richard Fuchs
2d2f2e394b
TT#31198 support output codec clockrate multiplier (for G722)
...
Change-Id: I189d6fb17850bccdbe1a6910f68fb2d0fab2c331
8 years ago
Richard Fuchs
7c6db89889
TT#28163 don't reset transcoding context when not necessary
...
Change-Id: I28b230df7308b3ed1fd359265220c3df07178e5a
8 years ago
Richard Fuchs
14c3cd8ab1
TT#28163 support transcoding to non-RFC codecs
...
Change-Id: Ia4edff27be74e0f8eb8f41cf0a7a1dd3c9e9896a
8 years ago
Richard Fuchs
55007a6897
TT#28163 prevent kernelization of transcoded stream
...
Change-Id: Ie99f4bee935f6018a525b51b00862b31576a9383
8 years ago
Richard Fuchs
b0bc679806
TT#28163 take number of channels from SDP into account
...
Change-Id: Icd393535702355d7dfc90c81fe62286eb50deb63
8 years ago
Richard Fuchs
df537b98c3
TT#28163 pass encoded packets back to processing for sending out
...
Change-Id: Icdd49d174336277dae0c2c79854fc4e3b42a5c44
8 years ago
Richard Fuchs
dc80c27af7
TT#28163 split encoder from recording daemon into shared lib
...
Change-Id: I76a744b1b1acd32f326d26db7a44273394a4dee1
8 years ago
Richard Fuchs
a4e73c90e8
TT#30404 accept and reject codecs according to transcoding preference
...
Change-Id: I7e4d1d834289433ae4a42d78b92cbc745884d5d1
8 years ago
Richard Fuchs
cee94a5348
TT#28163 pass RTP packets to media decoder
...
Change-Id: Ie1cf4ed50a0dae0ee4bbe37918d3d2a86666d998
8 years ago
Richard Fuchs
b9206a49bc
TT#28163 abstractize SSRC hash
...
Change-Id: I2f28854070ad5a7567870ef7585e67729154b0e3
8 years ago
Richard Fuchs
f8aad04948
TT#30404 move portions required for decoding from recording-daemon to lib
...
Change-Id: I4170dd3c93ca3c87954d2c1db5fd84ae071247bd
8 years ago
Richard Fuchs
d510f5efe8
TT#30404 initial support for adding codecs for transcoding
...
Change-Id: I58474ac2daee213d9f11157f61c2a3df90818fbe
8 years ago
Richard Fuchs
f801240164
TT#30570 replace "chopper" iovec with GString
...
Change-Id: I5097b5bf0bbdc8ff6cdada809183396c9cf05134
8 years ago
Richard Fuchs
c3585b04be
TT#30405 reprint a=rtpmap and a=fmtp for SDP output
...
Change-Id: I4949166faf329e229f1bbbaf559650fa4c3e9228
8 years ago
Richard Fuchs
8715d40242
TT#30405 codec matchup and handler functions
...
Change-Id: I506c0e8bfa4b6e64689f6debeb33fe69fce1722c
8 years ago
Richard Fuchs
fb729e3d12
TT#30405 create a packet handling context struct for convenience
...
Change-Id: I0f3e0f66bf138147f265f7ee8d95028d9301359b
8 years ago
Richard Fuchs
bc420cbdd0
TT#30405 split stream_packet() into smaller pieces
...
Change-Id: I89b46e02bfdbedffa63f71ef11b03cbf204ececa
8 years ago
Claudiu Boriga
80abad18cf
Merge remote-tracking branch 'sipwise/master' into extend-rtpengine-ctl
8 years ago
Claudiu Boriga
ff2a278ad7
Make 'rtpengine-ctl' configurable via rtpengine-ctl
8 years ago
Claudiu Boriga
0f9151e9ea
Make 'redis-allowed-errors', 'redis-disable-time', 'redis-cmd-timeout'
...
and 'redis-connect-timeout' configurable via rtpengine-ctl
8 years ago
Richard Fuchs
c2ac89945a
Merge branch 'cli_parameters' of https://github.com/1and1/rtpengine
...
Change-Id: Id2c01bc12944fded8d2d8853d12630ad5b970d83
8 years ago
Claudiu Boriga
f2ce4d3a25
Add rtpengine-ctl 'get' commands as alias for 'list'
8 years ago
Claudiu Boriga
be5211e6bd
Introduce 'list silenttimeout' and 'list finaltimeout' to rtpengine-ctl
8 years ago
Huseyin Dikme
968446c730
cli params command has been created for initial, current parameters
...
and their difference
8 years ago
Richard Fuchs
7b4424091b
TT#31752 fix segfault on empty a=rtcp
...
Change-Id: I4f4494a552dd9bcd6f83f32a846cce1c18be8bc1
8 years ago
Richard Fuchs
078af3c407
Merge branch 'add-requests-ps-stats' of https://github.com/1and1/rtpengine
...
Change-Id: I8f67dec95cc07ca1df6823921c3af0457bf0783a
8 years ago
Claudiu Boriga
b7b40cc5a9
Use proper data type for requests statistics
8 years ago
Richard Fuchs
1477f9796f
TT#29151 add 'loop protect' feature
...
possible fix for: #431 , #425 , #415 , #65
Change-Id: I12558681b7d292e3973d2ba024f30f1e236b3a57
8 years ago
Claudiu Boriga
0ffb9e6718
Display correct average for requests statistics
8 years ago
Claudiu Boriga
74cecc09a6
Use statistics locks properly
8 years ago
Claudiu Boriga
3850e99fd3
Use atomic64_get_set for requests statistics
8 years ago
Richard Fuchs
8f563c8a3c
fix compilation when `with_iptables_option` is set to no
...
reported in #444
Change-Id: I358551a3b6588b601364b54aee3e1f8d5097668e
8 years ago
Richard Fuchs
321fb5e1ca
fix double str_shift for 'list sessions CALLID'
...
fixes #448
Change-Id: I9262f61eeec257abe842e532ffc8e071da89a61d
8 years ago
Claudiu Boriga
00bdcef9a4
Fix statistics for average requests/sec sent to rtpengine-ctl
8 years ago
Claudiu Boriga
f7ece0452b
Merge remote-tracking branch 'sipwise/master' into add-requests-ps-stats
8 years ago
Claudiu Boriga
8cc4b7874e
Add statistics for requests per second
8 years ago
Claudiu Boriga
ac1a957a05
Merge remote-tracking branch 'sipwise/master' into add_disable_tout
8 years ago
Richard Fuchs
ca78747c8c
TT#30405 rename media->rtp_payload_types to ->codecs for brevity
...
Change-Id: If89d774a6ab62855118eec74d21123ba61b48e9e
8 years ago
Richard Fuchs
2540c5d501
TT#30403 support codec-offer
...
only codecs from the original list for now
Change-Id: I884775a5b337ed3533972f4361ecb50e329b126e
8 years ago
Richard Fuchs
f625d48ed3
TT#30403 consolidate dictionary and alias "flags" values handling
...
Change-Id: Ic5f2e84f7482b8c98db8e08603d32955185549f2
8 years ago
Richard Fuchs
d31fb36f6e
TT#30403 parse and retain a=fmtp infos
...
Change-Id: I81b2afdfac7f65833fa5260add823fcf7680c879
8 years ago
Richard Fuchs
d7dd7421e6
TT#30403 implement codec stripping
...
Change-Id: I384aa353b43986656145c443e40a2b96f04c489f
8 years ago
Richard Fuchs
b8dbd997e9
TT#30403 consolidate NG flags processing functions
...
Change-Id: Id200b0f064b72d8e60a6a744f764a8bb63655014
8 years ago
Richard Fuchs
74bae6a9a9
TT#30150 add option for different logging styles
...
closes #442
Change-Id: I338afc58e10b056718e086dbcd232f3324984bf0
8 years ago
Claudiu Boriga
485092383f
Make redis connection timeout configurable
8 years ago
Claudiu Boriga
562c5b40a6
Add parameter that sets a timeout for redis commands
8 years ago
Claudiu Boriga
c31ffa4639
Add paramaters to disable redis communication in case of multiple errors
8 years ago
Richard Fuchs
46d853972b
move lib/ config options into struct
...
Change-Id: I563b38cd64daea5f9137debff2fc7881a3cdaa9d
8 years ago
Richard Fuchs
0e3f5eb3c2
move all remaining config options into global config struct
...
Change-Id: Ib0d7cd3f98929b22ef3726b8712f34706a530456
8 years ago
Richard Fuchs
75056a8dd1
eliminate the callmaster struct
...
Change-Id: I9151dbe8f47b3bb9ab67d6fea2fc3783bdc558da
8 years ago
Richard Fuchs
f2b93f9ef8
move config options into global struct rtpengine_config
...
Change-Id: Ie566efb6a1b8bedbe33f768bc4cd979b2d2b46cc
8 years ago
Richard Fuchs
d65a6bbbdc
move latest_graphite_interval_start to global scope
...
Change-Id: I1eb5ea8d6faafe40383d3bb92517307e47ceca9a
8 years ago
Richard Fuchs
741140341f
move "totalstats" out of callmaster into global scope
...
Change-Id: Ia5b95e788c1d486a86b6f916dcff5b88022f5897
8 years ago
Richard Fuchs
c969ea1e57
move stats and statsps into global scope
...
Change-Id: I02d16e31f8980bd0ef3ff3a190b23dc61c087018
8 years ago
Richard Fuchs
cf3a8f9e16
move 'poller' member of callmaster into global scope
...
Change-Id: Ide88caff59529278e45ceef4f9664bfc07f67b3d
8 years ago
Richard Fuchs
dffbddb2d6
don't use g_ prefix for global variables
...
Change-Id: Ifd843b01d7fccf294f97fdf48308c71268e1b8ae
8 years ago
Richard Fuchs
e87b2710c8
move matching regexps out of callmaster into global
...
Change-Id: I42779b3a1b9aef8b98ddecce6fa4093589ab6d62
8 years ago
Richard Fuchs
790e596c58
move cngs out of callmaster into global scope
...
Change-Id: I138ca8756dfc576451bc7c3fca1db89d6616fb1e
8 years ago
Richard Fuchs
399e15b39a
make the callhash global
...
Change-Id: Ifa1fbb5d1b1f623dbc6a1bfac556342735b40161
8 years ago
Richard Fuchs
acba2751f8
suppress log message on "comprehension option" STUN attributes
...
closes #436
Change-Id: I3b5583a83500b7cbfaf1317cae18d5f186554672
8 years ago
Richard Fuchs
018e35cba8
TT#27200 add option to omit a=rtcp attribute
...
closes #428
Change-Id: Ie186291b7b0107d67488facbfea42cd4915556b4
8 years ago
Richard Fuchs
c17f4fe53d
avoid side effects in assert()
...
closes #434
Change-Id: I6aad7ccb556453650d80cf588ae80daf98d3369d
8 years ago
Richard Fuchs
1aa9944fe4
TT#27550 implement interface round-robin selection
...
Change-Id: Id5cf290cc9d044716b5f55cf416dc40b87f23f24
8 years ago
Richard Fuchs
61d828a48f
change str_chr_str() semantics
...
Change-Id: I0fb541215a1bb1a248693a6258e953827258b7ec
8 years ago
Richard Fuchs
b7aeff9a1c
TT#24550 implement CLI get/set log level
...
Change-Id: Ifedc8561f08fe75af210346f5032e8d893f2e0d5
8 years ago
Richard Fuchs
e1ce74985f
TT#28354 consolidate CLI string handling
...
Change-Id: Icb0734f94d5910427a57c85e31e85782a62b22fe
8 years ago
Richard Fuchs
2eb01695bb
TT#26756 clean up CLI code using streambuf
...
Change-Id: I0e6c264d5cbd569fb35fab3ad2b0a4f6413949b0
8 years ago
Richard Fuchs
d10952a029
TT#26757 add tcp_listener framework
...
Change-Id: I402d36637235ba0cc03e77d426f4dd9cbc4722a9
8 years ago
Guillem Jover
fd3c1d2519
TT#26513 Delete the kernel forwarding table on startup
...
If we are creating the kernel forwarding table, we have to make sure it
has been deleted already, otherwise we can get into collisions with the
already setup forwardings, and the subsequent add will fail anyway.
Change-Id: I2601c602543ff3e3493bae296d263dde545ff352
8 years ago
Guillem Jover
1b8f5e4a55
TT#26513 Preserve errno on error returns
...
We should preserve the errno value so that the caller can report
accurate error information, as the close() call could fail too.
Change-Id: I1a36ace8f47ad3ea550aa3e2e272922633abfdca
8 years ago
Richard Fuchs
77de3d06ea
Merge branch 'add-ToS-to-control-ng' of https://github.com/1and1/rtpengine
...
Change-Id: I217e772f79a1e1147ceced418020513fe277055f
8 years ago
Claudiu Boriga
3472821ccc
Add option to set TOS for control-ng interface
8 years ago
Dmitry Poroh
cc09f4d3de
Crash stream_packet in case of out_srtp is NULL is fixed
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
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
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
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
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
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
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
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
Richard Fuchs
de129b78c7
Merge branch 'fix_graphite_crash' of https://github.com/1and1/rtpengine
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
Richard Fuchs
223c7f17dd
TT#12800 abstractize rtcp parsing and logging functions
...
Change-Id: I26e02a6851a51ea0720ac8ce1fc4a9e27d2ffec4
9 years ago
Richard Fuchs
b3583633e3
TT#12800 canonicalize ssrc handling
...
Change-Id: I481dd4062f044f9f7add65b4b82d276629f47ce8
9 years ago
Richard Fuchs
5e3ce30272
TT#14008 add missing DTLS locks
...
fixes possible segfaults due to race conditions
fixes #283
Change-Id: I7efba57d914163986c294b8fb1dd9531d5ef7a89
9 years ago
Richard Fuchs
37a9521901
don't treat media socket write errors as fatal
...
closes #351
Change-Id: I36add0e8aca8856e053b10abdfffbfa63e134daa
9 years ago
Richard Fuchs
531febbbb0
migrate log-stderr and log-facility options to lib for recording daemon
...
Change-Id: I3322eccf01c606f29024fc786b257c45d6b92b54
9 years ago
Richard Fuchs
c5a202ebcd
write both types of media indexes to recording metafile
...
Change-Id: Ib6d5b43aa8a94ad62f73d644e5a2009d804cf17d
9 years ago
Victor Seva
f7aa5fa6b6
TT#14571 PEP8 for YouCompleteMe config
...
Change-Id: I8fdc9b3d3ceb2cfa7333cb8520228629f1c521f1
9 years ago
Richard Fuchs
d269f6a320
eliminate orphaned redis code fragments
...
Change-Id: Id2c394f61387d3cc1f89a62b880c4ecc1c9d060e
9 years ago
Guillem Jover
0b1bdbb339
TT#14400 Do not NULL-dereference pointer
...
When debugging mode is enabled, and the socket variable is NULL, we will
try to dereference it to print the debug message. Split the checks to
avoid that.
Change-Id: I0e0643900d3d8463937b7fd47b21cd91cf49b73c
9 years ago
Guillem Jover
bd833c2586
TT#14400 Use a boolean instead of a bitwise operator
...
Using the bitwise operator seems confusing here, and the boolean
operator will in addition short-circuit which should not be very
significant performance-wise, but still nice.
Change-Id: Icda38d7799aa264d9a6cc1f4a71587e60189b18e
9 years ago
Victor Seva
3c813acacc
support wheezy build reported at #343
...
(cherry picked from commit db7537b1f0499ca35bc58f61522e2eb3be91a7aa)
9 years ago
Anthony Alba
b1e259c109
Document libsrtp AES-256 SRTCP bug for interop
9 years ago
Richard Fuchs
0f07e46d62
fix 32-bit compilation errosr
...
Change-Id: I237a077c4e2d1064af963b3f2a2e51bb2a8388f6
9 years ago
Richard Fuchs
6b6b8ea54a
don't use anonymous unions to make old compilers happy
...
fixes #347
Change-Id: I32ef9efa674e74c3a1263c0fd786a16562ea7838
9 years ago
Claudiu Boriga
edac4f2cd7
make cli_incoming accept multiple connections
...
fixes #280
9 years ago
Richard Fuchs
5dcd533a7f
ensure positive random numbers
...
Change-Id: I993a2b90b8ae56ac263597c5a107be9c1f92d001
9 years ago
Richard Fuchs
7182e751a1
abandon usage of random()
...
Change-Id: I870fd7963dc9148b496361892a2bfe2cc0f88690
9 years ago
Richard Fuchs
6594b2b884
fixes for coverity
...
Change-Id: I92eebf9a44fed8d826e0c2a207c05cd02c5ade0c
9 years ago
Richard Fuchs
e85759a3b8
fix some errors caught by coverity
...
Change-Id: I3f5bfc2df00ab9b031eef5a1c71b6ff3ba25e60c
9 years ago
Anthony Alba
87aaf82111
Document RFC 3711 errata id 3712 that SRTCP_R_LENGTH == 6 is canonical
9 years ago
Richard Fuchs
5c0dc629c1
consolidate AES crypto suites for different key lengths
...
Change-Id: I2d031ed7dd6b9154203b79f2a6dba2b246d2063b
9 years ago
Richard Fuchs
3930f7748e
Merge branch 'aes256' of https://github.com/aalba6675/rtpengine
9 years ago
Richard Fuchs
7088e1586a
remove obsolete redis restore function arguments
...
Change-Id: Ia45cf4316ffa7a3d4fd813c74a1c76ee5dc38058
9 years ago
Frederic-Philippe Metz
d88587512a
Cleanup according to pull req #335
9 years ago
Frederic-Philippe Metz
27679b188e
Moved the json reader locally and removed it from call struct
9 years ago
Frederic-Philippe Metz
95d942005d
Adds missing log output
9 years ago
Frederic-Philippe Metz
8f01e780a8
First attempt to seperate more stats and cdr away from the core running code
9 years ago
Anthony Alba
d5cecc500f
Add AES-192, AES-256 CM to kernel SRTP
9 years ago
Anthony Alba
357bb1d50f
Refactor to add explicit session key init functions
9 years ago
Changli Gao
a3f27f8751
STUN: The most significant 2 bits is 0xc0 in hex
9 years ago
Anthony Alba
b8a2f015ad
Initial support for AES-192, AES-256 in userspace
9 years ago
Richard Fuchs
d513c6dd2b
add missing lock for failed call restores
...
Change-Id: Ibeff1501483038c528f9ba92fe461ec866e73bff
9 years ago
Richard Fuchs
d8cc8caf9c
combine two mallocs into one for redis restore
...
Change-Id: I6a5c26b6e0c856b1930273c37b35020dd48c6505
9 years ago
Richard Fuchs
0cd3b9f650
Merge branch 'redis-onekey-concept-improvements' of https://github.com/1and1/rtpengine
9 years ago
Frederic-Philippe Metz
267b57c33f
Implemented comments from Richard from pull req #323
9 years ago
Anthony Alba
3e2e0242c3
Determine base64 padding from enc_salt_key_len
9 years ago
Anthony Alba
1fc77bc3ac
base64: flush base64 decoding, and skip base64 padding in crypto line
9 years ago
Frederic-Philippe Metz
d904fb2fe5
Removes 'json-' prefix from redis key (callid)
9 years ago
Frederic-Philippe Metz
279e5fa36e
Removes commented code
9 years ago
Frederic-Philippe Metz
d08dd6a5f3
Fixes SRTP restore in onekey concept
9 years ago
Frederic-Philippe Metz
6985784cea
Fixes redis recording flag in onekey concept
9 years ago
Frederic-Philippe Metz
14b37ebfe5
Removes multikey stuff
9 years ago
Frederic-Philippe Metz
f3364d9e7d
Omits redisreply in redis restore and eliminates 'multikey' feature
9 years ago
Richard Fuchs
f77726caa8
update redis one-key concept
...
Change-Id: Ifc164f5737decefef2463af57d75f717b97e169b
9 years ago
Frederic-Philippe Metz
ea9512c520
Adds URI encoding for json strings in redis.
9 years ago
Frederic-Philippe Metz
ed760fb566
Fix more issues from richards comments
9 years ago
Frederic-Philippe Metz
88b89ea2e6
Fixes STR_FMT comment my @rfuchs or pull request #316
9 years ago
Frederic-Philippe Metz
9ebd06f40f
Some fixes for pull request #316
9 years ago
Frederic-Philippe Metz
749a7da7b0
Implements redis onekey concept
...
The redis onekey concepts is introduced to reduce traffic to redis
and redis notification traffic.
It modifies the current structure for one call in redis, which are
multiple keys with pre- and postfixes and the callid in between to
one key with the structure "json-<callid>". The value is a json
formatted string with the previous multi-key identifiers in it.
9 years ago
Richard Fuchs
1d5668d793
compile fixes for openssl >= 1.1.0
...
Change-Id: I815c89dde5b6e85b9887dcaf04c25f0a45dcfd5c
9 years ago
Richard Fuchs
9036d30ed8
fix call struct being accessed after obj_put
...
Change-Id: I33dea4d637c531bdf33c54485da5627b5eeb5a32
9 years ago
Pawel Kuzak
d2314ea247
Reduced complexity in onRedisNotification()
...
If a call already exists and a Redis notification for that call is received, don't change the call (ignore notification).
9 years ago
Richard Fuchs
97183b10df
make sure call_destroy unrefs the correct call object
...
avoids a possible race condition with rapid create/delete/create of the
same call
Change-Id: I293c7064ea0c491b4040eb41300c56384c325719
9 years ago
Richard Fuchs
df869fff0f
automate lib symlink creation in makefiles
...
Change-Id: I5bedecfbe6e7c61bd505c075c4b2cd444cc4cc41
9 years ago
Richard Fuchs
fb783f0080
TT#5566 configurable recording daemon
...
share more code between the two daemons
Change-Id: I77af5146cf3cef6ab8c145274b3fd8b031fba3e4
9 years ago
Richard Fuchs
28b80181f2
TT#5566 add support for config file handling
...
closes #252
Change-Id: I92dd61c100319469c6ff4764c90bba5c3ab367a2
9 years ago
Richard Fuchs
ea72733ac0
support daemonizing in recording daemon
...
Change-Id: I9c76d63efe72d6598087a97f8bf93e0958b81fad
9 years ago
Richard Fuchs
1de1706152
don't engage logging system if log level is too low
...
Change-Id: I3d54da1b587637119f3e4de92e50d029274204a7
9 years ago
Richard Fuchs
f958b2a197
split logging mechanism into separate common files
...
Change-Id: I92dd843db2d1b5719e7809ce7d151d08c53938f2
9 years ago
Richard Fuchs
30dcadab15
TT#5566 rudimentary support for multiple audio codecs
...
Change-Id: I7e473f5d17874641253b4b16c3470851743818e1
9 years ago
Richard Fuchs
7395f8bef1
TT#5566 recognize and ignore (for now) RTCP packets
...
Change-Id: Ife95c9506a652b5410380963dbc1cf98f4ace611
9 years ago
Richard Fuchs
7a17b29158
Merge branch 'no_redis_update_flag' of https://github.com/1and1/rtpengine
9 years ago
Richard Fuchs
eefb085528
abstractize recording format and fix ipv6 header
...
closes #293 #290
Change-Id: I85db7068067da803898c64491dca90cfc737c677
9 years ago
Kristian Høgh
57d6e01292
Support IPv4/IPv6 for fake ethernet frames
9 years ago
Kristian Høgh
0edfb2dfcc
Make pcap file format an option
...
Valid options are raw and eth. Default is raw as it was before last commit.
fixes #290
9 years ago