Richard Fuchs
37e6744d4a
Merge branch 'master' of https://github.com/smititelu/rtpengine
...
Change-Id: I0d1dee4d193c94427bae76966ddca4bd09e74ecd
6 years ago
Stefan Mititelu
de28a65934
Solve Vlagrind "definitely lost" memory leaks
6 years ago
Richard Fuchs
8a4f88f1a4
TT#55050 man page updates
...
Adds rtpengine-recording man page and adds some missing arguments from
rtpengine.8
Change-Id: I054d1bcad08e6070cca41008f740c0cbecb15fa8
6 years ago
Richard Fuchs
cdcf80c2c1
TT#82401 add statistics NG command
...
closes #992
Change-Id: I73284b8da6bc64c6e801f47cf6e00e52235b65ba
6 years ago
Richard Fuchs
6d2aeccda6
TT#82401 amend stats gather to keep track of braces
...
Change-Id: I042179fe26118aef34e84412c3790059b7f6e1a6
6 years ago
Richard Fuchs
1015cead8b
TT#82401 amend stats gathering to detect ints
...
Change-Id: I892144bbf549952858a1f3cf967673198a0457d4
6 years ago
Richard Fuchs
ac765d1b54
TT#82410 unify stats gathering functions
...
Change-Id: I5be2f728a40d69e76b7fcdd04b9d7cb62e34665e
6 years ago
Richard Fuchs
cb967ad130
Merge branch 'codec_case' of https://github.com/SkySwitch/rtpengine
...
Change-Id: I79c21f5c38318d066ac222109e63703262a0a5d6
6 years ago
Richard Fuchs
38bb6d8608
TT#82651 same as 61acd9761 but in reverse
...
closes #1005
Change-Id: I9107b6de0d4d16347bbf35baafcc298d43f87a68
6 years ago
attermann
da3c40e24a
Added "currentstatistics" to json stats.
6 years ago
attermann
74f5676c87
Made hash tables for flags case-insensitive.
6 years ago
Richard Fuchs
61acd97619
TT#82651 avoid unnecessary transcoding when DTMF PT is present
...
reported in #1005
Change-Id: I7aefab7fbdca5ddff7012adc2c0a0d8a5b1f6f26
6 years ago
Richard Fuchs
a0d0733291
fix compilation when spandsp is not present
...
closes #1008
Change-Id: I9bcad5f04df0f11cc269345e803aa31440600e77
6 years ago
Richard Fuchs
115b73e5c1
Merge branch 'master' of https://github.com/smititelu/rtpengine
...
Change-Id: Id2ceb08a41c4c16841b9362a5a7e4c9f015e38cb
6 years ago
Stefan Mititelu
6043d15ea0
Add drop-traffic=start/stop flag
...
Useful when someone needs to:
- completely drop early media, but stop dropping after call is answered.
- completely drop initial invite media, but stop dropping after re-invite
6 years ago
Richard Fuchs
64e6bf440b
TT#82203 add detailed transcoding stats
...
Change-Id: Ib04767c38b00b17ef5844a9f6649e009270f8f82
6 years ago
Richard Fuchs
5f3f203fb8
TT#82203 add stats for transcoded sessions
...
Change-Id: Ie9bef31f62d489fccf52b02a8935f9c9dc2575b5
6 years ago
Richard Fuchs
e25d0b99c5
TT#82100 hunt for usable payload type for DTMF injection
...
Change-Id: I8e303c96a2a398bc389860891c9d23b6f7d5396c
(cherry picked from commit 7553a9150d587c1dfcaea56b6be641fceb77488f)
6 years ago
Richard Fuchs
86110e835d
Merge branch 'master' of https://github.com/SkySwitch/rtpengine
...
Change-Id: I224d1d96f53debd56a1ecb941c2a83839da275cb
6 years ago
Richard Fuchs
e0dbc677f9
Merge branch 'jb_marker_fix' of https://github.com/balajeesv/rtpengine
...
Change-Id: I45d9c65136cf8a933c1d9355a0e4f2faa9b35257
6 years ago
Richard Fuchs
89175c8564
TT#81850 fix SRTP re-offer and RTP to SRTP switch
...
1) In an SRTP re-invite offer, fixes not a full set of crypto suites
being present
2) In a re-invite offer that switches from RTP to SRTP, fixes SRTP not
being initialised at all
Change-Id: I911442d2cba17ecf6af482cfe922d4e9db2eda8d
6 years ago
Richard Fuchs
46325d61fd
TT#81600 fix SRTP when transcoding/DTMF injection is in use
...
Change-Id: I444c95e8dc14594571f7592f158805cbbe6e3c8d
6 years ago
root
b199f973c0
Merge branch 'jb_marker_fix' of https://github.com/balajeesv/rtpengine into jb_marker_fix
6 years ago
root
aa2e777d9d
Merge branch 'jb_marker_fix' of https://github.com/balajeesv/rtpengine into jb_marker_fix
6 years ago
root
05b6da43f1
JB marker fix
6 years ago
root
e44abd3dc7
JB marker fix
6 years ago
Richard Fuchs
e1b2532fe8
eliminate (re)connected redis state duplication
...
closes #982
Change-Id: I9c559ff98000a577f511648b01f67f13528bc7e8
6 years ago
Richard Fuchs
2ef93af892
TT#79601 fix possible crash when injecting DTMF
...
Change-Id: I3bfdd7085d193a4e1b6719313b64ed70c1dca7a8
6 years ago
Richard Fuchs
cca6ba70c7
allow protocol=RTP/AVP plus OSRTP-offer
...
closes #976
Change-Id: Id409d08a5a89b0ca9dbaf8cc457cc8ea89a433f1
6 years ago
Richard Fuchs
5caf47f51f
add missing SDES=pad parsing
...
reported in #976
Change-Id: I808c7f1cab2efec086081e4a1e9b8fb3a8143958
6 years ago
Richard Fuchs
abe7caf066
TT#75350 update cipher lists and make the configurable
...
closes #918
Change-Id: I949810a7c84679eac25f65784f97fdd2e9abb07d
6 years ago
Richard Fuchs
a168a3c024
TT#78307 generate RTCP for media players
...
Change-Id: Ic6dd65211ca253491a7ef3acd35499155b60fe4c
6 years ago
Richard Fuchs
92bcedc08a
TT#78307 keep track of RTP stats also when forwarding
...
Change-Id: Iea6214104b7032687608af71f6270a375fed2702
6 years ago
Richard Fuchs
34baba9d22
TT#78307 don't update RTP stats for non-forwarding ports
...
Change-Id: I2dc40d7f9a511588c676fe487a23074e0d8129e2
6 years ago
Richard Fuchs
2e4617ff86
TT#78307 move SSRC send stats to actual point of sending
...
Change-Id: I54ff4afeb8b3a205a678e9102fb0d8cedee78bae
6 years ago
Richard Fuchs
dfc76d23b5
TT#78900 leave m=message connection details untouched
...
closes #959
Change-Id: Iaf01c87697ce46f507563ed1560e664b0ca33544
6 years ago
Richard Fuchs
5fc326c64b
TT#78001 support OSRTP
...
closes #951
Change-Id: I8cd21d60b16e357a57d0d505649b74f38f4ca0b3
6 years ago
Richard Fuchs
e59ccc2973
TT#79900 add SDES=lifetime option
...
closes #966
Change-Id: I462dabffb5c00387ab1b91cabf3fcb2be998f76e
6 years ago
Richard Fuchs
c1d29a41a7
TT#79601 support media/DTMF playback to all parties
...
Change-Id: I534ba39c800e0b075c1502808a56b887baf3e323
6 years ago
attermann
ccf1d4698a
Extended json control statistics
...
Added missing control statistics as well as aggregate counts for all
proxies.
6 years ago
attermann
032c6e473c
Added cli command for parseable stats.
...
Added support for "list jsonstats" CLI command that return the same
stats as "list totals" but in easily parseble json format.
6 years ago
root
e7c85ce578
jitter buffer correction
6 years ago
Richard Fuchs
f5eaa657d7
TT#76711 allow alternate format for T.38 SDP options
...
Change-Id: I6e9af10bfe4be697d1d4f2be6cfd41ba76fabd5b
6 years ago
Richard Fuchs
1055a1e71e
TT#79351 detect and fix payload type collisions
...
fixes #963
Change-Id: I938b1c4b9baed37caf718f7537bbb9c11f7b91e5
6 years ago
Richard Fuchs
28efacc8d8
TT#76711 more resilient UDPTL handling
...
Change-Id: I11b40cdd0c0562f49bd702f7efa58f9cf01d87e9
6 years ago
Richard Fuchs
d611bbbb74
TT#78501 add T.38 options
...
Change-Id: I4f173f384db18e832c1d24a7015a836ec4215a96
6 years ago
Richard Fuchs
213b6074f4
TT#76711 fix media type ID when restoring from redis
...
Change-Id: I87d5bd7b2edae147283627c82d2876d39fdb887d
6 years ago
Richard Fuchs
48c3af7f9d
TT#76711 add spandsp logging
...
Change-Id: I75dbf1e420818bf5c4033b0807b38824f96e2915
6 years ago
Richard Fuchs
cc7a9a5de8
TT#78307 clean up debug/log messages
...
Change-Id: I8e10be7f297480c01a213c89f06ee93a2215767f
6 years ago
Richard Fuchs
1d514a063c
TT#78307 add helper functions for SSRC contexts
...
Change-Id: I32470c03c19c8bb889900ca277b73713ee66c485
6 years ago
Richard Fuchs
dfae8d6a22
TT#78201 add symmetric-codecs flag
...
closes #953
Change-Id: I848f501709f48927a7156033ccd42eacd742e2d8
6 years ago
Richard Fuchs
0cd8883639
TT#78203 add SRTP debug options
...
closes #956
Change-Id: I751f6bc1ea9228b257f6258dbb1927276db10c99
6 years ago
Richard Fuchs
d872802ba2
TT#76711 T.38 <> audio gateway
...
Change-Id: I4552e07eee632fa730745410b08c3bf70ab67ab2
6 years ago
Richard Fuchs
468fca8ead
TT#76711 error-proof codec_handler_free()
...
Change-Id: Iaaf67bc21bcb904096a30497e817f5527fdf074d
6 years ago
Richard Fuchs
20607bbabc
TT#76711 generalise media_player mechanism
...
Change-Id: I940bd8c156691418ee0fe7743e9fade59ba8635a
6 years ago
Richard Fuchs
9ab6c27b4f
TT#76711 replace SDP media type as necessary
...
Change-Id: I49ba0eb38fd4774ab9f61f08692ebafe56a05fdc
6 years ago
Richard Fuchs
6792cde8b6
TT#76711 add custom SDP attributes capability
...
Change-Id: Iaf924938af1ef32a5a7eb961951c0debe7351ee5
6 years ago
Richard Fuchs
0dc052e2cc
TT#76711 globalise ensure_codec_def function
...
Change-Id: I2183ed5c7882b3e8909584425b1a37dd7da36124
6 years ago
Richard Fuchs
570ad9427d
TT#76711 add handler functions for enc/dec packet
...
Change-Id: I59b26793f233dde367cbe895f36642ebf58a7ab9
6 years ago
Richard Fuchs
641fd160ca
TT#77358 create helper function to determine RTP protocols
...
Change-Id: I6ee4a2c48c896fa9f3f00c9f90c0ae65c1ae3bae
6 years ago
Richard Fuchs
9ff3d666b8
TT#76711 split out common parts of codec_handlers_update
...
Change-Id: I3d6d8364d797e14df9dd55a284096038872cca2c
6 years ago
Richard Fuchs
a68a59fbf5
TT#76711 keep track of the raw SDP format string
...
Change-Id: I7f20dbff3237e39cea700c984a4f41016a2264fc
6 years ago
Richard Fuchs
de69c5ed1f
TT#76711 split codec_handler_get for different protocols
...
Change-Id: I67573100108aedb1c8e7fc5920682a7872fd10c2
6 years ago
Richard Fuchs
2d78c36338
TT#76711 allow update of media type
...
Change-Id: I3e860fe8683be2d7b0cd3cc70d4f7e4b39a0e147
6 years ago
Richard Fuchs
6513bfd5bd
TT#76711 split out function to handle media protocols
...
Change-Id: I51066ddd4c9d926ec77b9495fb5ca494290bff95
6 years ago
Richard Fuchs
d847d26e0b
TT#76711 convert codec handlers hash table to direct hash
...
Change-Id: Ieeb8183cd8041a10e311fb4f2fe6b92bbc5ad8bb
6 years ago
Richard Fuchs
50b0757f4b
TT#76711 add missing log_info_clear in send_timer
...
Change-Id: I4cb205d12ae0c83c710f1d6317e6e807fcfd4940
6 years ago
Richard Fuchs
9b9dde3ad8
TT#76711 don't run send timers that don't exist
...
Change-Id: I5ee38499051afd5b6d5b7e74ea60b84ad7d74d26
6 years ago
Richard Fuchs
01cf85f6ac
TT#76711 add missing locking and tree-remove for media player
...
Change-Id: I276adfdb7b9aba163f51d296862d8fcc152959b5
6 years ago
Richard Fuchs
5744c04d0d
TT#76368 add port status to graphite output
...
Change-Id: I7a12d55fd2e31222964361b301c6507b4e7760a5
6 years ago
Richard Fuchs
dcce2ba1a1
TT#76368 move graphite timestamping into wrapper macro
...
Change-Id: Iee58d38b8746b866944535160e131021a047a920
6 years ago
Richard Fuchs
ceb6814332
TT#76368 handle connection blocking on graphite writes
...
Change-Id: I261bb890fa7f403061f92c1300b69a3833282f09
6 years ago
Richard Fuchs
10ab85b3e5
TT#76368 remove some graphite functions from global namespace
...
Change-Id: Ic24778e9d04e015012e9d7cc873203d0dfbacaa6
6 years ago
Richard Fuchs
1c00016974
possible null pointer fix
...
Change-Id: I6b0122c7ba51e0fbd3de40da3adbec53a85cfa60
6 years ago
Richard Fuchs
ad4ea21ef4
fix for d09071a
...
Change-Id: I9d24df2b88f5de12ddee73eceaab060f277e2004
6 years ago
Richard Fuchs
335e3d2416
TT#76368 clean up graphite writing functions
...
Change-Id: I8efebe57417a9d060c4d3dd402d014df5f0feda4
6 years ago
Richard Fuchs
d09071a16b
TT#74850 avoid duplicate dlg.terminate_dlg with reversed tags
...
closes #914
Change-Id: Ibb01c4566ceddd83bf3308541420d227ccd655f3
6 years ago
Richard Fuchs
01002b07da
TT#74850 clean up indentation by reversing logic
...
Change-Id: I15140be111ad5e69d4c081f41db0b8ef81bb260b
6 years ago
Richard Fuchs
960534e489
Merge branch 'jb_fix' of https://github.com/balajeesv/rtpengine
...
Change-Id: I96e1ff3d69f16f2adf87c405565d24abc466b8fc
6 years ago
Richard Fuchs
be9caa37c7
also check for the output encoder
...
noticed through #941
further fix for 088c58d
Change-Id: I555d1d55d00124c75aa053c4c95abfd98d1ae44f
6 years ago
Richard Fuchs
3d83b46505
TT#76206 fix call teardown for half established dialogues
...
In case of an offer with a via-branch followed by a delete without a
via-branch (cancelled call), the call erroneously remains open after
deleting one half of the call. The reason is that un-answered branches
do not appear in the `other_tags` list and so are left out from being
checked.
Change-Id: Ib008f32ef5ee06a7ca997c900c9a3adc85b0f10d
6 years ago
root
195f618928
jb_fix
6 years ago
Richard Fuchs
fbaaf22d34
compile fix for jitter buffer
...
Change-Id: I9bfef87fe716050a49df829d3dbd8219968e3902
6 years ago
Richard Fuchs
ab53fdc6f6
Merge branch 'jb_new' of https://github.com/balajeesv/rtpengine
...
Change-Id: I73fc3529938bf65e40f86a4e526c8bf77e199492
6 years ago
Balajee SV
440fae8846
Merge branch 'jb_new' of https://github.com/balajeesv/rtpengine into jb_new
6 years ago
Richard Fuchs
088c58d88d
avoid calling a non existant encoder
...
fixes #925
Change-Id: I4743f0e87234fe3ddeb36b7355dcf80f651996c3
6 years ago
Richard Fuchs
7ea6389c56
compile fix for with_transcoding=no
...
closes #927
Change-Id: I0f53f31dce31990d999516173be4b483d90b4021
6 years ago
Balajee SV
220c96aea4
Merge branch 'jb_new' of https://github.com/balajeesv/rtpengine into jb_new
6 years ago
Balajee SV
b45dbbdc24
Merge branch 'jb_new' of https://github.com/balajeesv/rtpengine into jb_new
6 years ago
Balajee SV
e3a5d45433
jb_new
6 years ago
Balajee SV
c0b28c3d65
jb_new
6 years ago
Richard Fuchs
38792c00a5
TT#75352 don't attempt to send uninitialised packets
...
This can presumably happen when an encoder gets re-initialised due to an
SSRC table overflow, or when a passthrough encoder (e.g. G.729) returns
no data.
Possibly fixes #915
Change-Id: Ib351054b99754f46d0a8fb2d49629ce7c48dc964
6 years ago
Richard Fuchs
7e0b2c4ac3
TT#75352 add a storage container for codec handlers
...
The hash table cannot be used for storage any more as entries can be
removed on demand (64e56d7 ) but can be cached in packet->handler at the
same time.
Possibly fixes #915
Change-Id: Ic74703b1a57294bfd704b6cddcd666d6063f510a
6 years ago
Stefan Mititelu
dbd27f930b
Fix crash when redis disconnects/reconnects
6 years ago
Richard Fuchs
ef0d6a3a80
TT#74301 merge jitter buffer PR #834
...
refactored
closes #834
Change-Id: I174cc6e365af54fb66d2dd78be02c601c5d5d645
6 years ago
Richard Fuchs
d6ad6a6744
TT#74301 convert timerthread_queue entries list to GTree
...
Change-Id: I7a8d54f7f7ffe2b27617c109b6d04a2cc20861e9
6 years ago
Richard Fuchs
18634c4202
TT#74301 refactor send_timer into generic timer
...
Change-Id: I81dae7ae8bb1bfe0324f9a8ce256cf9d1c377840
6 years ago
Richard Fuchs
c70b3f6369
TT#74651 fix several mem/resource leaks
...
fix cleanup being skipped on redis slaves
fixes an SDES related Redis mem leak
adds a hash for the ports free list to avoid duplicate entries
fixes #898
Change-Id: I34aad67290ff5ef8824142682aac03cb600d0ecb
6 years ago
Richard Fuchs
08cdb4cdb6
TT#74300 split intro for call-id CLI output
...
Change-Id: I4872ce173372b767b467afd4122bba809f4f0c3e
6 years ago
Richard Fuchs
c3f5282759
TT#74300 adapt CLI output to match log output for call stats
...
for #908
Change-Id: I68d0cd92f00b261d604074362cc658589d94543e
6 years ago
Richard Fuchs
5ac07564bd
TT#74300 run indent over cli_incoming_list_callid
...
Change-Id: Ife1e0f1ad8820807fd409fe422f40b4d483282eb
6 years ago
Richard Fuchs
2a2e3f3fcc
TT#74050 handle sinks with null addresses correctly
...
Change-Id: Ic2f2b840c4595e1d061cfd0cdf7465e8aeebb3ac
6 years ago
Richard Fuchs
6d22af9566
TT#73900 ignore stray RTCP packets when confirming peer addresses
...
fixes #697
Change-Id: Id2fdbd1b0b419b7fcc032c865a62a7ceed84f9f3
6 years ago
Richard Fuchs
1c72636983
TT#73401 remove useless assertion
...
Change-Id: Iba2597ad3138ef5b3b4199d2d436c3cbd7b9bd76
6 years ago
Richard Fuchs
64e56d774b
TT#73401 handle changes in RTP payload types
...
A client can potentially change the codec used for a RTP payload type
number, so we must confirm that an existing handler matches the codec
from the SDP.
fixes #903
Change-Id: Id9ae379425359f776883d6ace7fdb44ad651b37e
6 years ago
Richard Fuchs
d1e3dc0996
byte-swap homer ID as required
...
fixes #902
Change-Id: I332120c269ef63a273ca1a87f4e98cac8afb5e25
6 years ago
Guillem Jover
137c5df644
TT#71950 Fix typos
...
Change-Id: I79991a30bd8459485ea76dad541bda27daf9bfea
6 years ago
Richard Fuchs
8322a8b37f
TT#72350 add codec info to CLI output
...
closes #889
Change-Id: I7e717f58d5da8d505911f1df5bc6a99f0d9c97dc
6 years ago
Richard Fuchs
dc1daa90ab
TT#72000 confirm immediately on a perfect endpoint match
...
Change-Id: I7f0663a5b7ed6a224d385b3b1d07bc5cf13a185b
6 years ago
Richard Fuchs
61ac7e9656
TT#72000 add different endpoint detection algorithms
...
Change-Id: I791dba23450cab31bc5744a6156965afbb8a3b5c
6 years ago
Richard Fuchs
c36a44580d
fix incorrect parameter type used for homer-id=
...
reported in #807
Change-Id: I075660de6a654c42d0fec831ea9edc9bd88e7c05
6 years ago
Richard Fuchs
16afc46ca4
add test symlinks to gitignore files
...
Change-Id: Icaf60b8e1eb75f10f9b41cb5c55ad40ea89aa0ac
6 years ago
Richard Fuchs
2b87948014
fix compilation for with_transcoding=no
...
closes #884
Change-Id: I70492beed191de9ae7167990ee275c0eecc9bd80
6 years ago
Richard Fuchs
bc3d4f71b7
compile fix for glib versions < 2.30
...
closes #879
Change-Id: I01e176a1e3479350ba389b35a49f057292f6ad3d
6 years ago
Richard Fuchs
e0dd6747ea
TT#71050 fix branch deletion from via-branch
...
Untagged branches (only known by via-branch) don't appear in the `tags`
hash and don't have any `other_tags`. The logic to determine whether the
call is completely finished therefore must take these into account
separately.
We take care to remove destroyed monologues from the `viabranches` hash
to keep the count up to date, and determine whether a call is terminated
when there is no more than 1 tagged monologue left and no untagged
monologues.
Closes #875
Change-Id: I6b9618d598f4a95970cd2a452f06574423932b09
6 years ago
Richard Fuchs
8bdeb2d9bf
TT#69701 fix incorrect address used for raddr/rport
...
fixes #850
Change-Id: I36eb8c61e094cda335c14023374dab6d5f1ccfcd
6 years ago
Richard Fuchs
ab77ed50af
TT#64601 refuse overriding crypto params from SDES when DTLS is in use
...
Change-Id: I10f2fe3fdd0955fa39b5edcb31196042cdb0b731
6 years ago
Richard Fuchs
228d822a71
TT#68100 set iLBC encoder and decoder options
...
required to distinguish between 20-ms and 30-ms modes, both for encoding
and decoding
add support for the iLBC mode= format parameter and dynamic mode
switching
closes #854
Change-Id: Icb6f0ec80df86d27681c689c168b24f163a2db06
6 years ago
Richard Fuchs
6431cde151
TT#64601 fix some compiler warnings
...
stun.c: In function ‘stun_error_len’:
stun.c:388:62: warning: taking address of packed member of ‘struct header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
388 | output_init(&mh, iov, &hdr, STUN_BINDING_ERROR_RESPONSE, req->transaction);
| ~~~^~~~~~~~~~~~~
stun.c: In function ‘stun_binding_success’:
stun.c:479:64: warning: taking address of packed member of ‘struct header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
479 | output_init(&mh, iov, &hdr, STUN_BINDING_SUCCESS_RESPONSE, req->transaction);
| ~~~^~~~~~~~~~~~~
stun.c: In function ‘__stun_success’:
stun.c:540:42: warning: taking address of packed member of ‘struct header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
540 | return ice_response(sfd, sin, attrs, req->transaction);
| ~~~^~~~~~~~~~~~~
stun.c: In function ‘__stun_error’:
stun.c:545:42: warning: taking address of packed member of ‘struct header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
545 | return ice_response(sfd, sin, attrs, req->transaction);
| ~~~^~~~~~~~~~~~~
redis.c: In function ‘redis_hash_get_sdes_params.isra.0’:
redis.c:1095:39: warning: ‘_tag’ directive output may be truncated writing 4 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
1095 | snprintf(tagkey, sizeof(tagkey), "%s_tag", kk);
| ^~~~
In file included from /usr/include/stdio.h:867,
from ../lib/str.h:9,
from ../lib/compat.h:16,
from ../include/redis.h:8,
from redis.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 36 bytes into a destination of size 32
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Change-Id: I214458fd3f596e565b1bba9d88808b7c99f9c876
6 years ago
Richard Fuchs
4d99ba8f09
add missing header
...
closes #856
Change-Id: Icbd24a68969142179dfcf1943a7bd8d95ff5be1b
6 years ago
Richard Fuchs
3bf3982de1
TT#65052 support queuing up multiple DTMF events
...
Change-Id: I489194212a46d12761b3fdc1e212c78254b91427
6 years ago
Richard Fuchs
068bdb224f
TT#65052 support adding pause after DTMF PCM
...
Change-Id: I0332ac2488f9d2d12ce4d84c3e8b60caf35d9c6c
6 years ago
Richard Fuchs
65fb99b31d
TT#66650 fix some SSRC refcount leaks
...
closes #841
closes #838
Change-Id: If96a3295ecc504c5e94eb113063cc20da7fb541e
6 years ago
Richard Fuchs
7b60ca8e35
ignore untagged/wildcard/unknown MLs in delete with via-branch
...
fixes #840
Change-Id: Ifddf6c4c5ae58556dc9a746f657c7aebc4beee67
7 years ago
Richard Fuchs
22ea251157
don't skip address family selection when zero port is present
...
closes #837
Change-Id: Ife85f3a383981ccf3efcc95cb71c82d6e89117d9
7 years ago
Richard Fuchs
3466700149
TT#65800 fix SDES negotiation bug
...
If B accepts a crypto suite that was not listed as the first, in order
to support SRTP passthrough, we correctly answer to A with only that one
crypto suite. But we must also remove all other crypto suites from our
list of supported crypto suites internally, because we use the first one
to init our crypto contexts.
fixes #829
Change-Id: Id07343d7b24648208e3a4b4e0b246949dce0385e
7 years ago
Richard Fuchs
bfc9799c7e
TT#65100 don't start a redis notification context/thread when not in use
...
There's no point in starting the notification thread and another Redis
connection if there are no keyspaces to subscribe to
Change-Id: I2a9ef3b7764219b6ca08ebbe81461efd45b3e9de
7 years ago
Richard Fuchs
8ffc13d8aa
TT#65100 properly cleanup redis async context
...
Change-Id: I53a0e7b3acbc81f4155e4141c889b166a327a24a
7 years ago
Guillem Jover
781b275295
TT#65100 Fix double free for redis context on closure
...
We need to set the redis context to NULL after freeing it, otherwise
other code will try to free it again, which will make the program
abort when exiting.
Change-Id: Id634075344351eb1c924c59739b72bbf57de3c89
7 years ago
Richard Fuchs
b14f3b2b1c
TT#64259 support injecting DTMF tones and events
...
Change-Id: I07aa7690146db5b41be479a67aaafbd66aec4033
7 years ago
Richard Fuchs
49f6a88086
TT#64259 add function to convert DTMF codes and chars
...
Change-Id: I0b36263033a8614fa448fd4c37dbbc62b516d40a
7 years ago
Richard Fuchs
68d909c5ea
TT#64259 add functions to skip decoded samples and return encoder PTS
...
Change-Id: I9b4f39e214bf6ecb7ae25a8b3cc726041d6552c0
7 years ago
Richard Fuchs
35740cda35
TT#64259 add function to inject DTMF events
...
Change-Id: Ie84e2e8cad11e686c6e7010ca78ecba37c5dbf7e
7 years ago
Richard Fuchs
fd16bf5104
TT#64259 make DTMF detection switch explicit
...
instead of using the output DTMF payload type implicitly
Change-Id: Ib0882534d6e46759e9e5e1feb4a919fa6a9cd437
7 years ago
Richard Fuchs
ef20e021cd
TT#64259 split up codec handlers function
...
Change-Id: I09ef471d2500a098466bd546a197c08f6fc12ff9
7 years ago
Richard Fuchs
3fb5befad4
TT#64301 log xmlrpc children to stderr
...
Change-Id: I103c062bc797c609983a995d835a84a00267aa86
7 years ago
Richard Fuchs
344b3b9e17
TT#64300 don't attempt to transcode to an unsupported codec
...
Change-Id: Ib4bad65472139f214bbb3896c1f9df29cc8e140e
7 years ago
Richard Fuchs
1653f3201b
don't free redis event base while being used
...
closes #804
Change-Id: Ic4bce6cf50441011d8eea0ba2da8861a783a33a9
7 years ago
Richard Fuchs
24d67d0662
fix mem allocation bug resulting in mem corruption during redis restore
...
fixes #811
possibly also fixes #802
Change-Id: Ic14e4916e9c340221a1c0b177707a1d1bef73347
7 years ago
Richard Fuchs
a2e0dd6b33
TT#62300 kernelise stream even if address doesn't match if possible
...
Change-Id: If0756aa5ac5ce3ddf29d3ca1cb87410d7d57c89b
7 years ago
Richard Fuchs
3b6f098d8e
TT#61850 normalize `address:port` log printing
...
«IP»:«port» vs (preferred) «IP:port»
Change-Id: I785cedfc155c107b7798762ef43f6d35bdf8bd05
7 years ago
Richard Fuchs
79fb320021
add missing header include
...
Change-Id: Ic0dba1de45fac7acc37f0a3ce86368f9625c4cc9
7 years ago
Richard Fuchs
23977237c0
TT#61050 detect to-tag changes via via-branch
...
Change-Id: I1cf0f7e516ae52a2f40a9ef84a207fe1456ea1e5
7 years ago
Razvan Crainea
8fb603e5c3
dtmf: prevent freeing json buf too early
...
When both logging and sending the DTMF event further, the json buffer
was released/freed _before_ being sent on the network, resulting in a
0-length UDP packet. On the other hand, if only UDP sending was used
(without logging), a leak was happening. This commit fixes both issues.
7 years ago
Richard Fuchs
f6f484fff6
TT#59501 add optional RTCP sink
...
If `strict source` is set, we can now also kernelise RTCP ports. This
will engage the kernel module's source address checking. If the check
fails, the packet is discarded. Otherwise it's passed to user space
as usual.
Change-Id: Ieedf39fba2263045b0f1faafa7f5826a27b5a115
7 years ago
Richard Fuchs
988d077b5c
TT#60301 fix rtcp-mux logic with branched calls
...
Move the RTCP_MUX_OVERRIDE flag to the opposite side of the dialogue to
preserve options given during a branched call.
closes #793
Change-Id: I0bd7621ba22fbfe4f41d115ec2e5dab65283ae01
7 years ago
Richard Fuchs
fcb08df0ae
TT#59805 add dtmf-log-dest option
...
Change-Id: Id6f7ce7fa627b138e0b0ea3d410b8af53532b290
7 years ago
Richard Fuchs
166aaa0c71
fix compilation for with_transcoding=no
...
closes #789
Change-Id: Ia0a50f77ae25b8af5e387d40b2b570285836e32d
7 years ago
Richard Fuchs
f960799cdd
TT#59703 add build test for dtmf_rx_fillin()
...
closes #787
Change-Id: I26ec7ebef74dad03192019b788e7c7ae17715783
7 years ago
Richard Fuchs
7803930d21
TT#59703 generalise build test make macros
...
also add a linker stage to the test build
Change-Id: Ief9dcabbb77dd682b6e7188c296f4713c1c234a3
7 years ago