Richard Fuchs
19da0e05e8
TT#45472 save and restore media IDs from and to redis
Change-Id: Ic69b509531d4e5483122470cd3d2b0c7de712dca
7 years ago
Richard Fuchs
e9f9ae75ad
fix compiler warning
Change-Id: I35c60bfce71045a6399368b9cfa887501557c71a
7 years ago
Richard Fuchs
326c6a5818
TT#43557 augment DTMF blocking to support directional blocking
Change-Id: I5d77b437fe746ac5f3b6c15d327755f9349b61d8
7 years ago
Richard Fuchs
04a83027a0
TT#43557 implement media blocking
Change-Id: I336cf7203c1236b3e596310690a89ce1c3fd8bf4
7 years ago
Richard Fuchs
e67b9c40da
TT#43556 support blocking of DTMF event packets
Change-Id: I7ef43ddb254b1583c2dc69b44a13b978eff15510
7 years ago
Richard Fuchs
cab9d895b2
TT#42500 fix only one crypto suite being offered.
We should offer all crypto suites that we support. If passing through
SDES, we should amend the list of crypto suites with all additional ones
that we support that weren't included in the received offer.
closes #577
Change-Id: I9b6c16e8eadecf01cdbc8043bd8361e0f683e456
7 years ago
Richard Fuchs
a44b34a7a9
don't free event base before calling loopbreak()
Change-Id: I7f4283804b1c34a110e5f4ddad14bd1dd4122cc4
7 years ago
Richard Fuchs
0aeb06f613
TT#40900 store metadata in call struct instead of recording struct
makes it possible to set the metadata before recording has been started
closes #579
Change-Id: I885a39fbc53345a4e9f2459f3cd972cb1198c210
7 years ago
Richard Fuchs
dd34574669
TT#38350 keep track of the most used RTP payload type
Instead of just remembering the last seen RTP payload type, this adds a
tracker that keeps track of the last 32 seen payload types and keep the
list in order of how often each type was seen.
Change-Id: I062a43b7bfc9413b755dca548d72953ff8245477
8 years ago
Richard Fuchs
2f5d792aae
TT#36301 add `always-transcode` flag
closes #527
Change-Id: I0d8192cf93c49823f35a6307ccd8c77842fb51dd
8 years ago
Lucian Balaceanu
83911675cd
Fix for recovering from losing synchronous redis context while the async one is up
Force re-checking of the synchronous redis context state in case of processing
a redis notification. It is possible that redis async context is up while the
blocking one is down.
8 years ago
Claudiu Boriga
229b78d2b8
Fix race condition where redis context is used outside mutex protection
8 years ago
Richard Fuchs
14100b0b8a
use reference counting on SSRC objects
possibly fixes #488 and #482
Change-Id: Ib68e456b9322836b153c9fd0e59c3556378557ae
8 years ago
Richard Fuchs
0db5e226e5
fix payload type tracking for transcoding situations
closes #476
Change-Id: I6a038136e22b23efe422eb40caa0f3e10359e5d1
8 years ago
Richard Fuchs
7b65dedb95
restructure codec_make_payload_type to fix compilation w/o transcoding
closes #468
Change-Id: I5f8c5e318e8726bddd69120e258c7d5bb0ee3687
8 years ago
Richard Fuchs
9147d5e438
TT#32983 support transcoding options in redis (re)store
Change-Id: I8552743a5ec48b6d4464e8a2c4acd1c9bf11f02a
8 years ago
Richard Fuchs
a4e73c90e8
TT#30404 accept and reject codecs according to transcoding preference
Change-Id: I7e4d1d834289433ae4a42d78b92cbc745884d5d1
8 years ago
Richard Fuchs
b9206a49bc
TT#28163 abstractize SSRC hash
Change-Id: I2f28854070ad5a7567870ef7585e67729154b0e3
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
ca78747c8c
TT#30405 rename media->rtp_payload_types to ->codecs for brevity
Change-Id: If89d774a6ab62855118eec74d21123ba61b48e9e
8 years ago
Richard Fuchs
d31fb36f6e
TT#30403 parse and retain a=fmtp infos
Change-Id: I81b2afdfac7f65833fa5260add823fcf7680c879
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
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
dffbddb2d6
don't use g_ prefix for global variables
Change-Id: Ifd843b01d7fccf294f97fdf48308c71268e1b8ae
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
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
Claudiu Boriga
ca622b40ef
set TOS for redis streams
8 years ago
Richard Fuchs
e7d75bd275
TT#19350 add option to manage iptables rules directly
Change-Id: I8e2b47bf34206ed5cc369649bf8ef875ac271169
8 years ago
Richard Fuchs
1206e26f76
add missing lock for SSRC hash dump
Change-Id: I165ceae3f6d5bada4ec0390c440f84bcde542952
8 years ago
Claudiu Boriga
67de59ada4
check that redisContext is not NULL before using it
8 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
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
d269f6a320
eliminate orphaned redis code fragments
Change-Id: Id2c394f61387d3cc1f89a62b880c4ecc1c9d060e
9 years ago
Richard Fuchs
0f07e46d62
fix 32-bit compilation errosr
Change-Id: I237a077c4e2d1064af963b3f2a2e51bb2a8388f6
9 years ago
Richard Fuchs
6594b2b884
fixes for coverity
Change-Id: I92eebf9a44fed8d826e0c2a207c05cd02c5ade0c
9 years ago
Richard Fuchs
7088e1586a
remove obsolete redis restore function arguments
Change-Id: Ia45cf4316ffa7a3d4fd813c74a1c76ee5dc38058
9 years ago
Frederic-Philippe Metz
27679b188e
Moved the json reader locally and removed it from call struct
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
Frederic-Philippe Metz
267b57c33f
Implemented comments from Richard from pull req #323
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