Richard Fuchs
c546b6b89f
TT#45472 check a=mid values in answers and warn on mismatches
Change-Id: I49b359db40b984abb8a46407145d5adeb7e19cfa
7 years ago
Richard Fuchs
e1fbe25b89
TT#45472 keep track of media IDs in a hash table
Change-Id: I66d2a5aff29447a60f4f3961165bfb6c0392a38e
7 years ago
Richard Fuchs
a1efdf6b20
TT#45472 support generating a=mid lines if not present
closes #641
Change-Id: I849f0c73c5fdd575417a37a41d6701ea4454374b
7 years ago
Richard Fuchs
3c50130c7b
TT#45472 process and retain media ID strings (a=mid)
Change-Id: Icf7219f407ed660c009ffde838c942e13aad40ce
7 years ago
Richard Fuchs
b778b712fc
fix poller race condition
One thread may close an fd while another thread is processing the result
events that can include a POLLOUT for the same fd. That same fd might
then get re-opened as another type of object and get added to the poller
again. When the POLLOUT event then gets processed, no `writeable`
function would be present.
This is not a clean fix for the underlying race condition as stray
events might still get processed, but seeing extra stray events should
not be a problem.
Change-Id: I2fa2277bb0ddf512f53917297bd4220fe794dd0e
7 years ago
Richard Fuchs
fb1083f8e3
Add option to leave base64 padding for a=crypto in place
closes #658
Squashed commit (plus docs and minor modification) of:
commit 4187cd3b2d
Author: Muhammad Zaka <muhammad.zaka@synety.com>
Date: Mon Nov 19 18:13:43 2018 +0000
removed unnecessary pad_crypto_def variable
commit 5c7b7c0ced
Author: Muhammad Zaka <muhammad.zaka@synety.com>
Date: Mon Nov 19 17:39:18 2018 +0000
add `pad-crypto` flag to not truncate trailing '==' after base64 encode
commit 98bea79902
Author: Muhammad Zaka <muhammad.zaka@synety.com>
Date: Fri Nov 16 10:59:47 2018 +0000
crypto containing padding should be sent within sdp for pass through
Change-Id: I1f7502f34e9492100e5c3a5a7345319ed996c22c
7 years ago
Tor Petterson
f71f66f60b
Expanded Documentation of option log-srtp-keys
7 years ago
Richard Fuchs
0496c595b4
Change name of option from log-rtp-keys to log-srtp-keys
Co-Authored-By: TorPetterson <32388321+TorPetterson@users.noreply.github.com>
7 years ago
Richard Fuchs
0bf3eab4d6
convert codec ops to no-op for legacy control protocols
fixes #652
Change-Id: Ie6bc6529e43e3027cdcfc6cb22275b8b0145b69a
7 years ago
Richard Fuchs
13c21b1400
fix segfault when using legacy control protocol
fixes #652
Change-Id: Id60351e41411ae5a309bf7b1da98b1ec34c37d66
7 years ago
Tor Petterson
590b752bbd
Added option to write SRTP keys to log
7 years ago
Richard Fuchs
e9f9ae75ad
fix compiler warning
Change-Id: I35c60bfce71045a6399368b9cfa887501557c71a
7 years ago
Richard Fuchs
347f1c68f9
suppress empty a=rtpmap lines
fixes #638
Change-Id: Iab2b9c965028ca3add9e5d1d1614acc8d774ac28
7 years ago
Richard Fuchs
fc026cd7e4
fix possible null pointer dereference
closes #627
Change-Id: I8cfd99dca9b0d03858db147128e76fd52fc7a207
7 years ago
Richard Fuchs
31023572a5
TT#41900 save monologue label into recording DB
closes #582
Change-Id: Ibc894e82b61e4231c99f9618685a6232f7e50da7
7 years ago
Richard Fuchs
35764c5c63
TT#44702 add CLI command for interface/port stats
Change-Id: I670b3779d748e81097995961d6411d21a279bd08
7 years ago
Richard Fuchs
326c6a5818
TT#43557 augment DTMF blocking to support directional blocking
Change-Id: I5d77b437fe746ac5f3b6c15d327755f9349b61d8
7 years ago
Richard Fuchs
04a83027a0
TT#43557 implement media blocking
Change-Id: I336cf7203c1236b3e596310690a89ce1c3fd8bf4
7 years ago
Guillem Jover
5ba52952c0
TT#42906 Add systemd notify support
Change-Id: Iba046fa3e36654cedb73203eb06a9d768720a6b0
7 years ago
Richard Fuchs
89084da8d8
TT#43855 support XMLRPC callback to Kamailio
Change-Id: I35f9abb5e98ff17f4fed28ca0e045e7d5d734b1d
7 years ago
Richard Fuchs
e67b9c40da
TT#43556 support blocking of DTMF event packets
Change-Id: I7ef43ddb254b1583c2dc69b44a13b978eff15510
7 years ago
Richard Fuchs
b82cf56ec0
clean up code artefacts from cab9d895
Change-Id: I8aa475ee5338d5a0bdc57c082991624f8af809e2
7 years ago
Richard Fuchs
cab9d895b2
TT#42500 fix only one crypto suite being offered.
We should offer all crypto suites that we support. If passing through
SDES, we should amend the list of crypto suites with all additional ones
that we support that weren't included in the received offer.
closes #577
Change-Id: I9b6c16e8eadecf01cdbc8043bd8361e0f683e456
7 years ago
Richard Fuchs
135dfb73ae
fix handling of >1 consecutive media ports
fixes #610
Change-Id: I00124fa76461fe0b7e85717126628b068ebc006d
7 years ago
Richard Fuchs
7dd8ed0b8f
quote options value strings in error output
Change-Id: Iaa938c08627831f367a4898355250737350cba58
7 years ago
Richard Fuchs
d4afb14e11
fix DTMF packet allocation size
probably fixes #583
probably fixes #587
probably fixes #585
probably fixes #594
Change-Id: I6147acd4c539065142d15ce12b1a33993e1c0bec
7 years ago
Richard Fuchs
a44b34a7a9
don't free event base before calling loopbreak()
Change-Id: I7f4283804b1c34a110e5f4ddad14bd1dd4122cc4
7 years ago
Eric Green
f91b64fcdf
Make recording more accurately report source address. Fixes #584
7 years ago
Richard Fuchs
694e9d8f60
do not memcmp against uninitialized bytes
silences valgrind warnings
reported in #585
Change-Id: I40098d6eab5e128b537fb0cc2821b60d3553c4cb
7 years ago
Richard Fuchs
0aeb06f613
TT#40900 store metadata in call struct instead of recording struct
makes it possible to set the metadata before recording has been started
closes #579
Change-Id: I885a39fbc53345a4e9f2459f3cd972cb1198c210
7 years ago
Richard Fuchs
178391e177
fix possible core dump when processing certain malformed SDP
Change-Id: I3240f09033d7e587c48f8baa315953c553b99f0b
7 years ago
Richard Fuchs
d26b11ffb0
fix compilation for with_transcoding=no
Change-Id: Ibb63f51b909052d81ebf1865335a428a421d856e
8 years ago
Richard Fuchs
be9c3146f4
fix missing header include
fixes #569
Change-Id: I795a96dbe224bc798317e47b11d758e56e26d1ae
8 years ago
Richard Fuchs
08fc00906d
fix segfault with DTMF logging and implicit payload types
fixes #571
Change-Id: Id2b575ff555d7968006309bcb5b5d6bbac2ed1e7
8 years ago
Richard Fuchs
a9ec666cb4
TT#38350 implement sending DTMF events to syslog
Change-Id: I82fbdc7da6cbe2505ef1c98dd3c45b63c4461994
8 years ago
Richard Fuchs
dd34574669
TT#38350 keep track of the most used RTP payload type
Instead of just remembering the last seen RTP payload type, this adds a
tracker that keeps track of the last 32 seen payload types and keep the
list in order of how often each type was seen.
Change-Id: I062a43b7bfc9413b755dca548d72953ff8245477
8 years ago
Richard Fuchs
4eb80da836
compile fix for with_transcoding=no option
fixes #568
Change-Id: I97fba6bb767a572d6b701e274176913270e55f16
8 years ago
Richard Fuchs
d66a2e5191
TT#38351 support specifying interfaces by name
closes #566
Change-Id: Ia9a5c6d9d702e27404a7e27503970ee9a8dac7b9
8 years ago
Richard Fuchs
cbe7e5ab1d
TT#36700 implement ports free list
eases CPU usage when the number of available ports runs low
Change-Id: I0cdb035991a54a96c94ff47b074c91ff2b74c9bd
8 years ago
Richard Fuchs
bfac341aec
shut down transcoding engine when it's not needed
closes #562
Change-Id: I3c96cdcdeea8ee815f0ae7e40a4caccbfee9977e
8 years ago
Richard Fuchs
8562bdee70
support new `asymmetric codecs` flag
Change-Id: I244b3576be19658ecc2af353e427e95aea4fca70
8 years ago
Richard Fuchs
f1b81b649e
simplify parameters passed to codec_rtp_payload_types()
Change-Id: I8a9147bb527b3084ed9f4acfa82868fc26b0d8c2
8 years ago
Richard Fuchs
9f3f24f3ef
TT#36759 rate limiting for ICE/STUN log messages
Change-Id: Iac172a52ac9a48d5ff62995454bda108680228d7
8 years ago
Richard Fuchs
e404f18975
TT#37157 fix missing G722 RTP TS output scaling
fixes #560
Change-Id: Ief961a1f0e3d7fb1bd07e79eab1ceb54b5d131be
8 years ago
Richard Fuchs
50394e8dd2
TT#37156 fix divide by zero error (regression from db58aa80)
fixes #564
Change-Id: Ifdc58c814d6a0c82d95ca86ab2fd4eb3a85486ae
8 years ago
Huseyin Dikme
30ba1cd2a6
control command logs have been updated
8 years ago
Richard Fuchs
95a7cc6cfb
eliminate redundant function argument
Change-Id: I5bff4436072c2855590e08d90c5098af3abceb93
8 years ago
Richard Fuchs
d64c888a0e
TT#36301 transcoding unit tests
Change-Id: If48e5afe5a343b557183b6e87441f52424dd2c6a
8 years ago
Richard Fuchs
2f5d792aae
TT#36301 add `always-transcode` flag
closes #527
Change-Id: I0d8192cf93c49823f35a6307ccd8c77842fb51dd
8 years ago
Richard Fuchs
5c3d39748b
TT#35456 fix regression from 895fa9605
Adding a fixed length to the size of the buffer requested from the
packetizer was wrong, as this is not just the length of the working
buffer but also the size of the buffer to be returned for sample stream
(PCM) codecs. Instead, use the codec definition's bit per sample spec
to make AMR provide a larger buffer than the bare frame.
Change-Id: Ibff59b21d491e3327cc9e907e6515379a8ca9188
8 years ago