Commit Graph

224 Commits

Author SHA1 Message Date
Mike Jerris dbd1c8684d Merge pull request #1124 in FS/freeswitch from ~TCULJAGA/freeswitch_tc:bugfix/FS-9873-a1-hash_for_mod_verto to master
* commit '1f7a7e336f0d2d0d4c67ee45478bf9b759e0dda8':
  FS-9873 mod_verto a1-hash - squashed
2017-01-04 11:37:32 -06:00
Tihomir Culjaga 1f7a7e336f FS-9873 mod_verto a1-hash - squashed 2017-01-04 06:48:35 -06:00
Brian West d28f29594f FS-9776: [mod_sofia] SIP Transfer generates high CPU #resolve 2016-12-28 12:40:06 -06:00
Mike Jerris 6e2764776f Merge pull request #1110 in FS/freeswitch from ~SEBASTIAN/freeswitch:bugfix/FS-9840-fix-some-warnings-V2 to master
* commit '8c94e6f57fd9adee5e6a12535811fff8e4d9ae46':
  FS-9840 mod_avmd: Fix implicit declaration warning
  FS-9840 sofia-sip: fix implicit declaration warning
  FS-9840 mod-verto: fix implicit declaration warning
  FS-9840 mod_sofia: fix redefine warning
2016-12-27 12:36:58 -06:00
Sebastian Kemper 8063ad658b FS-9840 mod-verto: fix implicit declaration warning
This fixes the following compile-time warning:

making all mod_verto
make[7]: Entering directory '/home/sk/tmp/lede/build_dir/target-mips_24kc_musl-1.1.15/freeswitch-1.8.0/src/mod/endpoints/mod_verto'
  CC       mod_verto_la-mod_verto.lo
  CC       mod_verto_la-ws.lo
ws.c: In function 'hton64':
ws.c:730:14: error: implicit declaration of function '__bswap_64' [-Werror=implicit-function-declaration]
  else return __bswap_64(val);
              ^
cc1: all warnings being treated as errors

Fix by including byteswap.h, which is available on Linux and also
everywhere glibc is used (wpa_supplicant includes this header the same
way).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-23 21:44:25 +01:00
Anthony Minessale ade6e856a2 FS-9745: [mod_sofia] Call to FS WebRTC Gateway fails when no SDP on invite #resolve 2016-12-20 12:20:41 -06:00
Seven Du 6528ae00b5 FS-9817 #resolve fix regression from 828d6eaf01 2016-12-06 11:33:01 +08:00
Seven Du b26fa6e17c FS-9810 fix ws write fail on slow network 2016-12-04 12:49:46 +08:00
Anthony Minessale 09028b251e FS-9455 #resolve [Doubled posts in the chat window ] 2016-11-02 16:00:49 -05:00
Mike Jerris f35c2a4ec2 FS-9623: fix rare crash on startup due to openssl init functions being run multiple times 2016-10-07 15:33:50 -04:00
Seven Du 241bbd1529 FS-9622 #resolve fix buffer size calculation in http interface in mod_verto 2016-10-07 10:16:35 +08:00
Mike Jerris 0d56945f71 FS-9581: [windows] CF_TEXT is a reserved constant on windows 2016-10-05 11:06:44 -04:00
Mike Jerris 4814cb1e34 FS-9581: [windows] CF_TEXT is a reserved constant on windows 2016-10-05 09:57:31 -04:00
Anthony Minessale f38dde9fec fix merge 2016-09-27 16:44:25 -05:00
Anthony Minessale c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00
Brian West 39738b32ca FS-9574 #resolve [We shouldn't print data sent on the buffer.] 2016-09-27 15:52:25 -05:00
Anthony Minessale 56a129a854 FS-9550 #resolve [Set user on outbound verto calls to sync with user directory] 2016-09-20 14:06:05 -05:00
Anthony Minessale ccadea219a FS-9524 #resolve [Enable whitelisting of Verto connections by IP using FS ACL] 2016-09-20 14:03:35 -05:00
Anthony Minessale eb4d24b68c FS-9549 #resolve [Add userVariables to DMTF and INFO messages] 2016-09-20 13:57:34 -05:00
Anthony Minessale 5c43a17a04 FS-8761 2016-09-12 11:24:41 -05:00
Anthony Minessale 47cbd2f628 FS-9475 #resolve [Video bandwidth not conveyed in SDP for verto] 2016-09-01 17:18:33 -05:00
Brian West 7cc2653edc FS-8608 found while doing config audit, params should have dashes 2016-08-22 15:20:04 -05:00
Anthony Minessale 2e3227b50f FS-9422 #resolve [Freeswitch Exit/Crash on SDP Negotiation] #comment renegotiate-codec-on-hold renegotiate-codec-on-reinvite are both removed in this commit 2016-08-12 14:10:23 -05:00
Anthony Minessale a3648f244f tweak on yesterday's commit 2016-08-11 10:04:01 -05:00
Anthony Minessale c79441d84e try to deliver locally to verto too 2016-08-10 21:57:42 -05:00
Anthony Minessale 61c487c3e8 Revert "FS-8761 #resolve [Memory leak in FreeSWITCH]"
This reverts commit 341e94b28d.
2016-08-06 11:47:07 -05:00
Anthony Minessale 341e94b28d FS-8761 #resolve [Memory leak in FreeSWITCH] 2016-08-03 23:57:00 -05:00
Anthony Minessale 18db50c46a FS-9099 #resolve [Websocket raw frame read timeout is too short] 2016-04-25 17:29:50 -05:00
Italo Rossi e3263680c1 FS-9077 [mod_verto] Adding verto_hangup_disposition variable to indicate who hangup 2016-04-15 16:54:38 -03:00
Flavio Grossi 3623e2747d FS-8990 add verto_client_address to verto and presence events 2016-03-30 11:42:43 +02:00
Italo Rossi ce3f10a702 FS-8990 - [mod_verto] - Adding verto_login header to verto::client_disconnect event 2016-03-29 17:39:40 -03:00
Anthony Minessale 3eff2d553d FS-7800 should be able to call extra screens with same extension as the original and place the param conferenceCanvasID with the desired canvas id into the call params in the same place bandwidth prefs are added 2016-03-18 14:54:31 -05:00
Anthony Minessale a1fff59c25 FS-7132 2016-02-18 11:44:16 -06:00
Corey Smith 30077789d5 FS-8778 #resolve FreeBSD: src/mod/endpoints/mod_verto/ws.h define __bswap_64 2016-01-31 05:09:38 -05:00
Mike Jerris 4245f5de89 Merge pull request #689 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-8782-mod_verto-fails-to-build-on-solaris to master
* commit '2caa6efdacce9493a6a145aa6475d4b857fd4e9d':
  FS-8782: [mod_verto] fix build error for missing __bswap_64 on Solaris
2016-01-29 11:07:06 -06:00
Anthony Minessale ff43872e20 FS-8796 #resolve [issues with verto mcast] 2016-01-28 12:29:45 -06:00
Spencer Thomason 2caa6efdac FS-8782: [mod_verto] fix build error for missing __bswap_64 on Solaris 2016-01-27 19:44:59 -08:00
Michael Jerris b1206d0b50 FS-9658: [mod_verto] windows fixes for mod_verto 2015-12-14 14:23:31 -06:00
Mike Jerris 5ab62d8114 FS-8578: [mod_verto] fix build error for missing __bswap_64 on osx 2015-11-25 20:07:04 -05:00
Jeff Lenk 08816959aa simple compile fixes for windows 2015-11-22 15:38:12 -06: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 9ab210e64b FS-8556 #resolve [Screen shares are not recoverable so do not try] 2015-11-18 15:26:26 -06:00
Anthony Minessale 9f1c89b8e3 FS-8545 #resolve [Improve controls for screen share] 2015-11-16 15:54:43 -06:00
Anthony Minessale f1b2733c14 update new pass 2015-11-12 18:33:32 -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
Ken Rice a983cc5228 FS-8273 #resolve clear the CF_RECOVERING flag in a spot that was missed 2015-10-01 15:23:21 -05:00
Anthony Minessale 819a2c13a9 FS-8210 #resolve [mod_verto can be unloaded while it is in use] 2015-09-23 10:35:45 -05:00
Anthony Minessale f8b19b7485 FS-8190 #resolve [When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command] 2015-09-21 18:00:32 -05:00
Anthony Minessale 703795e913 FS-8130 FS-7432 FS-8115 2015-09-15 20:33:55 -05:00
Anthony Minessale 331cde3c92 FS-8053: handle a=sendonly, a=sendrecv, a=recvonly to change who is sending video during a call 2015-09-09 18:10:52 -05:00
Mike Jerris 46c0d05216 FS-7966: fix more msvc 2015 build warnings. 2015-09-02 13:07:17 -04:00
Mike Jerris 5c59a0159d FS-7966: fix more msvc 2015 warnings. 2015-08-31 17:08:52 -04:00
Michael Jerris 164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
Mike Jerris 288c62576f FS-7966: fix more warnings in msvc 2015 build 2015-08-28 17:42:55 -04:00
Mike Jerris 5de2f7d7bd FS-7966: multiple fixes for msvc 2015 build, silence multiple warnings 2015-08-27 18:49:13 -06:00
Mike Jerris de0327960a FS-7966: multiple fixes for msvc 2015 build, fix x64 build 2015-08-27 17:26:42 -06:00
Mike Jerris 9485fc9581 FS-7966: multiple fixes for msvc 2015 build 2015-08-27 14:37:33 -06:00
Michael Giagnocavo 5e456fe9a6 FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Seven Du 514cfbd9f5 add newline to log %nojira 2015-08-18 23:05:50 +08:00
Vladimir 240bf74d3a FS-7728: fix windows build issues 2015-08-04 23:29:01 -05:00
Michael Jerris 12a6b8bc53 FS-7889: [mod_conference] move conference chat to use an event channel so messages only go to the right 'room' for the conference 2015-07-23 19:09:24 -05:00
Michael Jerris 7b49bc8ecb FS-7872: [mod_verto] handle attempting to transfer 1 legged call gracefully 2015-07-22 11:00:54 -05:00
Anthony Minessale f726cb9a53 FS-7769: [mod_conference] Add new multi-canvas and telepresence features
mod_conference new features:
add conference layout "1x1+2x1" and add to layout group grid
add conference flag video-bridge-first-two conference flag
add conference flag video-required-for-canvas to only use avatars for members with video
add conference flag video-muxing-personal-canvas
add conf_verto_ prefix for variables to pass on live array subscription notice
add api command conference foo vid-canvas <member_id|all|last|non_moderator> [<newval>]
add api command conference foo vid-layer <member_id|all|last|non_moderator> [<newval>]
add api command conference foo vid-watching-canvas <member_id|all|last|non_moderator> [<newval>]
changed api command conference foo vid-layout, args are now "<layout name>|group <group name> [<canvas_id>]"
add channel vars you can set before entering conference video_initial_canvas and video_initial_watching_canvas
add many new output status vars to conference list api
add new conference member flag "second-screen"
add config param video-canvas-count
add config param video-super-canvas-label-layers
add config param video-super-canvas-show-all-layers
add config param video-super-canvas-bgcolor

verto client:
add google login
add hipchat js file
conf_verto_hipchatURL= to control what hipchat server appears if any
global device init and overrides
allow passing sessid
add confMan.canvasCount
add handling of multiple canvases and launching them, and controlling all of their layouts
re-layout moderator controls and add support for changing the watching and input canvas and layers
when launching another canvas, watch subscriptions for the original call so we can automatically close the additional window
maintain camera settings on call recovery
2015-07-13 18:03:16 -04:00
Brian West 986921b0db FS-7729 properly format v6 addresses #ocd #resolve 2015-06-25 17:34:25 -05:00
Michael Giagnocavo f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Michael Jerris e2d0de3d8e FS-7650: #resolve [mod_verto] Fix crash when making a call from a verto user with profile-variables in their user profile 2015-06-17 10:34:35 -05:00
Anthony Minessale eb1abd70b5 FS-7649 #resolve 2015-06-15 15:12:03 -05:00
Jeff Lenk 345e50d25a FS-7644 2015-06-11 15:29:28 -05:00
Michael Jerris 2cc0348422 FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used. 2015-06-10 16:33:14 -04:00
Anthony Minessale 6c135e15c1 FS-7602 FS-7499 FS-7587 #comment another refactoring pass on candidate parsing and ipv4/6 parsing 2015-06-03 15:54:21 -05:00
Anthony Minessale 3b2d00f3e6 FS-7587 Add ipv6 support to Verto / Websockets 2015-06-01 13:39:47 -05:00
Anthony Minessale 5ab557fd51 FS-7509: add userVariables parser to initial connection all variables set in this obj will be set on every inbound call 2015-05-28 12:47:25 -05:00
William King 5e35f27cb1 CID: 1294548 adding a check for the return value 2015-05-28 12:47:21 -05:00
Anthony Minessale f364a4190b FS-7509: don't need this change revert it 2015-05-28 12:47:18 -05:00
Anthony Minessale 3e24ac5e6b FS-7501: add auto sync of jb and fps detection 2015-05-28 12:47:18 -05:00
Anthony Minessale eb819b51b5 FS-7509: WIP media reneg stuff 2015-05-28 12:47:14 -05:00
Anthony Minessale c9cccd519a FS-7509: add some more bandwidth control features 2015-05-28 12:47:09 -05:00
Anthony Minessale c02f694c37 FS-7509: add a way to choose bandwidth 2015-05-28 12:47:05 -05:00
Anthony Minessale 2c4c2587ed FS-7513 FS-7509: crack at screen share 2015-05-28 12:47:03 -05:00
Anthony Minessale 4d100bc2e8 FS-7509: stop media on verto detach 2015-05-28 12:46:55 -05:00
Anthony Minessale 970064294c FS-7500: refactoring 2015-05-28 12:46:50 -05:00
Anthony Minessale d3a747ad02 FS-7470: add force-register-domain param to verto 2015-04-24 09:49:54 -05:00
Anthony Minessale 42961b7f2e remove debug 2015-03-17 18:27:08 -05:00
Anthony Minessale 61e250a49b FS-7312 #resolve #comment added feature NEEDS_DOC 2015-02-21 18:15:04 -06:00
Michael Jerris d17edb59dc FS-7264: fix signed/unsigned warnings on windows building ws.c 2015-02-11 12:40:04 -05:00
Seven Du 193e584efc tweak log level 2015-01-27 23:18:53 +08:00
Seven Du b87d42c41e fix read of 0 bytes problem and make buffer null terminated before using strstr
on debian 7, ws_raw_read returns 0 when client side disconnect the socket,
no HUP is detected and it resulted in an infinite loop.
2015-01-27 23:18:52 +08:00
Anthony Minessale 1710214025 enable nat mode for verto when ext-rtp-ip is set 2015-01-23 20:53:00 +00:00
Anthony Minessale dc00863d5e fix parsing error in verto 2015-01-16 15:47:27 -06:00
Seven Du 1ed290e930 follow commit 0bec209a, we should still allow NULL arg 2015-01-08 11:40:22 +08:00
Anthony Minessale 5187aaed79 FS-7117 #comment revert bf5210bf72 and implement it in ws.c please be sure to learn to use git commit hooks to properly associate commits with jiras 2015-01-07 17:17:28 -06:00
Anthony Minessale f48ec61d54 FS-7132 #resolve 2015-01-06 03:19:16 -06:00
Seven Du 0bec209a9b fix fsapi in verto, the json_api_function expects cmd & arg in the data object 2015-01-03 16:06:35 +08:00
Seven Du bf5210bf72 retry send when the socket sent less than we want 2014-12-30 13:16:28 +08:00
Seven Du a961b0e90b fix type, send returns ssize_t 2014-12-30 13:13:52 +08:00
Michael Jerris a067a49b39 FS-7046 fix warning introduced from b341ff7 properly 2014-12-29 13:49:42 -05:00
Seven Du 763e6aa962 FS-7046 fix warning introduced from b341ff7 2014-12-24 08:08:04 +08:00
Jeff Lenk af6b23a124 FS-7046 fix some additional warnings 2014-12-22 15:12:22 -06:00