Commit Graph

716 Commits (f0b0feeca77d8ee03fd1a0fa7be3db330304ce8e)

Author SHA1 Message Date
Richard Fuchs 2d78c36338 TT#76711 allow update of media type
5 years ago
Richard Fuchs 6513bfd5bd TT#76711 split out function to handle media protocols
5 years ago
Richard Fuchs ad4ea21ef4 fix for d09071a
5 years ago
Richard Fuchs d09071a16b TT#74850 avoid duplicate dlg.terminate_dlg with reversed tags
5 years ago
Richard Fuchs 01002b07da TT#74850 clean up indentation by reversing logic
5 years ago
Richard Fuchs 3d83b46505 TT#76206 fix call teardown for half established dialogues
5 years ago
Balajee SV 220c96aea4 Merge branch 'jb_new' of https://github.com/balajeesv/rtpengine into jb_new
5 years ago
Balajee SV b45dbbdc24 Merge branch 'jb_new' of https://github.com/balajeesv/rtpengine into jb_new
5 years ago
Balajee SV e3a5d45433 jb_new
5 years ago
Balajee SV c0b28c3d65 jb_new
5 years ago
Richard Fuchs ef0d6a3a80 TT#74301 merge jitter buffer PR #834
5 years ago
Richard Fuchs c70b3f6369 TT#74651 fix several mem/resource leaks
5 years ago
Richard Fuchs bc3d4f71b7 compile fix for glib versions < 2.30
6 years ago
Richard Fuchs e0dd6747ea TT#71050 fix branch deletion from via-branch
6 years ago
Richard Fuchs ab77ed50af TT#64601 refuse overriding crypto params from SDES when DTLS is in use
6 years ago
Richard Fuchs 7b60ca8e35 ignore untagged/wildcard/unknown MLs in delete with via-branch
6 years ago
Richard Fuchs 22ea251157 don't skip address family selection when zero port is present
6 years ago
Richard Fuchs 3466700149 TT#65800 fix SDES negotiation bug
6 years ago
Richard Fuchs 3fb5befad4 TT#64301 log xmlrpc children to stderr
6 years ago
Richard Fuchs 23977237c0 TT#61050 detect to-tag changes via via-branch
6 years ago
Richard Fuchs 988d077b5c TT#60301 fix rtcp-mux logic with branched calls
6 years ago
Richard Fuchs 910c03fa62 TT#58660 PCM to RFC DTMF transcoding
6 years ago
Richard Fuchs db507468de TT#59100 support case insensitive codec names
6 years ago
Richard Fuchs 2298de76b1 honour a=rtcp-fb in SDP even if transport is advertised as RTP/(S)AVP
6 years ago
Richard Fuchs 573cd3ff22 TT#58050 fix refcount bug
6 years ago
Richard Fuchs 26b725d024 TT#45617 add new options to support log markers for sensitive data
6 years ago
Richard Fuchs 357474df6f TT#50652 add label= option to match call participants
6 years ago
Richard Fuchs fb76ef74f8 TT#54800 fix ptime overrides
6 years ago
Richard Fuchs 40dc49f8e2 TT#50652 stop media playback on call delete
6 years ago
Richard Fuchs d449861d96 TT#50652 separate out and move crypt handler routines
6 years ago
Richard Fuchs 3bdad88063 TT#50652 create timer to gradually send packets without jitter
6 years ago
Richard Fuchs 83965bdb1f TT#50652 infrastructure to support reading/playing of media files
6 years ago
Richard Fuchs 4266f8e542 move SDES-no handling into __sdes_accept
6 years ago
Richard Fuchs 0c559f5860 Add missing SDES accept routine
6 years ago
Richard Fuchs b593d57e21 TT#37400 do not answer with ICE attributes if no ICE was offered
6 years ago
Richard Fuchs 0e129eda08 TT#49600 fix offered crypto suite not being dropped via SDES-no
7 years ago
Richard Fuchs c80f55b85a TT#49600 add debug log output for SDES negotiations
7 years ago
Richard Fuchs 881e0dc2dc TT#48800 add option to disable individual SDES crypto suites
7 years ago
Richard Fuchs 3dc7d1b3ed TT#45472 support updating media ID strings
7 years ago
Richard Fuchs 77e2862a02 TT#45472 suppress media updates for SDP fragments
7 years ago
Richard Fuchs c546b6b89f TT#45472 check a=mid values in answers and warn on mismatches
7 years ago
Richard Fuchs e1fbe25b89 TT#45472 keep track of media IDs in a hash table
7 years ago
Richard Fuchs a1efdf6b20 TT#45472 support generating a=mid lines if not present
7 years ago
Richard Fuchs 3c50130c7b TT#45472 process and retain media ID strings (a=mid)
7 years ago
Richard Fuchs 13c21b1400 fix segfault when using legacy control protocol
7 years ago
Richard Fuchs 04a83027a0 TT#43557 implement media blocking
7 years ago
Richard Fuchs 89084da8d8 TT#43855 support XMLRPC callback to Kamailio
7 years ago
Richard Fuchs b82cf56ec0 clean up code artefacts from cab9d895
7 years ago
Richard Fuchs cab9d895b2 TT#42500 fix only one crypto suite being offered.
7 years ago
Richard Fuchs f1b81b649e simplify parameters passed to codec_rtp_payload_types()
7 years ago
Richard Fuchs 2f5d792aae TT#36301 add `always-transcode` flag
7 years ago
Richard Fuchs fa5c265045 TT#36302 support scheduling settings
7 years ago
Richard Fuchs 6da7494a08 TT#36180 calculate per-second stats based on timer runtime
7 years ago
Richard Fuchs 9943a3d868 TT#36180 scale timer interval according to runtimes
7 years ago
Richard Fuchs 3b3e964c83 short lock duration for faster calls iteration in the timer
7 years ago
Richard Fuchs 539e063992 don't retry XMLRPC callback if endpoint says the ID was not found
7 years ago
Richard Fuchs b4f65bdd96 TT#35634 add `xmlrpc-address` option for callback address
7 years ago
Richard Fuchs e0cdf74ac5 fix SRTP ROC syncing between kernel and userspace
7 years ago
Richard Fuchs 6fa712d0d8 implement offer-timeout option
7 years ago
Richard Fuchs 16024d2e7a create explicit per-stream DTLS context for ICE
7 years ago
Richard Fuchs 14100b0b8a use reference counting on SSRC objects
7 years ago
Richard Fuchs 5b0bb90afa fix recording setup_media reversed direction
7 years ago
Richard Fuchs 14262f56fa fix segfault regression from e84fd86
7 years ago
Richard Fuchs e84fd8612b fix incorrect DTLS context being used with ICE
7 years ago
Richard Fuchs bc30929192 TT#32210 add codec masking option
7 years ago
Richard Fuchs 9147d5e438 TT#32983 support transcoding options in redis (re)store
7 years ago
Richard Fuchs a4a0e34ded TT#31408 distinguish between codec types
7 years ago
Richard Fuchs 266a1fbc8b TT#31404 support custom ptime and repacketization for sampled codecs
7 years ago
Richard Fuchs ad4a5d10ef TT#31198 add resampling support
7 years ago
Richard Fuchs a4e73c90e8 TT#30404 accept and reject codecs according to transcoding preference
7 years ago
Richard Fuchs b9206a49bc TT#28163 abstractize SSRC hash
7 years ago
Richard Fuchs d510f5efe8 TT#30404 initial support for adding codecs for transcoding
7 years ago
Richard Fuchs 8715d40242 TT#30405 codec matchup and handler functions
7 years ago
Claudiu Boriga b7b40cc5a9 Use proper data type for requests statistics
7 years ago
Claudiu Boriga 3850e99fd3 Use atomic64_get_set for requests statistics
7 years ago
Claudiu Boriga f7ece0452b Merge remote-tracking branch 'sipwise/master' into add-requests-ps-stats
7 years ago
Claudiu Boriga 8cc4b7874e Add statistics for requests per second
7 years ago
Richard Fuchs ca78747c8c TT#30405 rename media->rtp_payload_types to ->codecs for brevity
7 years ago
Richard Fuchs 2540c5d501 TT#30403 support codec-offer
7 years ago
Richard Fuchs d31fb36f6e TT#30403 parse and retain a=fmtp infos
7 years ago
Richard Fuchs d7dd7421e6 TT#30403 implement codec stripping
7 years ago
Richard Fuchs 46d853972b move lib/ config options into struct
8 years ago
Richard Fuchs 75056a8dd1 eliminate the callmaster struct
8 years ago
Richard Fuchs f2b93f9ef8 move config options into global struct rtpengine_config
8 years ago
Richard Fuchs d65a6bbbdc move latest_graphite_interval_start to global scope
8 years ago
Richard Fuchs 741140341f move "totalstats" out of callmaster into global scope
8 years ago
Richard Fuchs c969ea1e57 move stats and statsps into global scope
8 years ago
Richard Fuchs cf3a8f9e16 move 'poller' member of callmaster into global scope
8 years ago
Richard Fuchs dffbddb2d6 don't use g_ prefix for global variables
8 years ago
Richard Fuchs e87b2710c8 move matching regexps out of callmaster into global
8 years ago
Richard Fuchs 790e596c58 move cngs out of callmaster into global scope
8 years ago
Richard Fuchs 399e15b39a make the callhash global
8 years ago
Richard Fuchs 1aa9944fe4 TT#27550 implement interface round-robin selection
8 years ago
Claudiu Boriga ab0cb0c7a7 don't use g_hash_table_foreach for call_timer_iterator
8 years ago
Richard Fuchs cc056c148f add rtcp-mux-require option to force rtcp-mux usage for WebRTC
8 years ago
Richard Fuchs 00cc28dff4 TT#22660 don't zero out SDP origin on zero connection address
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
Richard Fuchs 2a03c008ac clean up code artifacts
8 years ago
Richard Fuchs ab0dba7d14 TT#12800 support custom monologue labels
8 years ago
Richard Fuchs 9108b14b80 TT#12800 records stats average not just for MOS but all values
8 years ago
Richard Fuchs 11dac7b28f TT#12800 add MOS statistics to final log output
8 years ago
Richard Fuchs 868c3b64fe TT#12800 add ssrc handling into packet_stream struct
8 years ago
Richard Fuchs 223c7f17dd TT#12800 abstractize rtcp parsing and logging functions
8 years ago
Richard Fuchs b3583633e3 TT#12800 canonicalize ssrc handling
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
Frederic-Philippe Metz 95d942005d Adds missing log output
8 years ago
Frederic-Philippe Metz 8f01e780a8 First attempt to seperate more stats and cdr away from the core running code
8 years ago
Frederic-Philippe Metz 14b37ebfe5 Removes multikey stuff
8 years ago
Frederic-Philippe Metz 749a7da7b0 Implements redis onekey concept
9 years ago
Richard Fuchs 97183b10df make sure call_destroy unrefs the correct call object
9 years ago
Richard Fuchs 30dcadab15 TT#5566 rudimentary support for multiple audio codecs
9 years ago
Richard Fuchs 411c3b3373 TT#5566 checkin of external call recording daemon
9 years ago
Richard Fuchs 984585a32c TT#5003 implement kernel-side call recording
9 years ago
Richard Fuchs 94e3c8f9cb TT#3881 re-enable selective packet loop check
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 512cc24f9a Print relay IP information
9 years ago
Richard Fuchs a3c703b302 remove superfluous initialization
9 years ago
Pawel Kuzak e212c775e2 Merge remote-tracking branch 'upstream/master'
9 years ago
Pawel Kuzak 70a1085712 Do not print statistics of foreign calls
9 years ago
Dylan Mikus 466c52c18e Refactored recording setup to streamline it
9 years ago
Dylan Mikus b3d6073447 Prefix recording metadata and pcap files with call id
9 years ago
Dylan Mikus 844abeec7d Don't free the metadata before writing it to metadata file
9 years ago
Dylan Mikus 74999abb76 Free the call->recording struct when the call is destroyed.
9 years ago
Dylan Mikus f516684ade All RTP packet data for a call goes to one PCAP file.
9 years ago
Dylan Mikus 8f6d7c0a16 Logging cleanup and added recording filesystem logging messages.
9 years ago
Dylan Mikus 2c1685b807 Added command line option for the spool directory for recordings.
9 years ago
Dylan Mikus f36faef417 Code bug fixes and safety checks around error-possible code.
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 c8af44a21a Made random filename with affixes generic.
9 years ago
Dylan Mikus 7cc801931a Added metadata string to call struct.
9 years ago
Dylan Mikus a714fbc462 Record RTP in PCAP files in the /tmp directory.
9 years ago
Eric Green 70eb6b9e81 Record raw RTP to recording files on the filesystem.
9 years ago
Stefan Mititelu 2024f9e37a Remove unused code remnants
9 years ago
Pawel Kuzak 96cd5fcf01 Merge remote-tracking branch 'upstream/master'
9 years ago
Stefan Mititelu 1881fc5e58 Free call's main queues in __call_free()
9 years ago
Richard Fuchs ee960b7f67 dont do DTLS when in passthrough mode
9 years ago
Stefan Mititelu 4fd69132a2 Merge remote-tracking branch 'upstream/master'
9 years ago
Richard Fuchs 0206f09b93 fix obj-debug stuff
9 years ago
Stefan Mititelu ce3ae37a76 Fixes after second review
9 years ago
Stefan Mititelu f392d9b768 Update notifications flag logic
9 years ago
Stefan Mititelu d7a75a1256 Merge remote-tracking branch 'upstream/master'
9 years ago
Richard Fuchs 8f9580e9c1 Merge branch 'RTPENGINE-88-PULL' of https://github.com/1and1/rtpengine
9 years ago
smititelu bac271b398 Add callmaster config lock
9 years ago
Stefan Mititelu a43996fe4a Add 'unidirectional' attribute
9 years ago
Stefan Mititelu 9be68a0c2f Add FINAL_TIMEOUT parameter
9 years ago
Lucian Balaceanu e2d78d9003 Fix overflow of graphite call_duration statistic
9 years ago
Lucian Balaceanu 2a05b85049 Take end time of call monologue from terminated field
9 years ago
Lucian Balaceanu 859a5058e6 Fix (foreign|own)_session, call_duration stats: modify call_get_or_create to set stats and foreign call state
9 years ago
Lucian Balaceanu 8fb677bccb Fix stats foreign_sessions if redis_restore fails
9 years ago
smititelu 98a86d34c4 Fix segfault when ps->component=0
9 years ago
smititelu b38f3da45c Redis nofitications fixes
9 years ago
smititelu a6b4b86983 Fix segfault when ps->component=0
9 years ago
smititelu ac753abebd Merge remote-tracking branch 'upstream/master' into dev-fmetz-redis-notification-upstream-updated
9 years ago
Richard Fuchs d8e1e9f86a simplify redis CLI options
9 years ago
Richard Fuchs 725638bccb remove redis-role redundancy
9 years ago
Frederic-Philippe Metz 1ca0cc5a52 Implemented session limitation logic
9 years ago
Richard Fuchs b82812260d move advertised_address out of intf_spec into local_intf
9 years ago
Richard Fuchs 38d031c510 fix support for AF switching on the fly
9 years ago
Frederic-Philippe Metz 9ca0be54c3 Reset deletion timers for in-responsible calls
9 years ago
Frederic-Philippe Metz fd3e2342c1 Implemented redis notification according to RTPENGINE-64
9 years ago
Richard Fuchs 5dbadc4adb implement port latching option
9 years ago
Richard Fuchs b0a38982c2 fix sfd assignments when remote port changes
9 years ago
Richard Fuchs c9d797a91a retain outgoing DTLS role whenever possible
9 years ago
Richard Fuchs b85a9e398c fix two memory leaks
9 years ago
Frederic-Philippe Metz a9b27c7e57 Merge remote-tracking branch 'origin/master' into dev-fmetz-redis-notification
10 years ago
Lucian Balaceanu 8ee14e5d13 Fixing managed_sess_min interval statistic.
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 cb53218a90 fix incomplete dialogue association when initial offer contains to-tag
10 years ago
Richard Fuchs 31d28a3bab MT#16783 support via-branch matching in `delete` messages
10 years ago
Richard Fuchs 6d3865b971 Mass update - manual merge of rfuchs/socket-rework branch
10 years ago
Richard Fuchs afa46a43a5 use `reset` flag to also reset and restart ICE agents
10 years ago
Richard Fuchs cae0b4bf04 compile fix for debug builds
10 years ago
Richard Fuchs bbbd93dd78 Merge branch 'new_redis_hashes' of git://github.com/1and1/rtpengine
10 years ago
smititelu 637f9f9ab5 Add logging related to kernelization and strict-source flag - master branch
10 years ago
Lucian Balaceanu 41fa252d6b Replacing redis hashkeys with -CALLID_IDX instead of -POINTER
10 years ago
Richard Fuchs ed75c99a2d fix a memory leak
10 years ago
Richard Fuchs 99a3faf87b MT#15289 add "reset" flag to un-learn certain parameters
10 years ago
Frederic-Philippe Metz 10f6e51b72 Replaced sprintf by snprintf for cdrbuffer
10 years ago
smititelu 72cf55b6fb Specific REDIS read and write databases
10 years ago
Richard Fuchs 2c2c017b97 Merge branch 'dbg-new-plugin' of git://github.com/1and1/rtpengine
10 years ago
Lucian Balaceanu 482b004ef5 CLI output for Graphite statistics
10 years ago
smititelu 2ed14aa86e Solve packet errors due to payload type
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
Richard Fuchs 59b0f331ad ignore endpoint changes when ICE is in use
10 years ago
Richard Fuchs 87feafc790 MT#14817 don't reset crypto on non-filled packet stream
10 years ago
Richard Fuchs 08cb513e66 fix missing stack var initialization
10 years ago
Richard Fuchs e14908cef5 Merge branch 'master' of git://github.com/smititelu/rtpengine into smititelu-master
10 years ago
Stefan Mititelu 159d86dc92 Add codec info in CDR logging
10 years ago
Stefan Mititelu 47ac2c743e Added a bridgeport GQueue to the 'struct call'
10 years ago
Richard Fuchs a811adb4fb support custom per-call/branch delete delay
10 years ago
Richard Fuchs 7ed4ed968f support immediate call deletion with delete-delay=0
10 years ago
Richard Fuchs d17e26adb6 segfault fix for debug builds
10 years ago
Richard Fuchs eea325683b MT#12691 implement via-branch handling
10 years ago
Richard Fuchs a6d9c78780 MT#13067 fix premature call timeout for un-answered calls
10 years ago
Richard Fuchs d0ac7216cb skip printing cdr info when cdrs are disabled
10 years ago
Richard Fuchs 4893487ebb fix compiler warning
10 years ago
Richard Fuchs 7db15eb87c Merge branch 'rfuchs/1and1-master'
10 years ago
Richard Fuchs f398d837df double check kernel SSRC when updating last index/ROC
10 years ago
Richard Fuchs 76f3893464 ssrc tracking improvements
10 years ago
Marc Soda 0ac1ed2419 Remove unnecessary prototype.
10 years ago
Marc Soda 16b91847f9 Track SSRCs and sequence numbers. Sync between userspace and the kernel.
10 years ago
Richard Fuchs 92cc560b74 don't shut down ICE agent on consecutive re-invites
10 years ago
Richard Fuchs 0381b15b76 further move RTCP logging until after SRTCP decryption
10 years ago
Richard Fuchs ed2c101a3f preliminary fixup of new kernel stats - needs more work
10 years ago
Richard Fuchs 0abf5b100b process muxed RTCP
10 years ago
Richard Fuchs 5785bea2c9 Merge branch 'master' of git://github.com/1and1/rtpengine into rfuchs/1and1-master
10 years ago
Richard Fuchs f0dc1f8589 Merge remote-tracking branch 'origin/rfuchs/sdes-session-params'
10 years ago
Richard Fuchs b205691e9c RTP forwarding fix for trickle ICE
10 years ago
Richard Fuchs 144a451526 support selective SDES session parameters
10 years ago
Richard Fuchs d4222375bf support SDES session parameters in kernel module
10 years ago
Richard Fuchs 96e3b91859 Implement support for some SDES session parameters
10 years ago
Richard Fuchs fd426457d7 use SRTP<>SRTP transcoding when crypto parameters differ
10 years ago
Richard Fuchs b0edf59a8f don't reset certain stream flags for disabled (zero port) streams
10 years ago
Frederic-Philippe Metz 89bbaf12e3 Merge branch 'dev-fmetz'
10 years ago
Frederic-Philippe Metz ee113f9998 Merge remote-tracking branch 'upstream/master'
10 years ago
Richard Fuchs ba48d7b518 fix call timeout when ICE fails
10 years ago
Frederic-Philippe Metz f8aaf358cd Implemented TOS/Traffic Class bit in received first RTP packet
10 years ago
Frederic-Philippe Metz 070212ec3a Added RTCP parsing and option to log that information
10 years ago
Frederic-Philippe Metz 5be006a3d4 Merge branch 'master' of https://github.com/1and1/rtpengine
10 years ago
Frederic-Philippe Metz a9e4c023e4 Merge branch 'dev-fmetz'
10 years ago
Richard Fuchs c0fab9b47d various fixes related to ICE negotation and rtcp-mux
10 years ago
Richard Fuchs fd99ecf98c don't close call on UDP send error
10 years ago
Richard Fuchs 0b202d821f Fall back to a different address family if the requested one is unavailable
10 years ago
Richard Fuchs 93294f8c5f don't relearn addresses if the endpoint hasn't changed
10 years ago
Frederic-Philippe Metz 6d33ef76b0 Implemented delay measurement of RTP packets in kernel.
10 years ago
Richard Fuchs 9593519483 Leave unsupported (non-RTP) protocols alone when translation is requested
10 years ago
Frederic-Philippe Metz e0f9c59274 Implemented stage 1 of measuring delay
10 years ago
Richard Fuchs 0e4e6f2f3c revamp and move timeval functions
10 years ago
Richard Fuchs 98e0b6dea5 update for redis plugin
10 years ago
Richard Fuchs f99d6d4f42 implement full ICE support
10 years ago
Richard Fuchs 956d07d42e fix erroneously reported 0.0.0.0 address when bridging from ipv6
10 years ago
Frederic-Philippe Metz 6bc7a77e9b First try of implementation of measureing delay.
10 years ago
Richard Fuchs 1f7c8a228a remove obsolete HAS_HANDLER flag
10 years ago
Richard Fuchs 91a85e6cd8 fix for skewed stats
10 years ago
Richard Fuchs 016f8b3b53 Rework logging a bit (primarily in NG)
10 years ago
Richard Fuchs b44bb288c9 segfault fix
10 years ago
Richard Fuchs 4a97bb167a attempt to work around trickle ice
10 years ago
Richard Fuchs b586fa7031 fix memory leak
10 years ago
Richard Fuchs c2ff5c3fd3 MT#9935 understand, learn, remember and report RTP payload types (codecs)
10 years ago
Richard Fuchs f7a15946dc more descriptive warning for failed kernelizing
10 years ago
Richard Fuchs 037c6aa7dd shorter locking in stats loop
10 years ago
Richard Fuchs d79c68f532 remove some unnecessary memsets
10 years ago
Richard Fuchs fb667a8dba turn tag and termination texts into array lookups
10 years ago