Commit Graph

363 Commits (b151b1093f9940a869b8c99f93321caf81bcf8fe)

Author SHA1 Message Date
Richard Fuchs 741140341f move "totalstats" out of callmaster into global scope
7 years ago
Richard Fuchs cf3a8f9e16 move 'poller' member of callmaster into global scope
7 years ago
Richard Fuchs dffbddb2d6 don't use g_ prefix for global variables
7 years ago
Richard Fuchs e87b2710c8 move matching regexps out of callmaster into global
7 years ago
Richard Fuchs 790e596c58 move cngs out of callmaster into global scope
7 years ago
Richard Fuchs 1aa9944fe4 TT#27550 implement interface round-robin selection
7 years ago
Claudiu Boriga 3472821ccc Add option to set TOS for control-ng interface
8 years ago
Richard Fuchs 13d51f0df0 add extra thread allowance for blocking CLI code
8 years ago
Michael Prokop 6932f22c66 TT#22411 Fix spelling mistakes/typos
8 years ago
Richard Fuchs e7d75bd275 TT#19350 add option to manage iptables rules directly
8 years ago
Lucian Balaceanu 63bdd61565 on startup, also accept hostname:port params for endpoints
8 years ago
Richard Fuchs 223c7f17dd TT#12800 abstractize rtcp parsing and logging functions
8 years ago
Richard Fuchs 531febbbb0 migrate log-stderr and log-facility options to lib for recording daemon
8 years ago
Richard Fuchs 6594b2b884 fixes for coverity
8 years ago
Richard Fuchs e85759a3b8 fix some errors caught by coverity
8 years ago
Richard Fuchs 5c0dc629c1 consolidate AES crypto suites for different key lengths
8 years ago
Frederic-Philippe Metz 14b37ebfe5 Removes multikey stuff
8 years ago
Richard Fuchs f77726caa8 update redis one-key concept
8 years ago
Frederic-Philippe Metz 9ebd06f40f Some fixes for pull request #316
8 years ago
Frederic-Philippe Metz 749a7da7b0 Implements redis onekey concept
8 years ago
Richard Fuchs 1d5668d793 compile fixes for openssl >= 1.1.0
8 years ago
Richard Fuchs fb783f0080 TT#5566 configurable recording daemon
9 years ago
Richard Fuchs 28b80181f2 TT#5566 add support for config file handling
9 years ago
Richard Fuchs ea72733ac0 support daemonizing in recording daemon
9 years ago
Kristian Høgh 0edfb2dfcc Make pcap file format an option
9 years ago
Richard Fuchs 984585a32c TT#5003 implement kernel-side call recording
9 years ago
Richard Fuchs 2e5e2ec1b9 detect and ignore when local endpoints are advertised by remote clients
9 years ago
Lucian Balaceanu 5732121794 Beautifying previous code
9 years ago
Lucian Balaceanu bd376ab99b Adding redis_expires parameter
9 years ago
Dylan Mikus f516684ade All RTP packet data for a call goes to one PCAP file.
9 years ago
Dylan Mikus 2c1685b807 Added command line option for the spool directory for recordings.
9 years ago
Dylan Mikus 7c53e9f95b Moved file system management and random string code to appropriate files.
9 years ago
Dylan Mikus 692b12944c Create metadata file and move it to spool directory when call finishes.
9 years ago
Dylan Mikus a714fbc462 Record RTP in PCAP files in the /tmp directory.
9 years ago
Richard Fuchs 351bc106be staticize function
9 years ago
Stefan Mititelu 1648757aa7 Fixes after first review
9 years ago
Stefan Mititelu a3f0e30307 Merge remote-tracking branch 'upstream/master'
9 years ago
Richard Fuchs 133e6304b3 MT#18599 support sending RTCP stats to Homer via HEP
9 years ago
Stefan Mititelu d7a75a1256 Merge remote-tracking branch 'upstream/master'
9 years ago
smititelu bac271b398 Add callmaster config lock
9 years ago
Stefan Mititelu ef39aa35f1 Add rtpengine-ctl list/set timeout
9 years ago
Stefan Mititelu 9be68a0c2f Add FINAL_TIMEOUT parameter
9 years ago
Stefan Mititelu 763502dcb8 Add sanity checks
9 years ago
smititelu b38f3da45c Redis nofitications fixes
9 years ago
smititelu ac753abebd Merge remote-tracking branch 'upstream/master' into dev-fmetz-redis-notification-upstream-updated
9 years ago
smititelu eee5a65911 Update doku for REDIS_NUM_THREADS
9 years ago
smititelu 65de7932ad Add config REDIS_NUM_THREADS param
9 years ago
smititelu 74ad505c6f Update README.md for NO_REDIS_REQUIRED parameter
9 years ago
smititelu 04471770ce Add NO_REDIS_REQUIRED new parameter
9 years ago
Richard Fuchs c1407d6b44 support Redis server authentication
9 years ago
Richard Fuchs 3f1ae98379 unify -r/-R and -w/-W options into single options
9 years ago
Richard Fuchs d8e1e9f86a simplify redis CLI options
9 years ago
Richard Fuchs 725638bccb remove redis-role redundancy
9 years ago
Richard Fuchs b82812260d move advertised_address out of intf_spec into local_intf
9 years ago
Frederic-Philippe Metz bf38f151ba Fix for restoring notified call from own redis db
9 years ago
Frederic-Philippe Metz a9b27c7e57 Merge remote-tracking branch 'origin/master' into dev-fmetz-redis-notification
9 years ago
Lucian Balaceanu 7ae955cbae Fixing reversed parameters when calculating redis restore time
10 years ago
Frederic-Philippe Metz d7ca576ba2 Fixed issues with terminating event_loop
10 years ago
Frederic-Philippe Metz 447148b73f Stop event loop on shutdown
10 years ago
Frederic-Philippe Metz 28a43e4f11 Merge remote-tracking branch 'origin/master' into dev-fmetz-redis-notification
10 years ago
Frederic-Philippe Metz 541e2999a9 Implemented redis-notification base feature.
10 years ago
Richard Fuchs 6d3865b971 Mass update - manual merge of rfuchs/socket-rework branch
10 years ago
smititelu c969ab9f60 Change maxsessions feature behaviour
10 years ago
smititelu 4b92d14e1f Allow more than 65536 open files
10 years ago
smititelu 72cf55b6fb Specific REDIS read and write databases
10 years ago
smititelu 63db6b63de Log redis restore time
10 years ago
Richard Fuchs dafde10571 MT#15157 integrate redis module into main code tree
10 years ago
Lucian Balaceanu f864da77c5 Adding per graphite interval statistics: min/max concurrent calls, total call time per interval
10 years ago
Pawel Kuzak 1640d92edc Merge branch 'dev-fmetz'
10 years ago
Richard Fuchs 8eaf8122f5 update redis version
10 years ago
Richard Fuchs 18977d4257 remove calls to setlogmask (not atomic)
10 years ago
Frederic-Philippe Metz c444c05a5f Implemented MAX_SESSIONS limit or calls.
10 years ago
Frederic-Philippe Metz 89bbaf12e3 Merge branch 'dev-fmetz'
10 years ago
Frederic-Philippe Metz 070212ec3a Added RTCP parsing and option to log that information
10 years ago
Frederic-Philippe Metz a9e4c023e4 Merge branch 'dev-fmetz'
10 years ago
Frederic-Philippe Metz 6d33ef76b0 Implemented delay measurement of RTP packets in kernel.
10 years ago
Frederic-Philippe Metz 9f421a9d8f Merge remote-tracking branch 'upstream/master'
10 years ago
Richard Fuchs 26137d2b4d move thread loop functions out of main.c
10 years ago
Richard Fuchs 98e0b6dea5 update for redis plugin
10 years ago
Richard Fuchs f99d6d4f42 implement full ICE support
10 years ago
Frederic-Philippe Metz 6bc7a77e9b First try of implementation of measureing delay.
10 years ago
Frederic-Philippe Metz ec5a543f0f Added prefix config parameter to graphite acc. to OPS
10 years ago
Richard Fuchs c22cc161ed Merge branch 'rfuchs/atomic-stats'
10 years ago
Richard Fuchs b023d6c173 update redis mod version to 7
10 years ago
Richard Fuchs deba231143 rename an old MP_ variable to RE_
10 years ago
Richard Fuchs 9e44c16d37 Merge branch '1and1-master'
10 years ago
Richard Fuchs 36c7141d53 change control_ng_stats into a hash and use locking and atomic ops
10 years ago
Richard Fuchs f5444718d4 fix compiler warnings
10 years ago
Richard Fuchs 57c0a84d81 add locking to totalstats
10 years ago
Richard Fuchs a81588e313 provide convenience function get_log_level()
10 years ago
Frederic-Philippe Metz 0ccb11a18d Added statistics on control ng interface.
10 years ago
Frederic-Philippe Metz 2ae0e35de4 Added functionality to report statistics to graphite
10 years ago
Richard Fuchs e24253a709 move parse_ip(6)_port into aux.h
10 years ago
Frederic-Philippe Metz 4882d917ba RTPENGINE-1_total_statistics_rectl.patch:
11 years ago
Frederic-Philippe Metz 59329ddd04 VOIPTEST_220_delete delay
11 years ago
Frederic-Philippe Metz 131c9e8110 cli
11 years ago
Frederic-Philippe Metz 9886de4654 cdrpatch.dpatch:
11 years ago
Richard Fuchs dcfd7032b2 deadlock fix
11 years ago
Richard Fuchs 935487b663 avoid race condition by making OpenSSL thread safe
11 years ago
Richard Fuchs 4c408e5388 add --dtls-passive switch
11 years ago
Richard Fuchs f826d01c29 make "trust address" the default behaviour
11 years ago
Richard Fuchs d0beccbd93 dont break log lines when logging to stderr
11 years ago
Richard Fuchs b66091b090 make number of threads configurable
11 years ago
Frederic-Philippe Metz e77dd1a684 create as many threads as cpus
11 years ago
Richard Fuchs 46585265e1 implement a crude log limiter
11 years ago
Richard Fuchs e830bf57eb update for redis module
11 years ago
Richard Fuchs 513ac44a84 incorporate new local-interface infrastructure into appropriate places
11 years ago
Richard Fuchs 0cbb4665a5 paving the way to multi-interface support
11 years ago
Camille Oudot faf3e22b9e logging: choose the log facility from the command line, or log to stderr
11 years ago
Richard Fuchs 1f4f0d6137 implement delayed call/branch deletion
11 years ago
Camille Oudot 6005d14e1a XMLRPC notifications: more formats
11 years ago
Richard Fuchs 681b2c1a24 version reporting: use git branch and commit if available
11 years ago
Richard Fuchs e381e107ec configurable per-call TOS value
11 years ago
Richard Fuchs bb84ea5035 implement explicit warning when kernel support is missing
11 years ago
Richard Fuchs ec3daabf6e change name of redis plugin file
11 years ago
Richard Fuchs c372019f65 re-enable redis module compatibility checks
11 years ago
Richard Fuchs 4c0ca278fa rename mediaproxy-ng to rtpengine
11 years ago
Richard Fuchs f8f741b584 Update to upcoming 3.0 release (2.9.9 for now)
11 years ago
Juha Heinanen e84c2f52c3 added log level handling to debian default file and init script
12 years ago
oboisti d74c24ff21 added --log-level option and USR1 and USR2 signals to update log level on the fly
12 years ago
Richard Fuchs 7e88b38506 change port range defaults to match docs
12 years ago
Richard Fuchs 92e43e9aa8 dlopen() doesnt actually set errno
12 years ago
Richard Fuchs a780cf7891 redis updates
12 years ago
Richard Fuchs 788eb5ce67 update for redis module
12 years ago
Richard Fuchs a923a52a60 redis/2 module is now incompatible
12 years ago
Richard Fuchs 87ec55b7b5 we do need to initialized that random() generator
12 years ago
Richard Fuchs 1a2e0d75ea create a random but constant "foundation" string for ice candidates
12 years ago
Richard Fuchs 697d152796 to avoid confusion with debian version numbers, use sequentials integers for ABI versioning
12 years ago
Richard Fuchs 7d1629442d get rid of stupid message
12 years ago
Richard Fuchs ce2df6d90f exclude our own listening ports from RTP
12 years ago
Richard Fuchs ab3a47ae41 finish renaming control.[ch] to control_tcp.[ch]
12 years ago
Richard Fuchs 57051ee86f use a sane default port range
12 years ago
Richard Fuchs 8fe26b2d3b obsolete the "mediatype" element
12 years ago
Richard Fuchs 9589a73b42 obsolete call{ed,ing}_agent element
12 years ago
Richard Fuchs 45c38179d1 those updates break the redis module
12 years ago
Richard Fuchs 76cab1f697 non-static vars must be initialized to 0
12 years ago
Richard Fuchs ab24a79de9 adding control_ng stubs
12 years ago
Richard Fuchs 78712cf7c9 rename listen to listen-tcp in error outputs as well
12 years ago
Richard Fuchs a7d40bf7bc rename --listen to --listen-tcp
12 years ago
Richard Fuchs b36afb6183 exclude deprated API calls
12 years ago
Richard Fuchs 08d40d8ac5 add debian buildflags and address generated warnings
13 years ago
Richard Fuchs d751d10093 check struct sizes and offsets exported by redis plugin
13 years ago
Richard Fuchs 9077fac612 be a lazy developer and try to load the .so locally
13 years ago
Richard Fuchs da02558511 its always nice to call openlog()
13 years ago
Richard Fuchs 7e38c7a96f a more robust thread shutdown procedure
13 years ago
Richard Fuchs d20d747a63 since xmlrpc is still segfaulting even in its own process, disable core dumps in the child and retry the xmlrpc call up to 3 times if the child terminates abnormally. jumping through hoops ftw!
13 years ago
Richard Fuchs 2ad1d6f65e xmlrpc still segfaulting. leaves no choice but to fork out a new process, ugh.
13 years ago
Richard Fuchs f4833f6b74 xmlrpc calls still causing segfaults, lets try with a dedicated client object per call... i'm starting to dislike this library
13 years ago
Richard Fuchs 4b7d4d24cd dont block fatal core-dumping signals
13 years ago
Richard Fuchs 0d6349f14c and for the interesting part: multiple poller threads
13 years ago
Richard Fuchs 942c96c96d move poller timers and polling into a separate thread
13 years ago
Richard Fuchs d25d1c2009 making main() pretty by moving stuff out of the way
13 years ago
Richard Fuchs ddffe5eeec global xmlrpc init must be done prior to any threading
13 years ago
Richard Fuchs 47a9a00a11 it makes no sense to return a value from an effectively detached thread
13 years ago
Richard Fuchs 31a5ff9c29 detached threads considered harmful, so simulate them by keeping a threads-to-join list
13 years ago
Richard Fuchs bc647862e5 use sigtimedwait for proper sighandler thread shutdown
13 years ago
Richard Fuchs badae5a874 lets get some threads going then, starting with a signal handler
13 years ago
Richard Fuchs d9e09f33bc lets try with a lot of large, nested, naive locks
13 years ago
Richard Fuchs 900f76a17e make the callmaster struct private - also requires update to redis module
13 years ago
Richard Fuchs 6e474ccfc0 add appropriate threading compile flags
13 years ago
Richard Fuchs b7c8ddf1a0 update .so name to match .deb
13 years ago
Richard Fuchs c9f6e07846 log version upon startup
13 years ago
Richard Fuchs dc7517121d remove uuid helper code
13 years ago