5607 Commits

Author SHA1 Message Date
Michael Jerris
f929a9ccbf FS-7966: we still need to do declarations first until we fully switch to 2015 and change the flags on other builds to not error on code before declaration 2015-08-21 18:47:58 -04: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
Michael Jerris
58f1272490 FS-7955: [mod_sofia] fix crash caused by invalid contact when using event to send a notify message 2015-08-14 12:51:12 -05:00
Paul Cuttler
53c37d2385 Making mod_rtmp compatible with Adobe Media Server
Adobe Media Server connects differently to mod_rtmp than the way
Flash player connects. The RTMP publish handler rtmp_i_publish
message needs to match the RTMP specification, and a new initStream
handler is required.

This patch modifies the rtmp_i_publish handler to send an onStatus
message to Adobe Media Server that includes an object with "level",
"code" and "description" fields.

The initStream message is sent by Adobe Media Server to notify Freeswitch
of the stream ID for the publish stream. This cannot clash with the play
stream ID so the initStream handler can simply increment the next_streamid
field. The initStream message is undocumented in the RTMP specification.

The transaction ID for onStatus messages has been modified to 0 instead
of 1 to match with the RTMP specification.

FS-7924 #resolve
2015-08-14 06:06:43 +10:00
Vladimir
240bf74d3a FS-7728: fix windows build issues 2015-08-04 23:29:01 -05:00
Brian West
13b840e75c FS-7917 #resolve Fixed default config, original patch was correct but we really shouldn't be setting ext-*-ip settings for ipv6 profiles 2015-07-30 11:45:46 -05:00
Michael Jerris
351a8ca34c Revert "FS-7917 add check for ipv6 in sofia_glue_create_via"
This reverts commit 4c8bf297fb9c78fc59dc607c5c4fb221a873f731.

This behavior change was incorrect, sorry
2015-07-30 11:44:38 -04:00
Luis Azedo
4c8bf297fb FS-7917 add check for ipv6 in sofia_glue_create_via 2015-07-30 16:09:56 +01:00
Anthony Minessale
7644b6834f FS-7760 add some more params 2015-07-29 15:53:29 -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
2751039784 add dial-prefix and absolute-dial-string to the nightmare xml 2015-07-15 16:57:05 -05:00
Michael Jerris
e910e86bfb FS-7760: revise channel fetch on nightmare transfer 2015-07-15 16:28:29 -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
karl anderson
58043483cd FS-7773 [mod_sofia] transfer events #resolve 2015-07-10 19:46:10 +01:00
Mike Jerris
ae5ce2ec97 Merge pull request #330 in FS/freeswitch from ~MARKL/freeswitch-fs-7778:master to master
* commit '97394bd679ca39d630010449adf6fcef0d01466f':
  FS-7778 Fix ALTER TABLE statement to use single quotes.
2015-07-07 15:25:51 -05:00
Seven Du
3cec36f168 FS-7585 fix copyright copy and paste error 2015-07-07 08:12:18 +08:00
Mark Lipscombe
97394bd679 FS-7778 Fix ALTER TABLE statement to use single quotes.
sofia_glue.c tries to issue an SQL "ALTER TABLE" statement to add the
ping_status column to sip_registrations, but fails because the default
is incorrectly quoted (double quotes vs single quotes).
2015-07-06 12:10:08 -03:00
Brian West
f0417cdf57 FS-7760 test_pflag not test_flag 2015-07-03 16:35:52 -05:00
karl anderson
b2b9555d34 FS-7760 #resolve
added xml fetch for channels to externally support nightmare transfer
depends on channel-xml-fetch-on-nightmare-transfer profile param (default is disabled)
2015-07-03 19:28:17 +01:00
William King
20be305b1c Merge pull request #263 in FS/freeswitch from ~LAZEDO/freeswitch-fs-7463:FS-7463 to master
* commit 'e12608bd11c62de715c1d6eecf05a8fe8b8becb0':
  FS-7463 #resolve
2015-07-03 12:28:16 -05:00
Brian West
41067cc7b7 FS-7767 #resolve 2015-07-02 13:19:01 -05:00
Mike Jerris
ff9877586b Merge pull request #324 in FS/freeswitch from ~LAZEDO/freeswitch:feature/fs-7758 to master
* commit 'e336ca8c37806f105b3cc266d44eb1ae03d57052':
  FS-7758 #resolve
2015-07-02 12:00:43 -05:00
karl anderson
46d98d4a19 FS-7759 #resolve added a channel var to suppress setting the completed elsewhere cause 2015-07-02 17:02:47 +01:00
karl anderson
e336ca8c37 FS-7758 #resolve
emit an event if a loopback bowout occurs
2015-07-02 16:28:54 +01: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
Travis Cross
1d726c1d91 Fix docs on enabling cert CN/SAN validation
The correct incantations to enable certification common name / subject
alternative name verification, per our code, are `subjects_all`,
`subjects_in`, and `subjects_out` in a Sofia profile's
`tls-verify-policy`.  What we've had in our examples and documentation
for years are `all_subjects`, `in_subjects`, and `out_subjects`.

The result of this is that we've almost certainly confused people into
using the incorrect forms.  Those poor people will believe that they
are verifying the CN/SAN of the received host certificate against the
list in `tls-verify-in-subjects` when in fact they are not.

One clear issue in this case was that the incorrect forms failed to
have any effect without providing any warning or error.  This issue
could not have persisted if we had made more noise about incorrect
input.

Given how long this has been broken, it's tempting to alias the
incorrect forms to the correct ones.  However this would certainly
break many existing installations that have, because of this error,
never actually tested their setup with CN/SAN validation enabled.

In this commit, we fix the examples and documentation, and add an
error-level log output when unknown values are passed to
`tls-verify-policy`.

Thanks-to: Andrew Patrikalakis <anrp+freeswitch@anrp.net>
2015-06-17 17:10:29 +00: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
Anthony Minessale
9d40e1397d FS-7641 2015-06-12 15:59:02 -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
2e47abc9e6 FS-7602 regression from c9065a85b6ac92ef3318df2abe30395df1f3c99f (typo) 2015-06-09 15:58:46 -05:00
Brian
6bb8ee321a FS-7601 improve opus packet loss routines #resolve 2015-06-05 18:11:20 -05:00
Ryan Lantzer
9a6344c30f Updated SKINNY on-hook action to hang up all calls on a device, except those in a short list of call states (or perform a blind transfer).
Added a hook after completing the hangup operation to start ringing if there is an inbound call active on the device.

Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2015-06-05 17:36:06 -05:00
Mike Jerris
40254d322e Merge pull request #245 in FS/freeswitch from ~SAFAROV/freeswitch-mod-radius-cdr_improvement:FS-7311 to master
* commit 'd5cc4a1d87cee1c56b54403affd23feb86cead80':
  FS-7311: Updating display name is disabled when caller_id equal "_undef_"
2015-06-05 14:18:37 -05:00
Sergey Safarov
d5cc4a1d87 FS-7311: Updating display name is disabled when caller_id equal "_undef_" 2015-06-05 21:36:10 +03:00
Seven Du
1f25952008 FS-7585 add bandwidth settings to flash video 2015-06-04 23:33:00 +08:00
Ken Rice
f866313835 Merge pull request #271 in FS/freeswitch from ~SILIK0N/freeswitch:FS-7607 to master
* commit '02a0a2a06897cdd044ab254f8d7f3089af3df715':
  FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects.
2015-06-04 09:27:59 -05: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
Ken Rice
02a0a2a068 FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects. 2015-06-03 15:23:40 -05:00
Anthony Minessale
c9065a85b6 FS-7602 add some of 3b2d00f3e65061393da10a4ba286ac72cdb3c16e from verto to sip and refactor some code to keep sip working like verto 2015-06-02 21:20:03 -05:00
Seven Du
22cb3f708f FS-7585 increasing AMF buffer for larger picture 2015-06-03 06:01:03 +08:00
Mike Jerris
95c387315e Merge pull request #33 in FS/freeswitch from ~MOY/freeswitch:sip-watch-headers to master
* commit '3df55b9bb5325ed0f7273576264c5aa94a8a6810':
  Add sip_watched_headers variable to launch events when a SIP message contains a given SIP header
2015-06-02 11:19:05 -05:00
Moises Silva
3df55b9bb5 Add sip_watched_headers variable to launch events when a SIP message contains a given SIP header
FS-6801 #resolve
2015-06-02 00:47:18 -04:00
Mike Jerris
6323803353 Merge pull request #262 in FS/freeswitch from feature/FS-7587-add-ipv6-support-to-verto-websockets to master
* commit '3b2d00f3e65061393da10a4ba286ac72cdb3c16e':
  FS-7587 Add ipv6 support to Verto / Websockets
2015-06-01 14:19:40 -05:00
Luis Azedo
e12608bd11 FS-7463 #resolve
allow intercept of replaced call-id when processing the replaces header by providing a a-leg parameter in replaces header.
without this change one leg calls could not be picked because there is no bridge_uuid
2015-06-01 20:11:40 +01:00
Mike Jerris
641fc1f18e Merge pull request #169 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-7204:master to master
* commit '441dd9128862ce741a56a01acfa3e862949d1347':
  FS-7204, Allow to force a per-account send-message-query-on-register
2015-06-01 13:54:15 -05:00