Commit Graph

1170 Commits (mr6.5.1.1)

Author SHA1 Message Date
Richard Fuchs cc056c148f add rtcp-mux-require option to force rtcp-mux usage for WebRTC
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
8 years ago
Richard Fuchs 00cc28dff4 TT#22660 don't zero out SDP origin on zero connection address
8 years ago
Richard Fuchs 6abe388621 fix compile warning
8 years ago
Michael Prokop 6932f22c66 TT#22411 Fix spelling mistakes/typos
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
8 years ago
Richard Fuchs dd338975f6 drop log level for messages about unknown RTP/RTCP packets
9 years ago
Richard Fuchs c8d60aed61 Merge branch 'fix_cdr_logs' of https://github.com/1and1/rtpengine
9 years ago
Claudiu Boriga b317acdbde don't log corrupted cdr for foreign calls
9 years ago
Richard Fuchs 1206e26f76 add missing lock for SSRC hash dump
9 years ago
Richard Fuchs 3dbc1469b0 Merge branch 'fix_1way_statistics' of https://github.com/1and1/rtpengine
9 years ago
Richard Fuchs 43c3e7ded7 Merge branch 'fix_redis_null_access' of https://github.com/1and1/rtpengine
9 years ago
Claudiu Boriga b3ce08a1ea Count multipexed packets in statistics. Don't count errounously when no stream is found
9 years ago
Claudiu Boriga 67de59ada4 check that redisContext is not NULL before using it
9 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
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
9 years ago
Richard Fuchs 983c4afb01 fix correct use of CFLAGS over LDFLAGS
9 years ago
Richard Fuchs 4310e067a4 support pkg-config for xmlrpc-c
9 years ago
Richard Fuchs a9d55c6fe7 always decrypt RTCP for SRTP<>SRTP session for stats purposes
9 years ago
Richard Fuchs f979159d0e fix segfault when no SSRC pointer is present
9 years ago
Changli Gao 6824865c10 DTLS: Fix potential double BIO_free
9 years ago
Richard Fuchs 3f12517510 report last error when port could not be opened
9 years ago
Richard Fuchs 8f55dd17f1 fix pushing wrong SSRC to kernel module
9 years ago
Richard Fuchs 2a03c008ac clean up code artifacts
9 years ago
Richard Fuchs 23bc99ed81 TT#12800 consider RTCP XR reports for MOS calculations and stats
9 years ago
Richard Fuchs ab0dba7d14 TT#12800 support custom monologue labels
9 years ago
Richard Fuchs 2cf93904df TT#12800 restore SSRC table from redis
9 years ago
Richard Fuchs 9108b14b80 TT#12800 records stats average not just for MOS but all values
9 years ago
Richard Fuchs 4ad693a063 TT#12800 report MOS stats back to proxy via NG protocol
9 years ago
Richard Fuchs 5c84a6f61c TT#12800 limit size of SSRC hash table
9 years ago
Richard Fuchs 11dac7b28f TT#12800 add MOS statistics to final log output
9 years ago
Richard Fuchs 868c3b64fe TT#12800 add ssrc handling into packet_stream struct
9 years ago
Richard Fuchs 84e76e7cba TT#12800 calculate MOS values from RTCP RR
9 years ago
Richard Fuchs 0f285899e0 TT#12800 avoid creating empty log messages
9 years ago
Richard Fuchs 90693a1969 TT#12800 refactor RCTP XR processing
9 years ago
Richard Fuchs 70b7112617 TT#12800 store and process RTCP SR and RR for statistics
9 years ago
Richard Fuchs c1711ea948 TT#12800 consolidate and combine RTCP parsing and logging
9 years ago
Richard Fuchs 223c7f17dd TT#12800 abstractize rtcp parsing and logging functions
9 years ago
Richard Fuchs b3583633e3 TT#12800 canonicalize ssrc handling
9 years ago
Richard Fuchs 5e3ce30272 TT#14008 add missing DTLS locks
9 years ago
Richard Fuchs 37a9521901 don't treat media socket write errors as fatal
9 years ago
Richard Fuchs 531febbbb0 migrate log-stderr and log-facility options to lib for recording daemon
9 years ago
Richard Fuchs c5a202ebcd write both types of media indexes to recording metafile
9 years ago
Victor Seva f7aa5fa6b6 TT#14571 PEP8 for YouCompleteMe config
9 years ago
Richard Fuchs d269f6a320 eliminate orphaned redis code fragments
9 years ago
Guillem Jover 0b1bdbb339 TT#14400 Do not NULL-dereference pointer
9 years ago
Guillem Jover bd833c2586 TT#14400 Use a boolean instead of a bitwise operator
9 years ago
Victor Seva 3c813acacc support wheezy build reported at #343
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
9 years ago
Richard Fuchs 6b6b8ea54a don't use anonymous unions to make old compilers happy
9 years ago
Claudiu Boriga edac4f2cd7 make cli_incoming accept multiple connections
9 years ago
Richard Fuchs 5dcd533a7f ensure positive random numbers
9 years ago
Richard Fuchs 7182e751a1 abandon usage of random()
9 years ago
Richard Fuchs 6594b2b884 fixes for coverity
9 years ago
Richard Fuchs e85759a3b8 fix some errors caught by coverity
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
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
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
9 years ago
Richard Fuchs d8cc8caf9c combine two mallocs into one for redis restore
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
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
9 years ago
Richard Fuchs 1d5668d793 compile fixes for openssl >= 1.1.0
9 years ago
Richard Fuchs 9036d30ed8 fix call struct being accessed after obj_put
9 years ago
Pawel Kuzak d2314ea247 Reduced complexity in onRedisNotification()
9 years ago
Richard Fuchs 97183b10df make sure call_destroy unrefs the correct call object
9 years ago
Richard Fuchs df869fff0f automate lib symlink creation in makefiles
9 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
Richard Fuchs 1de1706152 don't engage logging system if log level is too low
9 years ago
Richard Fuchs f958b2a197 split logging mechanism into separate common files
9 years ago
Richard Fuchs 30dcadab15 TT#5566 rudimentary support for multiple audio codecs
9 years ago
Richard Fuchs 7395f8bef1 TT#5566 recognize and ignore (for now) RTCP packets
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
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
9 years ago
Kristian Høgh 29488f9e49 Change pcap format to ethernet
9 years ago
Richard Fuchs d7fa0689f9 TT#5566 rudimentary wav file output
9 years ago
Pawel Kuzak 65e80f620d Added flag 'no-redis-update'
9 years ago
Richard Fuchs 5395db3cd7 fix segfault when source endpoint address isn't filled
9 years ago
Richard Fuchs 411c3b3373 TT#5566 checkin of external call recording daemon
9 years ago
Richard Fuchs e3a7248b01 resolve segfault when recording is disabled
9 years ago
Richard Fuchs 984585a32c TT#5003 implement kernel-side call recording
9 years ago
Lucian Balaceanu e08f477413 Empty other_ml stops call creation
9 years ago
Lucian Balaceanu 877952ae8c redis restore call fails when a sfd is null
9 years ago
Richard Fuchs c5c0b70019 prevent segfault when no recording metadata is given
9 years ago
Richard Fuchs 0a2a3cbf1e fix candidates being inserted after a=end-of-candidates
9 years ago
Richard Fuchs 9aa4aec91a don't complain if no spool directory is configured
9 years ago
Richard Fuchs 7f3ffa8c35 Merge branch 'master' of https://github.com/1and1/rtpengine
9 years ago
Richard Fuchs 94e3c8f9cb TT#3881 re-enable selective packet loop check
9 years ago
Lucian Balaceanu 252ea8a943 Delete from redis_write when redis_restore_call() fails
10 years ago
Richard Fuchs 2e5e2ec1b9 detect and ignore when local endpoints are advertised by remote clients
10 years ago
Eric Green 234e92b47d Merge branch 'build-el7' into build-el7-rebased
10 years ago
Lucian Balaceanu 8d089303bd Fix log severity duplicate printing
10 years ago
Lucian Balaceanu 5732121794 Beautifying previous code
10 years ago
Lucian Balaceanu e7f63dcf2a Report own/foreign/total sessions to Graphite
10 years ago
Lucian Balaceanu 278561ba62 Printing severity level within every log message
10 years ago
Lucian Balaceanu 512cc24f9a Print relay IP information
10 years ago
Lucian Balaceanu bd376ab99b Adding redis_expires parameter
10 years ago
Eric Green ba93a08d24 Add libcurl dependency for recording
10 years ago
Richard Fuchs dfcd8a3e21 Merge branch 'recording-metadata-threadsafe' of https://github.com/onsip/rtpengine
10 years ago
Dylan Mikus 44a153c05e Made interactions to recording metadata threadsafe
10 years ago
Richard Fuchs 62eae98d32 Merge branch 'handle_kamailioctl-touts' of https://github.com/1and1/rtpengine
10 years ago
Lucian Balaceanu 448fa9cef8 Redundant media setup: failover due to tout on offer response
10 years ago
Lucian Balaceanu e04367036d redundant media setup: failover due to tout on offer response
10 years ago
Richard Fuchs a3c703b302 remove superfluous initialization
10 years ago
Richard Fuchs cac076fc84 clean up makefile for libpcap
10 years ago
Pawel Kuzak e212c775e2 Merge remote-tracking branch 'upstream/master'
10 years ago
Richard Fuchs 8b9fd27f92 Merge branch 'call-recording-rebased' of https://github.com/onsip/rtpengine into onsip-call-recording-rebased
10 years ago
Pawel Kuzak 70a1085712 Do not print statistics of foreign calls
10 years ago
Eric Green aea277dbbe Add a mutex lock for recording to ensure thread safety when writing to pcap
10 years ago
Eric Green 9637e7bf74 Fix function header of rand_affixed_str to match header definition
10 years ago
Eric Green 865ce9a95a Remove unused variables (from refactor) in the stream_fd struct
10 years ago
Eric Green 04b71dd2b5 Add back free that fixes memory leak introduced by rebase
10 years ago
Eric Green c8bf1a7da2 call.h now include media_socket.h to reflect the move of the stream_fd struct
10 years ago
Eric Green 0e1892f532 recording.c fix my tabbing to use actual tabs
10 years ago
Eric Green a8576eb2d2 Do not convert to network byte ordering before we are done using a variable
10 years ago
Dylan Mikus fa8146f053 Fixes for recording packet counter
10 years ago
Dylan Mikus 209cb7ab32 Modifications to recording metadata start/end time lines
10 years ago
Dylan Mikus 5fe68b9097 Link recording metadata SDP to RTP packet numbers
10 years ago
Dylan Mikus 526e9c251c Get recording metadata call start from call struct
10 years ago
Dylan Mikus a109fa2d6d Change metadata file permissions and fix some warnings
10 years ago
Dylan Mikus d267a3bdd7 Tweaks to log verbosity for some messages
10 years ago
Dylan Mikus abd953812f Fixes to match PCAP packets with SDP
10 years ago
Dylan Mikus beab4d95b4 Write recording files in url-encoded format
10 years ago
Dylan Mikus adb6193891 Minorly adjusted the recording metadata file format
10 years ago
Dylan Mikus d09f34a70b Updates to description of metadata file format
10 years ago
Dylan Mikus 0b33b4815a Write out rewritten SDP from answer to metadata file
10 years ago
Dylan Mikus 466c52c18e Refactored recording setup to streamline it
10 years ago
Dylan Mikus b35ca7ded2 Record answer SDP to recording metadata file
10 years ago
Dylan Mikus c787ab9c4e Refactored NG protocol handling of "record call" settings
10 years ago
Dylan Mikus d604ff6fd3 Set more permissive permissions in spool directory
10 years ago
Dylan Mikus 1cec331d1c Only turn on or off recording if explicitly specified
10 years ago
Dylan Mikus b3d6073447 Prefix recording metadata and pcap files with call id
10 years ago
Dylan Mikus 844abeec7d Don't free the metadata before writing it to metadata file
10 years ago
Dylan Mikus 74999abb76 Free the call->recording struct when the call is destroyed.
10 years ago
Dylan Mikus 1af73c665a Fixed description of metadata file format to list just one pcap file.
10 years ago
Dylan Mikus 7acc3239d2 Write out unique ip:port pairs for all streams.
10 years ago
Dylan Mikus f516684ade All RTP packet data for a call goes to one PCAP file.
10 years ago
Dylan Mikus 8f6d7c0a16 Logging cleanup and added recording filesystem logging messages.
10 years ago
Dylan Mikus 2c1685b807 Added command line option for the spool directory for recordings.
10 years ago
Dylan Mikus f36faef417 Code bug fixes and safety checks around error-possible code.
10 years ago
Dylan Mikus 89690b4aea Write out call start and end timestamps to recording metadata file.
10 years ago
Dylan Mikus 7c53e9f95b Moved file system management and random string code to appropriate files.
10 years ago
Dylan Mikus 692b12944c Create metadata file and move it to spool directory when call finishes.
10 years ago
Dylan Mikus c8af44a21a Made random filename with affixes generic.
10 years ago
Dylan Mikus 7cc801931a Added metadata string to call struct.
10 years ago
Dylan Mikus a714fbc462 Record RTP in PCAP files in the /tmp directory.
10 years ago
Eric Green 70eb6b9e81 Record raw RTP to recording files on the filesystem.
10 years ago
Richard Fuchs cdcf2ff71d Merge branch 'master' of https://github.com/1and1/rtpengine
10 years ago
Richard Fuchs 351bc106be staticize function
10 years ago
Stefan Mititelu 11e94c40ea Add >= idx check for redis_list_get_idx_ptr()
10 years ago
Stefan Mititelu 2024f9e37a Remove unused code remnants
10 years ago
Pawel Kuzak 96cd5fcf01 Merge remote-tracking branch 'upstream/master'
10 years ago
Stefan Mititelu 1881fc5e58 Free call's main queues in __call_free()
10 years ago
Stefan Mititelu 27ecb3631d Free redis.c reply object memory leak
10 years ago
Richard Fuchs ee960b7f67 dont do DTLS when in passthrough mode
10 years ago
Stefan Mititelu bd7abe6409 Fix memory leak for notifications feature
10 years ago
Richard Fuchs a813ddfeae fix compiler warnings due to conflicting int types
10 years ago
Stefan Mititelu ee0216ed3f Update obj_* debugging text
10 years ago
Stefan Mititelu 4fd69132a2 Merge remote-tracking branch 'upstream/master'
10 years ago
Richard Fuchs 0206f09b93 fix obj-debug stuff
10 years ago
Richard Fuchs 05f0317acf fix the 'media address' parameter
10 years ago
Stefan Mititelu b35a8dd9d9 Fix memory leak on redis notifications
10 years ago
Stefan Mititelu ce3ae37a76 Fixes after second review
10 years ago
Stefan Mititelu f392d9b768 Update notifications flag logic
10 years ago
Stefan Mititelu 1648757aa7 Fixes after first review
10 years ago
Stefan Mititelu 9ec8ac6a47 Upgrade rtpengine-ctl tool
10 years ago
Stefan Mititelu a3f0e30307 Merge remote-tracking branch 'upstream/master'
10 years ago
Richard Fuchs 29545e5434 MT#18599 use kernel socket receive timestamping
10 years ago
Richard Fuchs d45f928c98 MT#18599 limit Homer send queue size
10 years ago
Richard Fuchs 6187f5186e MT#18599 support parsing of RTCP SDES fields
10 years ago
Richard Fuchs b5e36c223c MT#18599 simplify RTCP parsing
10 years ago
Richard Fuchs 8267966569 MT#18599 use glib GString for RTCP logging
10 years ago
Richard Fuchs 133e6304b3 MT#18599 support sending RTCP stats to Homer via HEP
10 years ago
Stefan Mititelu d7a75a1256 Merge remote-tracking branch 'upstream/master'
10 years ago
Richard Fuchs 8f9580e9c1 Merge branch 'RTPENGINE-88-PULL' of https://github.com/1and1/rtpengine
10 years ago
smititelu bac271b398 Add callmaster config lock
10 years ago
Richard Fuchs c44247e211 Merge branch 'RTPENGINE-85-PULL' of https://github.com/1and1/rtpengine
10 years ago
Stefan Mititelu a43996fe4a Add 'unidirectional' attribute
10 years ago
Pawel Kuzak 3f4cfffdbb Fixed inconsistency in rtpengine-ctl list totals
10 years ago
Stefan Mititelu 57aa56616d Add offer/answer/delete processing statistics
10 years ago
Stefan Mititelu 05302c265f Update rtpengine-cli set maxsessions
10 years ago
Stefan Mititelu 4343ff02cb Update rtpengine-cli set maxopenfiles
10 years ago
Stefan Mititelu ef39aa35f1 Add rtpengine-ctl list/set timeout
10 years ago
Stefan Mititelu 9be68a0c2f Add FINAL_TIMEOUT parameter
10 years ago
Lucian Balaceanu e2d78d9003 Fix overflow of graphite call_duration statistic
10 years ago
Lucian Balaceanu 2a05b85049 Take end time of call monologue from terminated field
10 years ago
Lucian Balaceanu 859a5058e6 Fix (foreign|own)_session, call_duration stats: modify call_get_or_create to set stats and foreign call state
10 years ago
Lucian Balaceanu 8fb677bccb Fix stats foreign_sessions if redis_restore fails
10 years ago
Stefan Mititelu 763502dcb8 Add sanity checks
10 years ago
Stefan Mititelu 7377b908b7 Add/Retrieve ps->component to/from redis
10 years ago
smititelu 98a86d34c4 Fix segfault when ps->component=0
10 years ago
smititelu b38f3da45c Redis nofitications fixes
10 years ago
Stefan Mititelu 5e7640b4c4 Add/Retrieve ps->component to/from redis
10 years ago
smititelu a6b4b86983 Fix segfault when ps->component=0
10 years ago
smititelu ac753abebd Merge remote-tracking branch 'upstream/master' into dev-fmetz-redis-notification-upstream-updated
10 years ago
smititelu eee5a65911 Update doku for REDIS_NUM_THREADS
10 years ago
smititelu 65de7932ad Add config REDIS_NUM_THREADS param
10 years ago
smititelu 74ad505c6f Update README.md for NO_REDIS_REQUIRED parameter
10 years ago
smititelu 04471770ce Add NO_REDIS_REQUIRED new parameter
10 years ago
smititelu 33e72ba67a Skip redundant log if r->ctx->err != NULL
10 years ago
smititelu 50aef804d9 Rtpengine starts even if redis is down
10 years ago
smititelu 7d03f3da6c Improve Redis connection logging
10 years ago
smititelu e48252e11c Change abort() behaviour of redis_check_conn()
10 years ago
Richard Fuchs f52884e99f report errors returned from redis
10 years ago
Richard Fuchs c1407d6b44 support Redis server authentication
10 years ago
Richard Fuchs 3f1ae98379 unify -r/-R and -w/-W options into single options
10 years ago
Richard Fuchs d8e1e9f86a simplify redis CLI options
10 years ago
Richard Fuchs 725638bccb remove redis-role redundancy
10 years ago
Frederic-Philippe Metz 1ca0cc5a52 Implemented session limitation logic
10 years ago
Richard Fuchs 27d18e2be3 fix stun xor port response
10 years ago
Richard Fuchs 1c56865776 fix iovec overflows
10 years ago
Richard Fuchs b82812260d move advertised_address out of intf_spec into local_intf
10 years ago
Richard Fuchs 77d074c335 fix length of software STUN attribute
10 years ago
Richard Fuchs 5b33498291 fix RTCP content output
10 years ago
Frederic-Philippe Metz 637d1f4cce Locked redis context on redis notification
10 years ago
Frederic-Philippe Metz 5af1d8fcca redis operations on the keyspace are now related to the keyspace they belong to
10 years ago