18767 Commits

Author SHA1 Message Date
Anthony Minessale
420a78afc4 FS-8545 read lock regression 2015-11-18 13:18:39 -06:00
Anthony Minessale
8a73ecc14a FS-8053 amendment 2015-11-18 12:33:42 -06:00
Brian West
771123eb1b FS-8053 typo2 2015-11-18 10:55:05 -06:00
Anthony Minessale
07b8458497 FS-8053 typo 2015-11-18 10:50:40 -06:00
Anthony Minessale
e95f3686ad FS-8053 #resolve [When WebRTC's SDP contains a=sendonly for video, the client will still receive the video stream] 2015-11-18 10:31:30 -06:00
Anthony Minessale II
c550dc07ea Merge pull request #602 in FS/freeswitch from bugfix/FS-8547-add-error-log-into-stats-to-log-when to master
* commit '860a799c1de364d589f18ca84e0ad6a06846f4f7':
  FS-8547 #resolve [Add error log into stats to log when quality impacting events begin and end]
2015-11-17 15:12:36 -06:00
Anthony Minessale
860a799c1d FS-8547 #resolve [Add error log into stats to log when quality impacting events begin and end] 2015-11-17 15:09:00 -06:00
Anthony Minessale
f14fcb7838 FS-8529 #resolve [vid-floor and conference-flags set as video-muxing-personal-canvas ] 2015-11-17 12:18:29 -06:00
Chris Rienzo
df6a5315c1 FS-8549 [mod_http_cache] add support for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables in S3 profiles 2015-11-17 12:00:15 -05:00
root
acecda7596 FS-8527 [mod_conference] Do not send the video of last_video_floor_holder to video_floor_holder if already related one video to it. 2015-11-17 10:16:42 +08:00
Anthony Minessale
8293dd03d0 FS-8546 #resolve [Make original video demo back-compat with livearray-json-status] 2015-11-16 17:02:07 -06:00
Anthony Minessale
a754c686d8 remove DEBUG 2015-11-16 16:08:58 -06:00
Anthony Minessale
9f1c89b8e3 FS-8545 #resolve [Improve controls for screen share] 2015-11-16 15:54:43 -06:00
Anthony Minessale
67491b102c FS-8543 #resolve [Improve mute handling on conference and WebRTC] 2015-11-16 11:31:34 -06:00
Mark Lipscombe
4e9977507d FS-8537: Passing nil to various lua functions causes segfault
Various functions exposed via lua do not check their parameters for null
causing freeswitch to segfault.

This change adds checking for null parameters and returns an error
instead of segfaulting.
2015-11-15 10:43:09 +11:00
Anthony Minessale
de7a123c8b FS-8536 #resolve [Send Keyframe when getting SIP INFO with picture_fast_update] 2015-11-13 14:15:39 -06:00
Anthony Minessale II
cb7065f7b0 Merge pull request #594 in FS/freeswitch from bugfix/FS-8425-dtmf-sometimes-missed-on-pstn-call to master
* commit '56a10538dc6307fb285dd1f3a31b384f0e5750fa':
  FS-8425 #resolve [DTMF sometimes missed on PSTN call]
2015-11-13 10:56:08 -06:00
Anthony Minessale
56a10538dc FS-8425 #resolve [DTMF sometimes missed on PSTN call] 2015-11-13 10:55:47 -06:00
Anthony Minessale II
a5f10d72eb Merge pull request #590 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:rtcp-debug-fix to master
* commit 'cc1bf31078a6bac90aa0acb30ff4131dbf66ab9f':
  FS-8534: calculate RTT average (RTCP SR)
2015-11-13 10:25:03 -06:00
Anthony Minessale II
ff283f60de Merge pull request #592 in FS/freeswitch from bugfix/FS-8384 to master
* commit '6c7ed71a36d20fec31947bb0d31dc06733bd24df':
  update
  update
  fix close file snafu
  update
  commit
2015-11-12 18:48:49 -06:00
Anthony Minessale II
785727e6fa Merge pull request #591 in FS/freeswitch from feature/FS-8293 to master
* commit '1ee2f0abc224fd6830fb8a2ddf120abfd8f641f0':
  add colors to good and bad
  update new pass
  FS-8293 [verto_communicator] - Showing speed in the menu bar if autoBand is true, adding option to test speed before making a call, enabling dedEnc if inboundBandwidth is below dedEncWatermark (3072 by default). FS-8293 [verto_communicator] - Changed info in the top menu bar for a icon+popover, changed autoBand's code in testSpeed method, moved 'Bandwidth settings' to 'Video settings' in settings modal and now hidding video quality selection when autoBand is checked. FS-8293 [verto_communicator] - Better bandwidth info ui. FS-8293 [verto_communicator] - Fixed speed test breaking at splash screen if user isn't logged in.
  Removed unused function.
  FS-8293 [verto_communicator] Implemented speed test in verto communicator.
  always change bw
  tweaks
  WIP not shabby auto vid settings
  first pass, add some funcs to conference and speed test features and fix bugs in ws.c for big payloads
2015-11-12 18:40:27 -06:00
Anthony Minessale
f1b2733c14 update new pass 2015-11-12 18:33:32 -06:00
Dragos Oancea
cc1bf31078 FS-8534: calculate RTT average (RTCP SR) 2015-11-12 18:50:38 -05:00
Andrew Cassidy
8c540c6632 FS-8432 fixes timestamp type resolution, adds new header of type uint64 to carry microsecond resolution timestamp 2015-11-10 21:04:36 +00:00
Stanislav Sinyagin
de06bf086b FS-8427 Incompatible type for %ld in prinrtf 2015-11-09 21:54:00 +00:00
Anthony Minessale
6c7ed71a36 update 2015-11-09 15:35:52 -06:00
Anthony Minessale
f862c41c40 update 2015-11-09 15:13:19 -06:00
Anthony Minessale
f5c541a5c9 fix close file snafu 2015-11-09 15:13:19 -06:00
Anthony Minessale
ca49966f76 update 2015-11-09 15:13:19 -06:00
Anthony Minessale
65b7eeef52 commit 2015-11-09 15:13:19 -06:00
Peter Wu
48d6a5f6a8 switch_xml_decode: avoid NUL injection
strtol can parse negative values which opens the hole for a NUL
injection. The (invalid) entity "&#-256;" is parsed as 0xFFFFFF00 which
(when casted to a char) becomes 0.

Avoid this attack by using unsigned long integers. To avoid undefined
behavior due to negative shifts, restrict the upper bound of the code
points to the UTF-8 limits. (Add an assertion to make the Clang static
analyzer happy.)

Note: due to the specification of strtol, leading spaces and minus/plus
signs are also allowed, explicitly check for an integer. "&#0x1;" is
still accepted, but that is considered a minor issue.
2015-11-08 18:32:04 +01:00
Peter Wu
b683199688 switch_xml_set_attr: fix inconsistent state on error paths
Partially rewrite switch_xml_set_attr to fix memory leaks, uninitialized
argument values and use-after free warnings from Clang static analyzer.

Fixes these problems:

 - Add some comments and a new variable such that the code can more
   easily be audited / understood.
 - Always clear SWITCH_XML_DUP flag even if an error occurred to prevent
   free()'ing static strings on future invocations.
 - Keep the attribute list in a consistent state even if one of the
   memory allocation fails.
 - Keep allocation metadata in a consistent state when shrinking of the
   attribute lists fails. Previously the metadata was not updated,
   resulting in a wrong mapping from attributes to allocation flags.
 - Fix memory leaks when allocations fail.

Previous behavior: invalid memory accesses are possible after a memory
allocation failure, previous attributes may be lost.
New behavior: attributes list is always valid, a new attribute is either
set (or not), attributes can always be removed.
2015-11-08 18:30:44 +01:00
Anthony Minessale
1c8088a4a0 tweaks 2015-11-06 14:01:54 -06:00
Anthony Minessale
aa0b28e235 WIP not shabby auto vid settings 2015-11-06 14:01:54 -06:00
Anthony Minessale
828d6eaf01 first pass, add some funcs to conference and speed test features and fix bugs in ws.c for big payloads 2015-11-06 14:01:54 -06:00
Kirill Sysoev
b9278a8f0d FS-8416: Regex feature in param field 2015-11-05 22:17:54 +03:00
Mike Jerris
3f3b85596b Merge pull request #579 in FS/freeswitch from ~MARCELO1337/freeswitch-fs-8415:feature/FS-8415-send-180-ringing-for-early-media to master
* commit '7c3aed290dda715bb8d69c390b49f5557c762c3a':
  FS-8415 #resolve [support early with 180 using early_use_180=true]
2015-11-05 11:31:49 -06:00
Brian West
7d57063a14 FS-8404: if media engine will default to PCMU/PCMA if you don't specify any codecs 2015-11-05 11:30:02 -06:00
Anthony Minessale
38ff603766 FS-8417 #resolve [SIP offer with a=sendonly sometimes replies with a=inactive] 2015-11-05 10:43:19 -06:00
Marcel Haldemann
7c3aed290d FS-8415 #resolve [support early with 180 using early_use_180=true] 2015-11-05 11:13:33 +01:00
William King
a6cbe9034d FS-8377 Fix the handling of hiredis limit release when using an interval. The expectation for interval is to NOT decrement the limit. 2015-11-04 15:14:50 -08:00
Anthony Minessale
238722879b FS-8414 #resolve [Ptime unchanged on codec renegotiation] 2015-11-04 09:46:36 -06:00
Nathan Neulinger
b9be530c38 FS-8308 need to double encode if urlencoding json that is already encoded 2015-11-04 07:22:20 -06:00
Mark Lipscombe
6288af5ef1 FS-8413: Segfault calling session:getVariable(nil) in lua script
script calling session:getVariable() with a null variable
name will cause FreeSWITCH to segfault.

This change checks whether varname parameter to
switch_channel_get_variable_dup is non-NULL.
2015-11-04 17:33:11 +11:00
Bradley Jokinen
e96c2d4917 FS-8411 Replace ping_frame with video_ping_frame in a couple places that were missed 2015-11-03 09:27:21 -06:00
Anthony Minessale
b40454209b FS-8154 #resolve [Segmentation fault occurs while eavesdropping on video call] 2015-10-29 15:30:59 -05:00
Michael Jerris
b3dc9154d4 FS-8397: fix race condition inrementing event seq number 2015-10-29 10:28:21 -05:00
Emmanuel Schmidbauer
e6ae2e9bec FS-8392: change rtpmap payload to a number in dynamic range to allow both H263 and H263+ to be offered 2015-10-29 08:31:01 -04:00
Brian West
d744a18fd3 Merge pull request #550 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-fec-fix to master
* commit '65fd07923eb3d53931616fcd701a809e71f4243b':
  FS-8319: mod_opus: fix and cleanup of switch_opus_has_fec() and switch_opus_info().
2015-10-28 13:14:53 -05:00
Brian West
768a7ab6e5 Merge pull request #555 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-repacketization-toggle-fec to master
* commit 'd145111eed3505e11d9d0f0a891eab3945dddf36':
  FS-8344: mod_opus: toggle FEC on the last frame which is to be packed, so that FEC will be only present on the first SILK frame of the next Opus frame (Opus repacketization).
2015-10-28 13:12:17 -05:00