Richard Fuchs
e1d6c83319
ignore transcoding options in non-offer messages
part of the fixes for #681 (and encountered elsewhere)
Change-Id: I15752ad3183cc55d677eca80e11b000e0b069290
7 years ago
Richard Fuchs
744d6a46ff
add codec-set option
Codecs that were implicitly accepted for transcoding had no option to
set their parameters (such as bitrate) for encoding. The codec-set
option adds this.
fixes #681
Change-Id: Ib238eb73a507af168c366579abc80da07250fe88
7 years ago
Richard Fuchs
ee01f15852
fix non-default encoder bitrate not being applied
Bitrates specified in codec-transcode-... options were applied to the
decoder created during the offer. The matching encoder only gets created
during the answer phase, at which point the specified bitrate must be
copied from the decoder.
fixes #681
Change-Id: Idc6a16a4493908d78bb0b48ae590aba046152af0
7 years ago
Richard Fuchs
0e129eda08
TT#49600 fix offered crypto suite not being dropped via SDES-no
fixes #678
Change-Id: I80ca6c268b7397e7901017a4a7000dd2b2b66bd6
7 years ago
Richard Fuchs
c80f55b85a
TT#49600 add debug log output for SDES negotiations
Change-Id: Ifb49d202bfa691cba63f86192e5730f1446ba1b9
7 years ago
Richard Fuchs
aaf8cbd525
TT#49350 eliminate stray scheduling warning
Change-Id: I84a13cdca6bf85de8d3fd8b086de6f57287b7b15
7 years ago
Guillem Jover
690bc91337
TT#49106 Fix typos
Change-Id: Ife08b36a94b5f6b525f18f359bca1c18bfe46305
Warned-by: lintian
7 years ago
Richard Fuchs
9e4d140e7b
TT#49045 add new flag to leave media direction attrs unchanged
Change-Id: I2dcafa3be9f8a0dfd7c1cf3e6046dabe9fa5bbee
7 years ago
Yasin CANER
e8771d309d
daemon makefile : added if statement for g729
added if condition for g729 codec . After installation bcg729 library from git repo , it helps to find right path.
7 years ago
Richard Fuchs
881e0dc2dc
TT#48800 add option to disable individual SDES crypto suites
closes #661
Change-Id: I3556977246d6e15bf134755e1d699e9165735886
7 years ago
Richard Fuchs
810bda1486
TT#48800 create codec hash tables only on demand
Change-Id: I255d6ed2b2bc650115f008d90baa0ebbaa524f68
7 years ago
Richard Fuchs
98de5697e6
TT#48650 use constant string hashing for string lookups
To avoid repeated strcmp()s and make use of switch()'s optimised binary
lookup, we employ a second build step that preprocesses certain .c files
and uses gperf to substitute pseudomacros with their respective constant
hash value.
Change-Id: Id89c4728a0fc7aa911691d4dd1ba8e7b3916a983
7 years ago
Richard Fuchs
9e6199c7b9
don't skip incomplete monologues for `query`
Change-Id: I54b957b08440d7d31b26ef7fe99a31073171ae82
7 years ago
Richard Fuchs
c61d7f129e
add new `full rtcp attribute` flag
closes #668
Change-Id: I1ee13d4121d0aa6dff46470327a6caba9b631d7d
7 years ago
Richard Fuchs
19da0e05e8
TT#45472 save and restore media IDs from and to redis
Change-Id: Ic69b509531d4e5483122470cd3d2b0c7de712dca
7 years ago
Richard Fuchs
3dc7d1b3ed
TT#45472 support updating media ID strings
Change-Id: I8c8f42419d81fb3e08ecbbf09999d2be4f2ac93f
7 years ago
Richard Fuchs
d39c2dbb43
TT#45472 properly accept support for trickle ICE
Change-Id: Icb3bbe3b2e5eebd1db43254d4ba13b0fba218fcb
7 years ago
Richard Fuchs
77e2862a02
TT#45472 suppress media updates for SDP fragments
Change-Id: Iceae3fb44f77448311767d649d2f22e1153f27e9
7 years ago
Richard Fuchs
18ec141d2b
TT#45472 avoid an unnecessary implicit call to strlen
Change-Id: Ic45451ed3bab3d3724e4dadd43026529d3abc707
7 years ago
Richard Fuchs
d08d84071a
TT#45472 support SDP fragments for trickle ICE
Change-Id: I31880b5cf837a078bdb75e86dd425136bf829e4c
7 years ago
Richard Fuchs
3603cda0c4
TT#45472 fix indentation
Change-Id: Ibe64ae682f2c888897c4f9844db128b80e9d81e7
7 years ago
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