Richard Fuchs
985cd44c2b
fix possible segfault after failed port alloc w/ iptables option
fixes #767
Change-Id: I8034849655f1c6e4e59cf341b0ff99066223fcbc
7 years ago
Richard Fuchs
77e31f1fb1
fix race condition after media player shutdown
fixes #764
Change-Id: I6e729170b95c4320e5b500e9e3bb11cb2a788b40
7 years ago
Vitalii Aleksandrov
fe18043c0a
Insert streambuf object to listener->streams before adding it to poller
7 years ago
Richard Fuchs
573cd3ff22
TT#58050 fix refcount bug
Every packet_stream gets a send_timer allocated, but the teardown
routine skips the refcount decrease for fallback RTCP streams (when
rtcp-mux is in use), resulting in mem leak
fixes #753
Change-Id: Ib3a4ef8a81135918f08e28e127e4bb557b8ea05d
7 years ago
Richard Fuchs
582e645a98
fix missing recording_on flag set
reported in #721
Change-Id: I273b4d7c1ba167058366e4c36e5a392b7c734cf2
7 years ago
Richard Fuchs
8eada4c03a
TT#45617 document new log-mark-prefix/suffix options
Change-Id: I6e7772974f54d1938ed0fc9d6f926b080c415688
7 years ago
Richard Fuchs
26b725d024
TT#45617 add new options to support log markers for sensitive data
Change-Id: I2ffa4da4be3a05f043e7991612bbb37d8102d91a
7 years ago
Richard Fuchs
354f75490d
TT#45617 add no-log-timestamps option
Log lines written to stderr that are consumed by journald will already
have timestamps added to them. Drop the redundant unixtime output for
this use case.
Change-Id: I34886a69a0ef90de2eb84ee8f446cbad624302c1
7 years ago
Richard Fuchs
f01568ed95
fix compilation for older ffmpeg
fixes #732
Change-Id: I3e0ed5b889034718e1a19f537e738f734842484d
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
9917e65599
fix division by zero for dtmf in some cases
closes #730
Change-Id: Ic917cc21d5c9a2012ae59d8c9c323114074fb300
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
40dc49f8e2
TT#50652 stop media playback on call delete
Change-Id: I008c6403ad8f3529806d5649bee0928fb50e9754
7 years ago
Richard Fuchs
661994e362
as per docs, remove all relay candidates under force-relay
fixes #728
Change-Id: I2828d4d9d5832d7248ea78b48bd38dba9592cca1
7 years ago
Richard Fuchs
9eea6b1fc4
Reverse participant matching logic
The from-tag may have been added to the message automatically, so we
should first check if any other flags are present, and use it only if
nothing else was found
Change-Id: Iec95d56812c31185ecd1171d01c922e7af0f5dd4
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
7e85d1a935
TT#50652 keep existing SSRC context when starting another playback
Change-Id: Ia4e64c39f870d0481847a67dd9c8dac1531e822d
7 years ago
Richard Fuchs
223996bc58
TT#50652 add documentation for media playback capability
Change-Id: Id9fb0a095f1c54a265f3a30f0a38542db06d46b4
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
e1e6fd4297
TT#50652 add explicit libav error reporting
Change-Id: Ib4bc3e89e54a1d4478dd32f7947dadeb262c18ec
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
d639223bee
TT#50652 add logging info to media_player timer runs
Change-Id: Iac4a1b2de1625ed9419bc76f22eea8167e55951f
7 years ago
Richard Fuchs
8874b4a31f
TT#50652 use random RTP TS when playing back media
Change-Id: I7b97877b0c6b7119cbfc6865f947895168af18fc
7 years ago
Richard Fuchs
21535faea6
TT#50652 support playing back media from memory stream
Change-Id: I400c4edbda4633abcff07319ce8cd0609b0021b1
7 years ago
Richard Fuchs
4aaccca6ee
TT#50652 separate out media playback routine
Change-Id: I35e4071645ff2c0e16a9901ff3d65516dda1907e
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
cfe6f87c8d
TT#50652 split timeval_cmp_ptr into function
Change-Id: I803e25bc3dc631d9eb05223d61708e9bfc5ca9de
7 years ago
Richard Fuchs
0cccae445f
compile fix for with_transcoding=no
Change-Id: I6cf6b7d7bc60b21a74be2a7c6c6d11b13b954a04
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
Guillem Jover
1f10dc30d5
TT#49106 Move the usage information into a new man page
Change-Id: I837d65c624cf1cabad543236b0a4e36f57894bab
7 years ago
Richard Fuchs
da5cacc965
TT#50652 add YCM config for include/
Change-Id: I7c1cb9cd4d8ef97166c8aa1ba470e5fef5f59863
7 years ago
Richard Fuchs
ed5af2df00
TT#50652 add YCM helper macro for CSH hashing
Change-Id: I498776539a19f0e5b529b91640af20f8cc3ac948
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
717021a29c
add ssllib to gitignore
Change-Id: I28d25e1fffa72e4b9f8c179d341873963b67b93d
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
Alexey Vasilyev
0c9bb7c440
Rename crypto suits according to RFC6188
7 years ago