18330 Commits

Author SHA1 Message Date
Spencer Thomason
e31a8999c7 Allow building using system OpenSSL without EC support
This allows FreeSWITCH to build using system OpenSSL when there is no EC support

FS-8568 #resolve
2015-11-24 19:44:49 +00:00
matteo brancaleoni
d7b8394e50 FS-8565 update initial rtp from address when auto changing port so we can avoid false later comparisons 2015-11-23 12:24:29 +01:00
Jeff Lenk
08816959aa simple compile fixes for windows 2015-11-22 15:38:12 -06:00
Anthony Minessale
3ac546fbf1 FS-8293 fix some miscues on this patch 2015-11-20 16:24:41 -06:00
Anthony Minessale
6c3bf9ae65 FS-8554 #resolve [VC Moderator button quit working after moderator screen shares] 2015-11-20 14:40:29 -06:00
Anthony Minessale
1b0bf340aa FS-8543 make sure if the mute image is taken from the camera that it does not dissappear 2015-11-20 13:19:20 -06:00
Chris Rienzo
9e0f30c58b FS-8560 [mod_http_cache] add new parameter, connect-timeout
This is the maximum time to wait, in seconds, for the HTTP GET or PUT to connect.
If this value is not set or is set to 0, the default setting of 300 seconds is used.
2015-11-19 17:10:15 -05:00
Anthony Minessale
26bed941b3 FS-8160 Additional vulnerability in json parsing malformed utf encoded chars discovered by Brian Martin - Tenable Security Response CVE-2015-7392 2015-11-19 13:45:04 -06:00
Mike Jerris
31c9bca8e9 Merge pull request #593 in FS/freeswitch from ~MICJERRY/freeswitchmultimedia:master to master
* commit 'acecda7596beb5dc3a4f98cb126351d9c25454fb':
  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-19 11:10:52 -06:00
Mark Lipscombe
3293baa336 FS-8559: mod_shout should have "mpga" in it's list of supported extensions
Add mpga to the list of supported formats for mod_shout so that
files retrieved using mod_http_cache with a mime type of audio/mpeg
are able to be played using mod_shout.
2015-11-19 20:54:06 +11:00
Anthony Minessale
b4f477c22e FS-8293 fix some regressions where speed test caused excessive downlink bandwidth 2015-11-18 21:36:41 -06:00
Anthony Minessale
cd8901bf5b FS-8529 fix a few regressions 2015-11-18 21:34:24 -06:00
Anthony Minessale
9ab210e64b FS-8556 #resolve [Screen shares are not recoverable so do not try] 2015-11-18 15:26:26 -06:00
Anthony Minessale
fb8d4a2b99 FS-8545 do not allow video floor on a member with a reservation id set 2015-11-18 13:37:52 -06:00
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
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