Moises Silva [Wed, 29 Jan 2014 00:07:34 +0000 (19:07 -0500)]
Fix ESL infinite loop on handle_recv() when errno is already set
system calls do not clear errno, just set it in case of failure, so we
gotta make sure the recv() syscall really failed by checking the return value
James Le Cuirot [Fri, 10 Jan 2014 14:37:41 +0000 (14:37 +0000)]
Fix --disable-core-odbc-support
In commit ffc8e81b763c4e11e02309b99e2a4b4aa666e845, tc ensured that
configure would abort if libodbc was not found. However this resulted
in the library check being done twice, as well as rendering
--disable-core-odbc-support ineffective. If libodbc was found, it
would enable core ODBC support regardless. This fix ensures the check
is only done once or not at all if core ODBC support is explicitly
disabled.
James Le Cuirot [Fri, 10 Jan 2014 13:34:09 +0000 (13:34 +0000)]
mod_rayo: Translate XMPP messages to SIP messages
Call-bound XMPP messages are translated to SIP messages via
SWITCH_EVENT_SEND_MESSAGE in a similar manner to that described in
draft-ietf-stox-im-06. Messages with a type of "normal" are directed
to the caller. Other types receive a feature-not-implemented response
but it is envisaged that the "groupchat" type could be used to direct
the message to all joined parties.
add more rtp statistics with several new vars for cdr processing in_jitter_min_variance in_jitter_max_variance in_jitter_loss_rate in_jitter_burst_rate in_mean_interval in_flaw_total in_quality_percentage in_mos
Michael Jerris [Wed, 29 Jan 2014 21:59:46 +0000 (16:59 -0500)]
revert previous change that does not correct the issue. opened a bug with apple on this issue https://bugreport.apple.com/problem/viewproblem #15938497
Peter Olsson [Wed, 22 Jan 2014 21:47:11 +0000 (22:47 +0100)]
Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future.
Peter Olsson [Wed, 22 Jan 2014 21:28:53 +0000 (22:28 +0100)]
Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks.
Peter Olsson [Tue, 21 Jan 2014 09:54:30 +0000 (10:54 +0100)]
mod_v8: Force V8 build to disable python multithreading support during build, to make it safe to build even if there is not enough rights on /dev/shm. FS-6111 --resolve
Travis Cross [Tue, 21 Jan 2014 04:40:00 +0000 (04:40 +0000)]
Add util option to customize suite names
This lets us set the suite name in the changelog file to
e.g. sid-experimental. This way we can share a single debian repo URL
for all versions, but make sure that incoming files are directed to
the correct distro.
Travis Cross [Tue, 21 Jan 2014 03:38:41 +0000 (03:38 +0000)]
Add utility to generate backtraces from core files
This should help with getting people reporting issues to provide us
the exact and complete debugging information we need. In many cases
we'll be able to have them just run this script against their core
file.
Peter Olsson [Mon, 20 Jan 2014 10:32:28 +0000 (11:32 +0100)]
mod_v8: Added configure flag --enable-static-v8 to enable static linking of the V8 lib. Also enabled this flag for the Debian packaging system. Please note the static linking has only been verified on Linux so far
Travis Cross [Fri, 17 Jan 2014 07:05:17 +0000 (07:05 +0000)]
Handle Linux TCP keepalives better in Sofia
Sofia accepts a value for the TCP keepalive timeout interval via
TPTAG_KEEPALIVE, however it fails to use this value for the Linux
keepalive socket options TCP_KEEPIDLE and TCP_KEEPINTVL. In fact, on
Linux it enables the sending of TCP keepalives even if tpp_keepalive
is set to zero which would disable Sofia's internal keepalive
mechanisms. Sofia then uses a hard coded value of 30 seconds for
these keepalive intervals which affects battery life on mobile
devices.
With this commit we harmonize the sending of TCP keepalives on Linux
with other platforms by using the value from TPTAG_KEEPALIVE and not
enabling the sending of TCP keepalives at all if the value of the
parameter is zero.