Commit Graph

30350 Commits

Author SHA1 Message Date
Jaon EarlWolf accc6206dd FS-8550 [verto_communicator] - Now setting testSpeedJoin to false when 'auto' is disabled and changed instruction for closing modal in resetSettings() 2015-11-17 16:30:17 -03: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
William King 6dd5fca10a FS-8333 2015-11-17 07:57:51 -08: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 91554607da FS-8545 add missing code to deal with screen share part 2015-11-16 17:15:17 -06: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
Mike Jerris 39a4f262b8 Merge pull request #596 in FS/freeswitch from ~MARKL/freeswitch:bugfix/FS-8537-passing-nil-to-various-lua-functions to master
* commit '4e9977507dd2da9b820593902d11b193b28fb6a0':
  FS-8537: Passing nil to various lua functions causes segfault
2015-11-16 10:39:02 -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 29fc9af538 FS-8293 update position 2015-11-13 10:49:12 -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
Moises Silva 8a81c3f59e OPENZAP-238: [freetdm] Fix gsm caller id and dnis information
Also fix small leak caused by the span being destroyed before the gsm loop ran
2015-11-13 02:58:06 -05:00
Moises Silva c8a9c07059 OPENZAP-238: [freetdm] Fix gsm signaling status reporting 2015-11-13 02:57:39 -05:00
Moises Silva c3e40b29be OPENZAP-238: [freetdm] Fix stop sequence to properly shutdown the gsm span using libwat
Misc code style fixes as well:

* Use static functions everywhere, no need to pollute the global namespace
* Rework some function names and variables to use lower case
2015-11-13 02:45:24 -05:00
Moises Silva b1de2ccd95 OPENZAP-238: [freetdm] Add new GSM parameter startup-command
The new parameter startup-command for gsm spans allows
executing raw AT commands on span startup
2015-11-13 02:05:53 -05:00
Moises Silva 7b4838035a OPENZAP-238: [freetdm] Enable GSM immediate forwarding logic
Use the new parameter immediate-forwarding-numbers to configure
immediate forwarding logic that emulates hunt groups

The parameter syntax is:

[<span-name>:]<number>

Multiple elements can be specified separated by commas

If the <span-name> is specified, the span will be checked for
availability, if available, its number will be selected for
forwarding, otherwise next number will be checked

Forwarding is enabled as soon as a channel is answered and its
disabled when the channel is hung up
2015-11-13 02:05:53 -05:00
Moises Silva 54005bfead OPENZAP-238: [freetdm] Confirm release on hangup of raw GSM call 2015-11-13 02:05:53 -05:00
Moises Silva 0267ab566d OPENZAP-238: [freetdm] Fix state transition on hangup after a raw call is placed 2015-11-13 02:05:53 -05:00
Moises Silva 160576f86b OPENZAP-238: [freetdm] Fix gsm forwarding initialization 2015-11-13 02:05:53 -05:00
Moises Silva f5894db211 OPENZAP-238: [freetdm] Several core and gsm improvements
* Add error handing in mod_freetdm for ftdm trace failures

* Allow freetdm signaling modules to specify a destroy function

* Added conditional forwarding to the freetdm gsm module
  Just specify the conditional-forwarding-number gsm parameter in freetdm.conf.xml

* Added new 'gsm call' freetdm command for raw GSM calls which can be
  used to enable/disabling network features (e.g call *93) without
  having to resort to use a full originate that requires routing the
  call somewhere when answered

* Miscelaneous cleanup of piggy coding style left over by one of the
  previous authors -_-
2015-11-13 02:05:53 -05: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 1ee2f0abc2 add colors to good and bad 2015-11-12 18:38: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
Jaon EarlWolf f3afab2f72 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.
2015-11-12 15:35:39 -06:00
William King 8012a5b72b Revert "FS-8530 add codecs/mod_sangoma_codec to avoid_mods in debian/bootstrap.sh"
This reverts commit 8a16ed1a49.
2015-11-11 14:07:50 -08:00
William King e69c519a93 Merge pull request #589 in FS/freeswitch from ~SSINYAGIN/freeswitch:bugfix/FS-8530-add-codecs-mod_sangoma_codec-to-avoid_mods to master
* commit '8a16ed1a49dd82aaac79c7a106c4adafd344a8c4':
  FS-8530 add codecs/mod_sangoma_codec to avoid_mods in debian/bootstrap.sh
2015-11-11 16:02:56 -06:00
Stanislav Sinyagin 8a16ed1a49 FS-8530 add codecs/mod_sangoma_codec to avoid_mods in debian/bootstrap.sh 2015-11-11 21:59:01 +00:00
Mike Jerris 0a984c3576 Merge pull request #584 in FS/freeswitch from ~SSINYAGIN/freeswitch:bugfix/FS-8427-incompatible-type-for-ld-in-prinrtf to master
* commit 'de06bf086bdaa442cba0d44bde65265eb4d7fc14':
  FS-8427 Incompatible type for %ld in prinrtf
2015-11-11 13:24:15 -06:00
Niek Vlessert 389d24da14 FS-8369 Fixes
- Don't check OS, current patch should be compatible with Debian and RHEL derivatives and ArchLinux
- Make useradd the tool to add the usera nd group to work on all
2015-11-10 19:43:46 +01: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
William King cf2528dbc3 Merge pull request #580 in FS/freeswitch from ~IAM/freeswitch:bugfix/FS-8416 to master
* commit 'b9278a8f0d369572fe7319a4fdf12d8c0714cba1':
  FS-8416: Regex feature in param field
2015-11-09 13:57:05 -06:00
Mike Jerris 4cd0288034 Merge pull request #519 in FS/freeswitch from ~MBRANCA/freeswitch:bugfix/FS-8248-python-esl-bindings-are-installed to master
* commit 'f5441a09f8f0c20750b1f9762d361d6f1a2f19c8':
  FS-8248 put python binaries into site arch path
2015-11-09 13:52:41 -06:00
Mike Jerris 49832084bb Merge pull request #568 in FS/freeswitch from ~RAVENOX/freeswitch:master to master
* commit '54be6fc57369a71685aaad59f4605b29194cc8f2':
  ESL-111 Fix esl/python/Makefile to create install directory This need when using make install DESTDIR=...
2015-11-09 13:51:00 -06:00
Mike Jerris 29dda7e095 Merge pull request #583 in FS/freeswitch from ~SSINYAGIN/freeswitch:bugfix/FS-8426-freeswitch.pm-is-not-found-by-perl to master
* commit 'ffa24ef6a599306c7484c6e98b6cb94d89e5e085':
  FS-8426 place freeswitch.pm into /usr/share/perl5
2015-11-09 12:46:13 -06:00
Moises Silva ce5c99d45c OPENZAP-240 #resolve [GSM module uses incorrect length when parsing AT responses]
Use the buffer length returned by the driver instead of trying to use strlen()
2015-11-08 22:12:41 -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