Richard Fuchs
4c53c3edf9
TT#14008 extra mitigation for forwarding loops
Flag a socket with an error strike when packets are received too fast,
and refuse processing once too many strikes have occurred. This should
prevent forwarding loops from taking down the system.
Change-Id: Idc574f2f1dbbcb156efc37a80e903dc4e60ef1b1
4 years ago
Richard Fuchs
e8b39ceccb
TT#88750 fix SRTP not working after Redis restart
Change-Id: I40a20b2cd2668480d4b85de7a19c39f606b2eada
(cherry picked from commit 5001a02d44 )
6 years ago
Richard Fuchs
1b9f85fb26
Recrypt SRTP for DTMF logging
Change-Id: Id877b8464e99cfd5dca728a01fcdc3ffc654d698
(cherry picked from commit e04fb03787 )
6 years ago
Richard Fuchs
4374e99c18
TT#82203 add detailed transcoding stats
Change-Id: Ib04767c38b00b17ef5844a9f6649e009270f8f82
(cherry picked from commit 64e6bf440b )
6 years ago
Richard Fuchs
aa5af0f8ae
TT#82203 add stats for transcoded sessions
Change-Id: Ie9bef31f62d489fccf52b02a8935f9c9dc2575b5
(cherry picked from commit 5f3f203fb8 )
6 years ago
Richard Fuchs
6b2ad6d371
TT#76368 remove some graphite functions from global namespace
Change-Id: Ic24778e9d04e015012e9d7cc873203d0dfbacaa6
(cherry picked from commit 10ab85b3e5 )
6 years ago
Richard Fuchs
5c6fd39cf6
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
(cherry picked from commit d3992101bd )
6 years ago
Richard Fuchs
5e6bac6177
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
(cherry picked from commit c70b3f6369 )
6 years ago
Huseyin Dikme
a4af447208
add missing errno include
7 years ago
Richard Fuchs
fcb08df0ae
TT#59805 add dtmf-log-dest option
Change-Id: Id6f7ce7fa627b138e0b0ea3d410b8af53532b290
7 years ago
Richard Fuchs
910c03fa62
TT#58660 PCM to RFC DTMF transcoding
Change-Id: Iea6a11c0caad1f5e7dcca966101e2969d3516b6f
7 years ago
Richard Fuchs
c0781e5193
TT#58659 RFC DTMF to PCM transcoding
Change-Id: I32fa876940131e3a18f611e2a518f7acd1327665
7 years ago
Richard Fuchs
194c9e482f
TT#58659 add optional encoder detour
If multiple codecs are encoding to the same destination codec, make them
all use the same encoder context
Change-Id: Iaf9b248f9fd2016fef2b576d24d3fba557d7c1f5
7 years ago
Richard Fuchs
2298de76b1
honour a=rtcp-fb in SDP even if transport is advertised as RTP/(S)AVP
closes #467
Change-Id: Ib8ea1d6c7b4c9277279399c4319c5efef6834372
7 years ago
Richard Fuchs
a4cca5f27f
fix compilation for glib >= 2.60
closes #760
Change-Id: I7fa9ee50663cdb91fe09147507734fbd88afce8c
7 years ago
Richard Fuchs
d279789e23
silence warnings when compiling with -DNDEBUG
Change-Id: I46d16f6c083d281622ce71644bcf8d224e0b36b7
7 years ago
Richard Fuchs
357474df6f
TT#50652 add label= option to match call participants
Change-Id: Ifc6cf8f630e9e5eb8cfb9b284e671a5ce4470963
7 years ago
Richard Fuchs
fb76ef74f8
TT#54800 fix ptime overrides
Adds a new option ptime-reverse to complement setting of ptime towards
the offerer. This and ptime setting are now ignored in answers.
Change-Id: Icbc04f191cbc194b75b72a97832fcaba58feb10e
7 years ago
Richard Fuchs
dc9f99763a
TT#54800 sequencing fixes
fixes incorrect seq when packets are consumed, as well as incorrect seq
for out of order packets
Change-Id: I0e2117ab68ccf5d0fa63b395a059aeb992f7dd13
7 years ago
Richard Fuchs
41cddcc293
normalise compat.h handling towards kamailio tree
Change-Id: Ia22a603c11b216969f4c0a854af42600a99a2819
7 years ago
Richard Fuchs
349954d2bc
TT#50652 handle SRTP output for media playback
Change-Id: Ie83c9c01c4c17e14d30aa14272b86af9ea38e1fb
7 years ago
Richard Fuchs
d449861d96
TT#50652 separate out and move crypt handler routines
Change-Id: Ia30aa8912f02ca2ea427b3c659a4b8696dc4a2a0
7 years ago
Richard Fuchs
e1825e3577
TT#50652 ensure consistent RTP timestamp across media restarts
Change-Id: I96b72dd13c13728b4f401f42951fbc231cc36705
7 years ago
Richard Fuchs
8d9a0d247c
TT#50652 remove already enqueued packets when media is stopped
Change-Id: I0fd2a7100d331d341518888d2c591dbf84b2599d
7 years ago
Richard Fuchs
7f5e16d3da
TT#50652 add stop_media call
Change-Id: I1b18a41d4b97ccbb83499873e50a797f846a8602
7 years ago
Richard Fuchs
7da2b523a7
TT#50652 return media duration to SIP proxy in play_media response
Change-Id: Ib09519f960b37ca41a554aa2779f71c91ef9b49d
7 years ago
Richard Fuchs
5b0a0105ef
TT#50652 support playing back media files from database
Change-Id: Ib21b6605553f67d6892ec8e2c75a7b0fca40936e
7 years ago
Richard Fuchs
831946a8d4
TT#50652 fix compilation for with_transcode=no
Change-Id: Ie65827be7e27a6f77019a983a1ce131c11b694d3
7 years ago
Richard Fuchs
3bdad88063
TT#50652 create timer to gradually send packets without jitter
Change-Id: I5b28f7514f54c6df9f3ee607e3bca76274b431b3
7 years ago
Richard Fuchs
21535faea6
TT#50652 support playing back media from memory stream
Change-Id: I400c4edbda4633abcff07319ce8cd0609b0021b1
7 years ago
Richard Fuchs
92b08d899c
TT#50652 add media playback capability
Change-Id: I935812639e4f42cd89c4ecf02f5ae1a9a8243a65
7 years ago
Richard Fuchs
6ba60d5b54
TT#50652 split out packet dequeuing and sending function
Change-Id: I303bcfb8869699554ff7381c68767c56fdcdda87
7 years ago
Richard Fuchs
3374254899
TT#50652 split out codec payload type init function
Change-Id: Ifd71439179925961f25c828132d7afb207a4f344
7 years ago
Richard Fuchs
83965bdb1f
TT#50652 infrastructure to support reading/playing of media files
Change-Id: I8212f5c74bcb9557d41f80ef3a1595f53bafde8a
7 years ago
Richard Fuchs
d96dbdea17
TT#50652 split timer thread functions into separate file
Change-Id: I445f3e2556ce647bf7e245e9612f4babcf04e388
7 years ago
Richard Fuchs
38c96468f1
TT#50652 move timeval functions into lib
Change-Id: Ia5701733845a4116b1455610c1d23d9abc247a9c
7 years ago
Richard Fuchs
e3ec97f858
TT#50652 add -Wstrict-prototypes everywhere
Change-Id: Ic5b5fcb892a8f70196478f8622d956bdea373422
7 years ago
Richard Fuchs
8f3c309c7f
fix always-transcode not being honoured when only codec-mask was used
reported in #664
Change-Id: I2cdfe405c61d48513a01393c5306fe4c875325ee
7 years ago
Richard Fuchs
6092c91ae4
TT#50652 fix possible sequencing bug while resampling
Change-Id: I5e0baec70892cbef9a9a036285379fe75ee3eba0
7 years ago
Richard Fuchs
3032443f87
TT#50652 remove unnecessary and circular include
Change-Id: I731c2a7586e878e4c756ab1a789f2e43418b0c46
7 years ago
Richard Fuchs
da5cacc965
TT#50652 add YCM config for include/
Change-Id: I7c1cb9cd4d8ef97166c8aa1ba470e5fef5f59863
7 years ago
Richard Fuchs
497c2d6a8d
TT#49104 move RTP sequencing into SSRC context
Detect and handle RTP seq resets while transcoding and provide
consistent output seq
fixes #664
Change-Id: I063bd9432f253fde25e90cdeb4e3460a882f7778
7 years ago
Richard Fuchs
3b28460507
TT#52651 Squashed commit of the following:
commit 2029144368
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 21 13:12:50 2019 -0500
TT#52651 switch TCP to TLS
Change-Id: Iab6b05d3b5c88553cbd6f531f3189084d9e71995
commit b28e718ee4
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Feb 22 09:20:54 2019 -0500
TT#52651 generalise streambuf interface
Change-Id: I7d5ab8ffe13e52d4dbb1901531cc13fcc173d60d
commit cb2dbd2a92
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 19 09:32:56 2019 -0500
TT#52651 add start/stop forwarding commands and party selection logic
Change-Id: I8ef7e288d3a3e485bd2fa14e1a2407a0c8d94bac
commit 442c48f627
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 15:43:23 2019 -0500
TT#52651 produce output for TCP forwarding feature
Change-Id: I18543921577faf655679829684f5af46c0af5054
commit 2ef8028eb2
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 10:18:21 2019 -0500
TT#52651 make recording to output files optional
Change-Id: I12c288b965641352658ce3b499c2ee90593e1322
commit 10a58cd7a0
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 16:02:16 2019 -0500
TT#52651 strip streambuf into lib and include in recording daemon
Change-Id: I1f6638961e9e767063e0b4e6b5d55d88799366d3
commit 9d3bb5bffc
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 15:40:12 2019 -0500
TT#52651 extract/move unrelated old legacy decoder struct members
Change-Id: Iffd79b43180c30a9e128a460f7ba85ba49dedeaf
commit 1bc38e4201
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:43:42 2019 -0500
TT#52651 config options for forwarding option
Change-Id: Ieaa2ee0e55a0c531158174bc6a534738a64dbee6
commit 06d61cd3dd
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:29:52 2019 -0500
TT#52651 move socket.[ch] into lib/
includes necessary re-shuffling of additional code pieces
Change-Id: I74b314ab5936ac8a0eeaff94e084617b59b28d79
Change-Id: I025e8ec86b90ede79565542dff57ec1559d04200
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
c80f55b85a
TT#49600 add debug log output for SDES negotiations
Change-Id: Ifb49d202bfa691cba63f86192e5730f1446ba1b9
7 years ago
Richard Fuchs
9e4d140e7b
TT#49045 add new flag to leave media direction attrs unchanged
Change-Id: I2dcafa3be9f8a0dfd7c1cf3e6046dabe9fa5bbee
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
c61d7f129e
add new `full rtcp attribute` flag
closes #668
Change-Id: I1ee13d4121d0aa6dff46470327a6caba9b631d7d
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