Michael Jerris
a067a49b39
FS-7046 fix warning introduced from b341ff7 properly
2014-12-29 13:49:42 -05:00
Brian West
65631ed36b
Revert FS-7004 pending updated fixed for that issue from the original author.
2014-12-29 10:02:33 -06:00
William King
b368a75593
Fixing a typo, and updating the weekly conference call link in the SubmittingPatches doc
2014-12-27 18:49:55 -08:00
Travis Cross
750b1dd807
Allow streaming binary data from mod_memcache
...
Previously data returned from `memcache get` would be truncated at the
first NULL byte.
By using raw_write_function here to stream the returned memcache
value, we allow mod_memcache to be used for audio and other arbitrary
binary data.
Dave has a format module planned that relies on this.
Thanks-to: Dave Olszewski <dolszewski@marchex.com>
FS-7114 #resolve
2014-12-28 00:42:01 +00:00
Travis Cross
ffef746dcb
Add .clang-format rules
...
ClangFormat is an attempt to build something like gofmt for C.
ref: http://clang.llvm.org/docs/ClangFormat.html
ref: http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2014-12-26 17:22:20 +00:00
Seven Du
0a66db6f12
FS-7111 #resolve please review
2014-12-26 13:28:11 +08:00
Travis Cross
bca7216fdd
Run dos2unix on mod_expr HTML files
2014-12-25 10:38:10 +00:00
Travis Cross
65e678ba1d
Fix mod_expr clamp
function
...
The clamp(v,a,b) function wraps v around the interval [a,b).
However prior to this commit, `clamp` was ignoring the third argument
and using the second argument again in its place. This resulted in a
division by zero. Hence `clamp` didn't work at all.
Even if the arguments were treated correctly, `clamp` incorrectly
multiplied rather than added whenever v < a. This would have produced
bogus results. (Thanks to Shona McNeill for pointing this out.)
Note that as implemented, `clamp` is undefined for b >= a.
These errors are present in the last upstream C version, v2.7.
They've been corrected in the C++ version that upstream now maintains
instead.
Thanks-to: Shona McNeill <prufrax@googlemail.com>
FS-7070 #resolve
2014-12-25 10:18:31 +00:00
Travis Cross
d88bae1a62
Support optional debian parallel builds
...
With this commit we allow getting `make -jN` behavior by setting
`parallel=N` in `DEB_BUILD_OPTIONS`. Setting `parallel=` will result
in `make -j` being run (i.e. no limit on the number of jobs). The
default is to run one job at a time; this is still the safest bet when
building all modules.
Thanks to Peter Wu for suggesting a different way to do this.
ref: https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
2014-12-25 07:13:17 +00:00
Travis Cross
430433a6d7
Improve error message
2014-12-25 04:19:05 +00:00
Travis Cross
0330b6fa6d
Adjust code style of recent changes
2014-12-25 04:01:10 +00:00
Travis Cross
505cd2947a
Refactor distro detection and handling
2014-12-25 03:58:49 +00:00
Travis Cross
3c8dd3e4df
Handle missing lsb_release
...
The lsb-release package isn't a stated dependency and isn't present on
a minimal Debian install.
2014-12-25 03:51:30 +00:00
Ken Rice
c52df1d8e4
version bump
2014-12-24 21:26:15 -06:00
Ken Rice
0d5bd66c42
update URLs in this document
2014-12-24 10:40:08 -06:00
Seven Du
f3d4c6e7b9
FS-7046 fix warning introduced from b341ff7
2014-12-24 10:40:08 -06:00
Seven Du
82b7f01692
FS-6984 set some default video rate
2014-12-24 10:40:08 -06:00
Michael Jerris
b0fecc1844
FS-7100: make buffer for sub contact big enough
2014-12-24 10:40:07 -06:00
Jeff Lenk
7f3c90e110
FS-7046 fix some additional warnings
2014-12-24 10:40:07 -06:00
Anthony Minessale
f33127db91
disable hard-mute when a session has a media bug attached
2014-12-24 10:40:07 -06:00
Brian West
aae4a76f3a
FS-7083: fix divide by zero
2014-12-24 10:40:07 -06:00
William King
26aba8de77
Build fix for gcc 4.9 fixing a variable set but not used error
2014-12-24 10:40:07 -06:00
Anthony Minessale
95bc5d2bef
FS-7093 %FEATURE #resolve #comment added to master
2014-12-24 10:40:07 -06:00
Anthony Minessale
b94eb0f7e2
FS-7083 #resolve #comment this should do it. The problem is linked to side-effects from the read thread being delayed by writing to the file handle. It was so much worse on mp3 because the shout encoder blocks while its churning the data and delays it more. This patch adds a dedicated thread for writing to the file and the channel_variable RECORD_USE_THREAD=false will disable it and sync may still be maintained at the cost of dropping more data from the audio signal.
2014-12-24 10:40:07 -06:00
Dmitriy N. Borisov
41b97031d7
invalid type cast correction
2014-12-24 10:40:07 -06:00
Dmitriy N. Borisov
65ca6ed024
list_users tipo correction
2014-12-24 10:40:07 -06:00
Brian West
01cbaa2809
chmod
2014-12-24 10:40:07 -06:00
Brian West
68fcf1916f
update build deps for debian list
2014-12-24 10:40:07 -06:00
Anthony Minessale
07b4dbeea7
FS-7083 #comment patch to change mod_shout to use lame_encode_buffer_interleaved on stereo channels so we don't have to mess with the input data
2014-12-24 10:40:07 -06:00
Anthony Minessale
39ae68c3c6
FS-7095 #comment please test
2014-12-24 10:40:06 -06:00
Moises Silva
c8ae02bba3
Fix timestamps in mod_bert broken by the cpu improvements refactoring
2014-12-24 10:40:06 -06:00
Anthony Minessale
fa2133b60d
FS-7092 #resolve #comment resolved in master
2014-12-24 10:40:06 -06:00
Chris Rienzo
ffc6bba3ff
FS-7091 #resolve #comment [mod_rayo] Removed unnecessary mutex lock inside input component's cleanup function since the input component won't be cleaned up unless all references have been released. This fixes a deadlock when output component is created at the same time an input component completes.
2014-12-24 10:40:06 -06:00
Anthony Minessale
e1ebedf9ce
set rtp_has_crypto for dtls calls
2014-12-24 10:40:06 -06:00
Jeff Lenk
a887f02dca
vs2010 unimrcp working build
2014-12-24 10:40:06 -06:00
Jeff Lenk
cb71989ba5
vs2010 support for recent unimrcp changes
2014-12-24 10:40:06 -06:00
Jeff Lenk
e2972ab75f
vs2010 support for recent unimrcp changes
2014-12-24 10:40:06 -06:00
Jeff Lenk
63cd544998
fix windows build error
2014-12-24 10:40:06 -06:00
Moises Silva
a04e3dd57a
Add bert stats to mod_bert::lost_sync event
...
The following values can be read from the event:
sync_lost_percent - Error percentage within the analysis window
sync_lost_count - How many times sync has been lost
cng_count - Counter of confort noise packets
err_samples - Number of samples that did not match the sequence
2014-12-24 10:40:06 -06:00
Moises Silva
c16d7b2285
Improve mod_bert cpu efficiency
...
* Use memmem() and memcmp() for pattern checks
* Use a static pre-built buffer for the write frame
2014-12-24 10:40:06 -06:00
Anthony Minessale
75711f47ec
FS-7086 FS-6798 #resolve
2014-12-24 10:40:06 -06:00
Anthony Minessale
e12ef5819f
FS-6994 #resolve
2014-12-24 10:40:05 -06:00
Anthony Minessale
2bded497fd
allow 10ms jb
2014-12-24 10:40:05 -06:00
Anthony Minessale
8261c75441
some changes to webrtc to make it work with iDoubs in rtcweb profile mode
2014-12-24 10:40:05 -06:00
Michael Jerris
e9afb07512
FS-7078: fix sip_header_as_string to properly null_terminate on larger header strings
2014-12-24 10:40:05 -06:00
Jeff Lenk
bb145be423
trivial fix for last commit
2014-12-24 10:40:05 -06:00
Jeff Lenk
c84add31a9
windows force datatype conversion on uint64_t to switch_size_t for recent change. maybe we should change the structure to be uint64_t as well?
2014-12-24 10:40:05 -06:00
Anthony Minessale
6a71c82ab4
re-mark cur_payload as negotiated when detected as such by parser or the rtp could stop working on session re-invite
2014-12-24 10:40:05 -06:00
Italo Rossi
9eb1dda419
FS-7049 - Documentation for state optional paramenter in callcenter_config queue list and count
2014-12-24 10:40:05 -06:00
Anthony Minessale
d61873bc39
FS-7015 #resolve #comment The code was not properly catching the 0.0.0.0 after changing it to work with ICE SDPs because it was looking in the wrong place for the 0.0.0.0
2014-12-24 10:40:05 -06:00