Commit Graph

1081 Commits (master)

Author SHA1 Message Date
Richard Fuchs 406f2dc36d TT#101150 remove in_tos_tclass from struct stats
4 years ago
Richard Fuchs 1fac2b08b9 TT#101150 use rtpe_now for timer start time
4 years ago
Richard Fuchs 30d91ecc63 TT#101150 add test script for stats output
4 years ago
Richard Fuchs 3f69a48f07 TT#14008 add NAT-wait flag
4 years ago
Richard Fuchs b28ea21f41 TT#14008 add extra debug logging for kernel streams
4 years ago
Richard Fuchs 758badb46a TT#14008 output list of subscriptions in final log stats
4 years ago
Richard Fuchs af79ec6a91 TT#14008 rework offer/answer subscriptions
4 years ago
Richard Fuchs 2a39277f0c TT#14008 add hash table for subscriptions for quick lookups
4 years ago
Richard Fuchs 6443cfcb8e TT#14008 skip stray warning message for trickle ICE updates
4 years ago
Stefan Mititelu db53dd683a TT#14008 Fix graphite deadlock
4 years ago
Richard Fuchs 8a60d17574 TT#131651 support reverse re-invite to new to-tag
4 years ago
Richard Fuchs 2130e2f62b TT#89352 support Janus control protocol
4 years ago
Richard Fuchs 70665e3aef TT#89352 add shortcut for "accept any"
4 years ago
Richard Fuchs 05e9b5f131 TT#91151 avoid possible null pointer
4 years ago
Richard Fuchs fbcddaca49 TT#91151 negotiate DTLS role and SDES for publish
4 years ago
Richard Fuchs 5fc71c0357 TT#14008 support %l format even if recording is started mid call
4 years ago
Richard Fuchs f04332915b TT#91151 add publish/subscribe commands
4 years ago
Richard Fuchs c2b78aa9cd TT#132251 refactor kernel payload type tracking
4 years ago
Richard Fuchs 99fbff408e TT#14008 fix call iterator dead lock
4 years ago
Richard Fuchs 9952647d19 TT#14008 fix call iterator dead lock
4 years ago
Richard Fuchs 0266886487 TT#37394 support SO_INCOMING_CPU
4 years ago
Richard Fuchs 124d89ade0 TT#14008 ignore "received from" address when ICE is in use
4 years ago
Richard Fuchs cda67ac5ac TT#14008 fix call iterator race condition
4 years ago
Richard Fuchs de85d4b674 TT#128050 parse and document `reuse codecs` flag
4 years ago
Daniel Hauptmann 4481c773ac TT#128050 Squashed commit of the following:
4 years ago
Richard Fuchs 08fee992d1 TT#89352 add support for trickle ICE offer
4 years ago
Richard Fuchs 5c519ec2db TT#89352 allow create-only mode for call_get_*
4 years ago
Richard Fuchs 765b1e3bca TT#89352 use bool type for foreign call functions
4 years ago
Richard Fuchs 7b59f55457 TT#14008 fix handling of possible NULL rtcp_sibling
4 years ago
Richard Fuchs 94a5feea7d TT#111150 fix coverity warnings
4 years ago
Richard Fuchs 0c731ae302 TT#14008 fix stream stats not being updated from kernel
4 years ago
Richard Fuchs 77b5e0b6bd TT#91151 fix erroneous variable re-use
4 years ago
Richard Fuchs ffaed806c3 TT#91151 save raw protocol string
4 years ago
Richard Fuchs d0c6919923 TT#91151 save last input SDP w/ parsed
4 years ago
Richard Fuchs 92fb330a46 TT#91151 implement one-to-many forwarding
4 years ago
Richard Fuchs 01a10c0379 TT#91151 split input from output legs in kernel module
4 years ago
Richard Fuchs 3b3979586f TT#91151 move `num_ports` into stream_params
4 years ago
Richard Fuchs 1d387b98ef TT#112700 rework codec offer/answer routine
4 years ago
Richard Fuchs a057fffe50 TT#14008 flag Coverity lock-order false positive
4 years ago
Richard Fuchs 256b9917ec TT#121752 associate SSRC hash to monologue instead of entire call
4 years ago
Richard Fuchs aeb0b7bcee TT#14008 fix MQTT global stats
4 years ago
Richard Fuchs dd58a1a42d TT#14008 reset SRTP index on endpoint change
4 years ago
Richard Fuchs 369e64f9a7 TT#14008 add mqtt support
4 years ago
Richard Fuchs e32d128bd8 TT#14008 add cumulative global stats counters
4 years ago
Richard Fuchs 95a30674ac TT#14008 implement lock-light global call iterators
4 years ago
Richard Fuchs 5c50ec2bbe TT#14008 convert RTCP timer and DTX to regular timer
4 years ago
Richard Fuchs 017dbbd330 TT#14800 update last_packet during signalling events
4 years ago
Richard Fuchs 0e2bddb6c8 TT#14008 add `pierce-NAT` flag
4 years ago
Richard Fuchs a009f76456 TT#14008 support media echo and blackhole
4 years ago
Guillem Jover 07695d2abb TT#111150 Use modern <stdint.h> uint<bits>_t types
4 years ago
Richard Fuchs d5d0a3a994 TT#111150 convert str.len to size_t
4 years ago
Richard Fuchs 87e5efc7d4 TT#111150 fix mem leaks in test-transcode
4 years ago
Richard Fuchs a8d5076065 TT#119502 correctly restore calls from both Redis instances
4 years ago
Richard Fuchs 89666c8021 TT#14008 fix ICE if ICE completes before SDP comes in
4 years ago
Richard Fuchs 44809a30c8 TT#111150 refactor xmlrpc_helper to avoid GStringChunk
4 years ago
Richard Fuchs ac71e81e54 TT#118350 add SDES=static option
4 years ago
Richard Fuchs bf40d2a841 Merge branch 'master' of https://github.com/smititelu/rtpengine
4 years ago
Julien Chavanton 49786d049f adding cumulative number of packets lost
4 years ago
Stefan Mititelu 482e2d0d2b Add stats for ipv4/ipv6/mixed media calls
4 years ago
Julien Chavanton 3d5e586c69 mos average fix when missing RTT
4 years ago
Richard Fuchs 8029a4d1cd TT#113750 don't auto switch from an already selected fingerprint
4 years ago
Richard Fuchs def813cfde TT#101201 fix ICE-lite mode switch
4 years ago
Richard Fuchs 083ae4c37f TT#14008 convert rtcp-fb handling to list
4 years ago
Richard Fuchs eb1157d386 TT#112250 don't change ports when endpoint is talking ICE
4 years ago
Richard Fuchs a8013ffe70 TT#111051 set thread specific process names
4 years ago
Richard Fuchs 1785f70637 TT#91151 add new replace-zero-address option
4 years ago
Richard Fuchs 772db96c36 TT#91151 fix check for trickle ICE and zero address
4 years ago
Richard Fuchs 76d5828c82 TT#91151 explicitly keep track of zero endpoint addresses
4 years ago
Richard Fuchs 36273e1f5d TT#107565 add option to track SDP version
4 years ago
Richard Fuchs 8abc6b1ca4 TT#91151 convert RTP PT hash tables to direct hashes
4 years ago
balajeesv ffc9e34e14 TT#14008 Squashed commit of the following:
4 years ago
Richard Fuchs ae82034dfe TT#99621 add option to disable RTCP generation
4 years ago
Stefan Mititelu 001abe5f1f Add new config parameter: `save-interface-ports`
4 years ago
Richard Fuchs 97a1c218fa TT#106101 handle out-of-order ICE fragments
4 years ago
Richard Fuchs 0bab726e5d TT#92250 reset opposite side supp handlers
4 years ago
Richard Fuchs 30733ec5cd TT#97301 support granular log levels
4 years ago
Richard Fuchs 5dbd797651 TT#94201 fix ICE=default to the intended behaviour
4 years ago
Richard Fuchs a4d0a35430 TT#101653 eliminate superfluous log messages
4 years ago
Richard Fuchs ba66e5fa3a TT#99621 support RTCP generation
4 years ago
Richard Fuchs 260a170524 TT#81212 add trigger to set all calls to own or foreign
4 years ago
Richard Fuchs c9140f9f66 TT#81212 add function to change call state (own/foreign)
4 years ago
Richard Fuchs 1d34c40276 TT#101201 support optional ICE-lite mode
5 years ago
Richard Fuchs 8d7badcf02 TT#101201 rename ICE_LITE flag
5 years ago
Richard Fuchs bae79d3fef TT#98901 handle AMR SID DTX
5 years ago
Richard Fuchs cd3652e81a TT#97302 fix some DTLS negotiation issues
5 years ago
Richard Fuchs 65cf46bc0a TT#94201 convert ICE= options internally to enum
5 years ago
Richard Fuchs 95b814553b TT#94201 add ICE=default option
5 years ago
Richard Fuchs e67eb7b57f TT#94201 add explicit passthrough flags
5 years ago
Richard Fuchs 3893069fae TT#92250 allocate strings for hash table storage
5 years ago
Richard Fuchs 68ccc52b2b TT#92250 postpone codec_tracker to final stage
5 years ago
Richard Fuchs 5ad4a59ea7 TT#97302 add new flag to select DTLS fingerprint algo
5 years ago
Richard Fuchs 92ea2685ae TT#96200 fix SRTP multi-protocol re-offer
5 years ago
Semen Darienko c741d45cba fix segfault upon got reINVITE and BYE at the same time
5 years ago
Richard Fuchs 12ac8846de TT#90101 don't blindly accept a protocol switch in an answer
5 years ago
Richard Fuchs 5001a02d44 TT#88750 fix SRTP not working after Redis restart
5 years ago
Richard Fuchs ec061bba6f TT#84804 add new DTLS-reverse flag
5 years ago
Richard Fuchs 87521ead34 TT#85701 fix regression from 8e22c9a41
5 years ago
Richard Fuchs 8e22c9a414 TT#85701 improve branch handling with delete-delay=0
5 years ago
Richard Fuchs 54a39db40f TT#84804 start DTLS as soon as ICE can communicate
5 years ago
Richard Fuchs 6b49c88527 don't always reset crypto when DTLS is in use
5 years ago
Richard Fuchs e01b3b421c TT#28300 add cleanup of calls structs
5 years ago
Richard Fuchs a1fb92353a TT#28300 eliminate free_buf in favour of free_gbuf
5 years ago
Richard Fuchs 5f3f203fb8 TT#82203 add stats for transcoded sessions
5 years ago
Richard Fuchs 89175c8564 TT#81850 fix SRTP re-offer and RTP to SRTP switch
5 years ago
Richard Fuchs cca6ba70c7 allow protocol=RTP/AVP plus OSRTP-offer
5 years ago
Richard Fuchs a168a3c024 TT#78307 generate RTCP for media players
5 years ago
Richard Fuchs 92bcedc08a TT#78307 keep track of RTP stats also when forwarding
5 years ago
Richard Fuchs 34baba9d22 TT#78307 don't update RTP stats for non-forwarding ports
5 years ago
Richard Fuchs 5fc326c64b TT#78001 support OSRTP
5 years ago
Richard Fuchs cc7a9a5de8 TT#78307 clean up debug/log messages
5 years ago
Richard Fuchs 1d514a063c TT#78307 add helper functions for SSRC contexts
5 years ago
Richard Fuchs d872802ba2 TT#76711 T.38 <> audio gateway
5 years ago
Richard Fuchs 6792cde8b6 TT#76711 add custom SDP attributes capability
5 years ago
Richard Fuchs 641fd160ca TT#77358 create helper function to determine RTP protocols
5 years ago
Richard Fuchs a68a59fbf5 TT#76711 keep track of the raw SDP format string
5 years ago
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
6 years ago
Richard Fuchs c80f55b85a TT#49600 add debug log output for SDES negotiations
6 years ago
Richard Fuchs 881e0dc2dc TT#48800 add option to disable individual SDES crypto suites
6 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
7 years ago
Richard Fuchs 75056a8dd1 eliminate the callmaster struct
7 years ago
Richard Fuchs f2b93f9ef8 move config options into global struct rtpengine_config
7 years ago
Richard Fuchs d65a6bbbdc move latest_graphite_interval_start to global scope
7 years ago
Richard Fuchs 741140341f move "totalstats" out of callmaster into global scope
7 years ago
Richard Fuchs c969ea1e57 move stats and statsps 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 399e15b39a make the callhash global
7 years ago
Richard Fuchs 1aa9944fe4 TT#27550 implement interface round-robin selection
7 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
8 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
9 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
Richard Fuchs ca149e6b81 "long" can be 32 bits only and may truncate math
10 years ago
Richard Fuchs 787d90f004 rename atomic_uint64 to atomic64 for brevity
10 years ago
Richard Fuchs 3bc1672a0e more atomic stats, and fix average length calc
10 years ago
Richard Fuchs 20fd255acc use UINT64F instead of %llu where appropriate
10 years ago
Richard Fuchs 411a888f9b use atomic ops for stats
10 years ago
Richard Fuchs de37ac046c use TLS buffer array for temporary strings
10 years ago
Richard Fuchs 36c7141d53 change control_ng_stats into a hash and use locking and atomic ops
10 years ago
Richard Fuchs 57c0a84d81 add locking to totalstats
10 years ago
Frederic-Philippe Metz 61a72b190f Added some more statistics.
10 years ago
Frederic-Philippe Metz 2ae0e35de4 Added functionality to report statistics to graphite
10 years ago
Richard Fuchs 49d1b66bcd Merge branch 'rfuchs/variable_b2b_callback_uri'
10 years ago
Richard Fuchs 43cd3f520a reset other side's crypto params only in passthru mode
10 years ago
Richard Fuchs 02d27d5e02 MT#10583 support b2bua callback to sip proxy address
10 years ago
Eric Tamme b8b17bfa6b clear crypto for BOTH legs when in passthrough mode
10 years ago
Frederic-Philippe Metz a4168bee14 RTPENGINE-12_Fixed_Segmentation_fault_if_only_offer_received.patch
11 years ago
Richard Fuchs d79bcfe7e4 remove extraneous linefeed
11 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 5342158811 added_information_of_from_to_tag:
11 years ago
Frederic-Philippe Metz a871cd7507 added_address_of_invoking_proxy
11 years ago
Frederic-Philippe Metz 131c9e8110 cli
11 years ago
Frederic-Philippe Metz ee655bdcc6 added_milliseconds_precision_for_CDR.patch:
11 years ago
Frederic-Philippe Metz 947b35e889 fixed_callduration_and_added_termination_reason_20141125:
11 years ago
Frederic-Philippe Metz 9886de4654 cdrpatch.dpatch:
11 years ago
Richard Fuchs 276c7c85d7 report errno in log on sendmsg() error
11 years ago
Richard Fuchs 0113991ef5 MT#9585 rename kernel module and all related items from MEDIAPROXY to RTPENGINE
11 years ago
Richard Fuchs 407722599b avoid unnecessary DTLS restarts
11 years ago
Richard Fuchs 50d1839ffe reset DTLS and crypto params when endpoints change
11 years ago
Richard Fuchs 91221ef7a6 move DTLS setup logic into separate function for readability
11 years ago
Richard Fuchs 97b472bfdb dont break legacy control protocols
11 years ago
Richard Fuchs 6757c27a46 add DTLS=passive option
11 years ago
Richard Fuchs 955de109b1 support proper DTLS shutdown and restart DTLS on FP change
11 years ago
Richard Fuchs b49f57b9ea avoid DTLS role change on reinvite
11 years ago
Richard Fuchs af9625de74 make multi-homing thread safe
11 years ago
Richard Fuchs e830bf57eb update for redis module
11 years ago
Richard Fuchs 45dee75156 support specifying interfaces to use in control protocols
11 years ago
Richard Fuchs e365572265 receive local address from kernel and use it for outgoing packets
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 fccad69070 segfault fix for tcp status command
11 years ago
Richard Fuchs c0f8196a25 implement detection of duplicate packets to catch and avoid forwarding loops
11 years ago
Richard Fuchs 65812fa2b2 limit the number of times the receive loop can run without breaking
11 years ago
Richard Fuchs fe6567161a simple port randomizer
11 years ago
Richard Fuchs 16b42fbd62 Switch around internal fromtag/totag/endpoint representation
11 years ago
Richard Fuchs 5e129dd8f6 brevity
11 years ago
Richard Fuchs 1f4f0d6137 implement delayed call/branch deletion
11 years ago
Richard Fuchs 58940b5018 change stun log levels
11 years ago
Richard Fuchs ec21806c95 use default TOS if not using NG protocol
11 years ago
Richard Fuchs 9d001e3452 fix segfault if NG protocol is not used
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 964b644ecd don't skip setting stream to actpass when not using sdes
11 years ago
Richard Fuchs e883f57929 better support protocol switching within a call
11 years ago
Richard Fuchs e7aa743fce change default a=crypto: tag from zero to one
11 years ago
Richard Fuchs 759ea60b3b adding some debug messages
11 years ago
Richard Fuchs 9ecb7daf8d allow for protocol renegotiation
11 years ago
Richard Fuchs b0c7efb241 duplicate x509 in mem for delayed verification
11 years ago
Richard Fuchs 9cbe157f4f properly support the udptl protocol
11 years ago
Richard Fuchs d37d385806 properly handle unknown transport protocols
11 years ago
Richard Fuchs bd770cbab6 Merge branch 'rfuchs/configurable-tos'
11 years ago
Richard Fuchs 69dec02648 fix inappropriate locking sequenece
11 years ago
Richard Fuchs e381e107ec configurable per-call TOS value
11 years ago
Richard Fuchs 2e9ae75fb0 remove needless assertion
11 years ago
Richard Fuchs a7784f5ca3 try to fix null c= address issue
11 years ago
Richard Fuchs ba1bd04841 silence warning for kernelizing rtcp
11 years ago
Richard Fuchs e9ff918b8f make call_destroy() global
11 years ago
Richard Fuchs 3030324c0a sink must also be unlocked when peer address changes
11 years ago
Richard Fuchs 4ded03de91 implement media-handover and strict-source logic
11 years ago
Richard Fuchs b8a39bed7e avoid log message redundancy
11 years ago
Richard Fuchs eb59af9520 more verbose timeout log message
11 years ago
Richard Fuchs bb84ea5035 implement explicit warning when kernel support is missing
11 years ago
Richard Fuchs 940030d670 support kernel forward of non-rtp packets
11 years ago
Richard Fuchs 0a42f4aa26 fix timeout handling for silenced streams
11 years ago
Richard Fuchs 011a42650d restore query/stats output
11 years ago
Richard Fuchs 92cab838b3 remove unused variable
11 years ago
Richard Fuchs 88dfeee622 fix compiler warning
11 years ago
Richard Fuchs 838917b226 compile fixes for older gcc versions
11 years ago
Richard Fuchs 9f1696d2c1 use srtp<>srtp transcode if either side uses dtls
11 years ago
Richard Fuchs aa5bae9777 implement experimental passthrough relay mode
11 years ago
Richard Fuchs 5d490223f6 set media SDES flag when appropriate
11 years ago
Richard Fuchs e19ca0a66e introduce log level flags (LOG_FLAG_RESTORE)
11 years ago
Richard Fuchs 7c0cc4cec0 updates for redis support
11 years ago
Richard Fuchs f638f36bb0 replace implicit bit fields with explicit ones
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
Richard Fuchs bcc020eefb fix IPv4 TOS if IPv6 is enabled
11 years ago
Richard Fuchs 0597817816 update desired address family (based on "direction") when branching
11 years ago
Richard Fuchs 5c616c27af fix erroneous double lookup detection
12 years ago
Richard Fuchs b14908e59e additional debug for double lookup case
12 years ago
Richard Fuchs bda8c543b8 re-learn peer addresses after each signalling
12 years ago
Richard Fuchs 9f51161c61 fix possible segfault on incorrect sp/SP flag usage
12 years ago
Richard Fuchs b18d14eda5 Implement non-fatal warnings in NG replies and use them in "delete"
12 years ago
Richard Fuchs 7e6f1b5bfa enforce stream correlation against same-numbered old streams
12 years ago
Richard Fuchs 1a83499916 fix incorrect source address of STUN binding responses
12 years ago
Richard Fuchs bbc53398f8 implement and document ng "media address"
12 years ago
Richard Fuchs 13ad0428e6 rename some keys in the ng protocol (replace dash with space) but retain compatibility
12 years ago
Richard Fuchs bd5959140d kernelize confirmed streams after restore
12 years ago
Richard Fuchs 29789c12cb more frequent redis updates for srtp calls
12 years ago
Richard Fuchs f75bc44685 get rid of the useless ROC and keep variable naming consistent
12 years ago
Richard Fuchs a780cf7891 redis updates
12 years ago
Richard Fuchs 42efaaecec drop support for hosts without ipv6 stack
12 years ago
Richard Fuchs d9b2397712 add a compile switch to drop support for ipv4-only sockets.
12 years ago
Richard Fuchs 08e60ae2ac copy rtcp-mux state when stealing peer
12 years ago
Richard Fuchs 43764b46d4 implement support for RFC 5761
12 years ago
Richard Fuchs de5b172f32 srtp re-invite fixes
12 years ago
Richard Fuchs e3cf5d521e reverse crypto context in/out as they were backwards
12 years ago
Richard Fuchs 3c93daa015 fix some regressions and bugs
12 years ago
Richard Fuchs f6d91122af un-initialized key contexts after copying struct
12 years ago
Richard Fuchs 0a4418cd4b consistent use of existing macros
12 years ago
Richard Fuchs 09dd548e01 coredump bugfix
12 years ago
Richard Fuchs 372b81886b dont error on unsupported ciphers
12 years ago
Richard Fuchs c49ea7b403 copy back s_l number from kernel to daemon
12 years ago
Richard Fuchs 97f9c3d398 SRTP daemon<>kernel tie-in
12 years ago
Richard Fuchs f38fe3f1e0 create a dedicated session key context to save some cpu
12 years ago
Richard Fuchs d632fae1f3 copy crypto context when stealing peer
12 years ago
Richard Fuchs 3c9daae60d adding rtp/savpf transforms and tests
12 years ago
Richard Fuchs 43e9696fa9 restructure in-memory crypto contexts
12 years ago
Richard Fuchs 93092e850f must use the outgoing's side crypto context for out packets, also add some logging
12 years ago
Richard Fuchs e4d050062f bugfix for borken rtp
12 years ago
Richard Fuchs db72130792 implement srtcp encryption, decryption and authentication
12 years ago
Richard Fuchs 2b61b12c71 implement srtp decryption
12 years ago
Richard Fuchs 212df63857 implementing srtp encryption and authentication
12 years ago
Richard Fuchs 7877b7ce14 implement srtp session key generation algorithm
12 years ago
Richard Fuchs e63edeb875 parsing of the sdp crypto attribute
12 years ago
Richard Fuchs d8bc7d92a2 experimental support for RTP/AVP<>AVPF bridging
12 years ago
Richard Fuchs 589c271d52 fix the silly thing about bencoded lists being backwards
12 years ago
Richard Fuchs 48018e48d0 remove obsolete comment
12 years ago
Richard Fuchs 86240e12fd rename variables in stream_packet() -- getting confusing!
12 years ago
Richard Fuchs bfb88bd7e5 fix improper use of "other" pointer
12 years ago
Richard Fuchs 3c4dd73365 update steal_peer with new flags
12 years ago
Richard Fuchs 68a97be379 keep track of transport protocols and rtcp streams
12 years ago
Richard Fuchs b355bd350a simplify a common task by keeping more pointers
12 years ago
Richard Fuchs 0427b4baf4 handle "use-candidate" properly
12 years ago
Richard Fuchs eb05c8169a support the trust-address flag
12 years ago