smititelu
012bcc4b21
Add 'rtpengine-ctl list maxopenfiles' command
11 years ago
smititelu
00bb10bba7
Add 'rtpengine-ctl set maxsessions X' command
11 years ago
smititelu
c44c35af55
Add 'rtpengine-ctl list maxsessions' command
11 years ago
smititelu
4b92d14e1f
Allow more than 65536 open files
...
RTPengine starts with 1048575 (1<<20 - 1) maximum open files limit.
Make the maximum number of open files configurable using
"rtpengine-ctl set max-open-files 'open_files_num'" command.
Update utils script.
11 years ago
Richard Fuchs
bbbd93dd78
Merge branch 'new_redis_hashes' of git://github.com/1and1/rtpengine
11 years ago
smititelu
637f9f9ab5
Add logging related to kernelization and strict-source flag - master branch
11 years ago
Lucian Balaceanu
41fa252d6b
Replacing redis hashkeys with -CALLID_IDX instead of -POINTER
11 years ago
Richard Fuchs
59a69f066f
Improve DTLS packet processing
...
Don't ignore incoming DTLS packets after DTLS-SRTP has completed and
make sure the DTLS send queue is empties as much as possible
Change-Id: I0760c844835640385f2322767993f7eaa082bd86
11 years ago
Richard Fuchs
1c6eec4540
additional DTLS debug log messages
...
Change-Id: I92fcdddf936ff339929b7e61019a3219c323c6af
11 years ago
Richard Fuchs
28d877ba2d
remove superfluous ice agent warning
...
Change-Id: I802594572636ec1ed1804dc67c7ca032d2794f91
11 years ago
Richard Fuchs
1a67331b9a
fix compiler warnings
...
Change-Id: I88f4076c2f7dd044158ecb04a1fc716fb1334397
11 years ago
Richard Fuchs
ed75c99a2d
fix a memory leak
...
closes #169
Change-Id: I0560aa9a4a48e39bc5d1c667362cd58c557499dd
11 years ago
Richard Fuchs
99a3faf87b
MT#15289 add "reset" flag to un-learn certain parameters
...
This enables switching over the endpoint of a dialogue to a new client
with potentially different capabilities
Change-Id: I973b3c5d004014cc73e6ebc3e87d03c742bc1951
(cherry picked from commit 69b7586aa4 )
(cherry picked from commit 93332f0f6e )
11 years ago
smititelu
c406e6dc1c
Some ICE NULL checks
11 years ago
Frederic-Philippe Metz
10f6e51b72
Replaced sprintf by snprintf for cdrbuffer
...
Avoid buffer overflows.
Also make cdrbuffend -= 1; append spaces to the TRUNCATED message because
syslog trims the output to 8205 chars on a line for big log buffers.
11 years ago
smititelu
72cf55b6fb
Specific REDIS read and write databases
...
Able to specify now, in the config, the redis databases from which rtpengine
should read and write session information.
11 years ago
Richard Fuchs
83ebe70e81
clean up payload_types-X before populating it
11 years ago
Richard Fuchs
2c2c017b97
Merge branch 'dbg-new-plugin' of git://github.com/1and1/rtpengine
11 years ago
Pawel Kuzak
b9c1604c70
Merge branch 'dev-rtpengine51'
11 years ago
Pawel Kuzak
c2149964c6
Reorganized CLI output
11 years ago
Pawel Kuzak
d3b731b053
Merge branch 'master' into dev-rtpengine51
11 years ago
Lucian Balaceanu
482b004ef5
CLI output for Graphite statistics
11 years ago
Richard Fuchs
19567126b8
always strip a=mid attributes
...
Some WebRTC clients include a=mid attributes even when BUNDLE is not in
used. This can cause problems in an answer if the offer originally used
a=mid too, as a mismatch in mid values may upset the client.
Closes #157
11 years ago
smititelu
63db6b63de
Log redis restore time
...
Useful for some redis_restore performance measurements.
11 years ago
smititelu
2ed14aa86e
Solve packet errors due to payload type
...
The payload types are not saved and retrieved from redis. Used a hash to
store the payload types in the form (0, payload_value0), (1, payload_value1)
for every media.
11 years ago
Richard Fuchs
dafde10571
MT#15157 integrate redis module into main code tree
...
obsoletes the entire plugin/module system
Change-Id: I6997b7e6e49dac568e844c3e132fa3756cf147cb
11 years ago
Richard Fuchs
a934fb4568
fix compiler warning
11 years ago
Richard Fuchs
cf6d80f156
Merge branch 'dev-lbalaceanu' of git://github.com/1and1/rtpengine into 1and1-dev-lbalaceanu
...
the commit.
11 years ago
Lucian Balaceanu
f864da77c5
Adding per graphite interval statistics: min/max concurrent calls, total call time per interval
11 years ago
Eric Tamme
bef76d4c18
add macros that get older versions of glib to compile if gcc is being used - credit to paulandrewhughes
11 years ago
Richard Fuchs
59b0f331ad
ignore endpoint changes when ICE is in use
11 years ago
Richard Fuchs
87feafc790
MT#14817 don't reset crypto on non-filled packet stream
11 years ago
Richard Fuchs
08cb513e66
fix missing stack var initialization
...
fixes memcmp on uninitialized memory. fixes strict-source and
media-handover handling
fixes #145
11 years ago
Richard Fuchs
e14908cef5
Merge branch 'master' of git://github.com/smititelu/rtpengine into smititelu-master
11 years ago
Stefan Mititelu
159d86dc92
Add codec info in CDR logging
...
Log in CDR also the Payload Type of most of the packets for a media.
11 years ago
Stefan Mititelu
47ac2c743e
Added a bridgeport GQueue to the 'struct call'
...
If the queue has elements, then those will be considered as bridgeports.
11 years ago
Richard Fuchs
21e1fb6807
support elliptic curve key exchange for DTLS-SRTP
...
fixes #130
11 years ago
Richard Fuchs
5ba8e2e4fa
MT#13737 don't add a=rtcp for non-RTP protocols
11 years ago
Richard Fuchs
4b1d190343
fix compiler warning - return const string
11 years ago
Richard Fuchs
c13941fa70
Merge branch 'master' of git://github.com/1and1/rtpengine into 1and1-master
11 years ago
Pawel Kuzak
1640d92edc
Merge branch 'dev-fmetz'
11 years ago
Richard Fuchs
d9d8f97db0
support delete-delay passed as a string
...
fixes #118
11 years ago
Richard Fuchs
a811adb4fb
support custom per-call/branch delete delay
...
additionally fixes #118
11 years ago
Richard Fuchs
7ed4ed968f
support immediate call deletion with delete-delay=0
...
fixes #118
11 years ago
Richard Fuchs
d17e26adb6
segfault fix for debug builds
...
closes #117
11 years ago
Richard Fuchs
eea325683b
MT#12691 implement via-branch handling
...
use via-branches to predict different destinations for branched SDP
offers without knowing the respective to-tag ahead of time.
Squashed commit of the following:
commit 0e81dc98285d81cf8014034a698bc57e6af14c98
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu May 21 11:06:15 2015 -0400
fix segfault due to missing reverse tagging
commit cd7a26314b3406faac910897d96cd4d7586fc567
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu May 21 08:57:42 2015 -0400
support branched offer with previously unseen to-tag
commit 77da616dd2be230b03cc480ad6dd810b2742f5aa
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Apr 29 11:15:37 2015 -0400
implement via-branch handling
11 years ago
Richard Fuchs
a6d9c78780
MT#13067 fix premature call timeout for un-answered calls
...
don't apply the regular RTP timeout to call legs which haven't been
"filled" yet, instead use the silent-timeout
11 years ago
Richard Fuchs
1e4d67a10d
fix for bf5a00fd1b
11 years ago
Pawel Kuzak
bf5a00fd1b
Modified average_dur format for graphite.
...
It does not really make sense to separate seconds and microseconds for
the statistics. Re-Commit of 6e7a287f54
which got lost somehow.
11 years ago
Richard Fuchs
8eaf8122f5
update redis version
11 years ago
Richard Fuchs
d0ac7216cb
skip printing cdr info when cdrs are disabled
11 years ago
Richard Fuchs
4893487ebb
fix compiler warning
11 years ago
Richard Fuchs
7db15eb87c
Merge branch 'rfuchs/1and1-master'
11 years ago
Richard Fuchs
80b8815c60
fix force-relay segfault
11 years ago
Richard Fuchs
f398d837df
double check kernel SSRC when updating last index/ROC
11 years ago
Richard Fuchs
87fbbb85ec
implement ssrc/roc tracking in encryption as well
11 years ago
Richard Fuchs
c3c6d37c7d
convert ssrc tracking functions to inline
11 years ago
Richard Fuchs
76f3893464
ssrc tracking improvements
...
change ssrc tracking code to a hash table and delay creation of hash
table and ssrc lookup until a change in ssrc is actually seen
11 years ago
Pawel Kuzak
369316adb0
Added rejected sessions statistics to total stats and graphite
11 years ago
Marc Soda
0ac1ed2419
Remove unnecessary prototype.
11 years ago
Kevin McAllister
965fa396d2
Change packet_index functions to more closely match RFC
...
This became necessary because of the way Asterisk handles Sequence
numbers when changing SSRC. They continue to increment a single
sequence number even though the SSRC is different, on switching back
this causes the packet_index function to interpret this as many lost
packets. The previous function had dead-spots that would not adjust
the packet_index at all if the difference fell in these ranges. These
gaps always resulted in behavior contra what would happen in webrtc
clients.
11 years ago
Marc Soda
16b91847f9
Track SSRCs and sequence numbers. Sync between userspace and the kernel.
11 years ago
Richard Fuchs
92cc560b74
don't shut down ICE agent on consecutive re-invites
...
fixes #103
11 years ago
Richard Fuchs
0381b15b76
further move RTCP logging until after SRTCP decryption
11 years ago
Richard Fuchs
a3bcdc58bf
dont abort on unknown RTCP payload type
11 years ago
Richard Fuchs
ed2c101a3f
preliminary fixup of new kernel stats - needs more work
11 years ago
Richard Fuchs
18977d4257
remove calls to setlogmask (not atomic)
11 years ago
Richard Fuchs
29cf9f85a2
remove redundant code
11 years ago
Richard Fuchs
ae46036cc7
RTCP logging fixes
11 years ago
Richard Fuchs
0abf5b100b
process muxed RTCP
11 years ago
Richard Fuchs
5785bea2c9
Merge branch 'master' of git://github.com/1and1/rtpengine into rfuchs/1and1-master
11 years ago
Richard Fuchs
f0dc1f8589
Merge remote-tracking branch 'origin/rfuchs/sdes-session-params'
...
Closes #85
11 years ago
Richard Fuchs
b205691e9c
RTP forwarding fix for trickle ICE
...
fixes #105
11 years ago
Frederic-Philippe Metz
c444c05a5f
Implemented MAX_SESSIONS limit or calls.
...
related to RTPENGINE-20
11 years ago
Richard Fuchs
85dc64dd7f
compare SRTP session params for equality
11 years ago
Richard Fuchs
144a451526
support selective SDES session parameters
11 years ago
Richard Fuchs
d4222375bf
support SDES session parameters in kernel module
11 years ago
Richard Fuchs
96e3b91859
Implement support for some SDES session parameters
...
Supports: UNENCRYPTED_SRTCP, UNENCRYPTED_SRTP and UNAUTHENTICATED_SRTP
Usermode only
11 years ago
Richard Fuchs
fd426457d7
use SRTP<>SRTP transcoding when crypto parameters differ
11 years ago
Richard Fuchs
39a305f4ba
reset SRTP ROC to zero when SSRC changes
...
workaround as per issue #102 for broken audio after SSRC change by
hold/unhold. workaround before full multi-SSRC support is available.
11 years ago
Richard Fuchs
e7868da867
increase size of RTP loop protection buffer to 28 for RTCP
...
as suggested in issue #65
11 years ago
Richard Fuchs
b0edf59a8f
don't reset certain stream flags for disabled (zero port) streams
11 years ago
Richard Fuchs
83a40824f4
fix number of ICE components for tricke-ICE no-components case
11 years ago
Richard Fuchs
46ebfa3cd0
do not detect trickle ICE RTCP port as rtcp-mux
11 years ago
Richard Fuchs
13d8b8abeb
fix ICE when no candidates are present (trickle ICE)
...
use presence of ufrag attribute to detect ICE support instead of
candidates
11 years ago
Frederic-Philippe Metz
cb85cbf44f
Fixed wrong Zeroing of stats member
11 years ago
Frederic-Philippe Metz
89bbaf12e3
Merge branch 'dev-fmetz'
...
Conflicts:
daemon/Makefile
daemon/call.c
daemon/log.c
daemon/main.c
kernel-module/xt_RTPENGINE.c
11 years ago
Frederic-Philippe Metz
ee113f9998
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
debian/control
11 years ago
Richard Fuchs
ba48d7b518
fix call timeout when ICE fails
11 years ago
Frederic-Philippe Metz
1d1b8f21ce
Fixed RTCP Parsing also for XR reports.
11 years ago
Frederic-Philippe Metz
8a0fbf201f
Fixed RTCP parsing of bitfield structs.
11 years ago
Richard Fuchs
4ea8d96033
remove stray compiler warning
11 years ago
Frederic-Philippe Metz
f8aaf358cd
Implemented TOS/Traffic Class bit in received first RTP packet
11 years ago
Richard Fuchs
d50208488d
fix refcount bug
...
fixes double-free and mem corruption bugs (segfault fix)
closes #96
11 years ago
Richard Fuchs
3acc850083
zero-fill padding bytes
11 years ago
Frederic-Philippe Metz
070212ec3a
Added RTCP parsing and option to log that information
11 years ago
Frederic-Philippe Metz
11a4c33048
Merge remote-tracking branch 'upstream/master'
11 years ago
Frederic-Philippe Metz
5be006a3d4
Merge branch 'master' of https://github.com/1and1/rtpengine
11 years ago
Frederic-Philippe Metz
a9e4c023e4
Merge branch 'dev-fmetz'
...
Conflicts:
daemon/call.c
daemon/call.h
daemon/cli.c
daemon/main.c
kernel-module/xt_RTPENGINE.c
11 years ago
Frederic-Philippe Metz
d5db9d0f73
Merge branch 'dev-measuredelay-full' into dev-fmetz
...
Conflicts:
daemon/call.c
daemon/call.h
daemon/cli.c
daemon/kernel.c
daemon/main.c
kernel-module/xt_RTPENGINE.c
kernel-module/xt_RTPENGINE.h
11 years ago