Commit Graph

30472 Commits

Author SHA1 Message Date
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
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
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
Stanislav Sinyagin ffa24ef6a5 FS-8426 place freeswitch.pm into /usr/share/perl5 2015-11-08 00:59:15 +01:00
Jaon EarlWolf f11a4a42b6 Removed unused function. 2015-11-06 14:06:21 -06:00
Jaon EarlWolf 5c73724f50 FS-8293 [verto_communicator] Implemented speed test in verto communicator. 2015-11-06 14:05:51 -06:00
Anthony Minessale 24b0161cdf always change bw 2015-11-06 14:01:54 -06: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
Italo Rossi 91e86ab352 FS-8400 [verto_communicator] Removing deprecated use of stream.stop(), removing unused code and making volume meter gray so we can see it in a white background 2015-11-06 16:38:15 -03:00
Ítalo Rossi 45117ae253 Merge pull request #581 in FS/freeswitch from ~JAONZE/freeswitch:feature/FS-8400-add-camera-and-microphone-preview to master
* commit '522547f84e7a62588cc14f06fb80a1987bb40014':
  FS-8400 [verto_communicator] Added Camera and microphone preview after the splash screen.
2015-11-06 12:58:17 -06:00
Jaon EarlWolf 522547f84e FS-8400 [verto_communicator] Added Camera and microphone preview after the splash screen. 2015-11-06 15:50:51 -03: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
Brian West 799bb4933c Merge pull request #578 in FS/freeswitch from ~MARKL/freeswitch:bugfix/FS-8413-segfault-calling-session-getvariable-nil to master
* commit '6288af5ef19b1d081b6ea0d2aed0ca19c9a77671':
  FS-8413: Segfault calling session:getVariable(nil) in lua script
2015-11-04 07:15:08 -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
Anthony Minessale II cffc673879 Merge pull request #577 in FS/freeswitch from ~BRADLEYJOKINEN/freeswitch:FS-8411 to master
* commit 'e96c2d4917427614356460a23fa2652c1fe7e2c0':
  FS-8411 Replace ping_frame with video_ping_frame in a couple places that were missed
2015-11-03 10:11:02 -06: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
Niek Vlessert 757fa94239 FS-8369 Debian8/CentOS7 systemd installer additions
After builing Freeswitch this makes actually run it easy by offering
an installer script.

* Changes to configure.ac to detect Debian8/CentOS 7 and create installer script
* Changes to build/Makefile.am to display the option
* Added build/startup directory with templates and other files
* Deleted outdated build/freeswitch.service and tmpfiles.conf
* Unit file based on the latest systemd service file FS-8194
* Won't interfere with other platforms (afaik)
* Supports all bindir directory prefixes ./configure can have
* Detects if Debian8/CentOS7 use systemd
* Can be used with a user with sudo permissions
2015-10-30 19:11:32 +01:00
William King 0d6e17b65a Merge pull request #573 in FS/freeswitch from ~WTCROSS/freeswitch:bugfix/FS-8398-ubuntu-trusty-deb-packaging to master
* commit '21a79e3fbb26f04476f2eef0a43fde46a9db155a':
  FS-8398: Added event_handlers/mod_amqp to avoided modules for Ubuntu 14.04 Trusty
2015-10-29 17:02:14 -05:00
Anthony Minessale II f2e5f713ee Merge pull request #574 in FS/freeswitch from bugfix/FS-8154-segmentation-fault-occurs-while-eavesdropping to master
* commit 'b40454209ba0b9b91a9ce9927cff0cc96b0c0275':
  FS-8154 #resolve [Segmentation fault occurs while eavesdropping on video call]
2015-10-29 15:31:08 -05:00
Anthony Minessale b40454209b FS-8154 #resolve [Segmentation fault occurs while eavesdropping on video call] 2015-10-29 15:30:59 -05:00
Artur Kraev 54be6fc573 ESL-111 Fix esl/python/Makefile to create install directory
This need when using make install DESTDIR=...
2015-10-29 23:27:54 +03:00
Tyler Cross 21a79e3fbb FS-8398: Added event_handlers/mod_amqp to avoided modules for Ubuntu 14.04 Trusty
This change makes it so that event_handlers/mod_amqp is avoided when building
debian packages for Ubuntu 14.04 (Trusty). If this module is packaged there is
a dependency issue related to the rabbitmq libraries.

Avoiding the module was the simplest solution to achieve debian packaging on the
Ubuntu 14.04 OS.
2015-10-29 14:17:59 -06:00