608 Commits

Author SHA1 Message Date
Mike Jerris
e1b3ee1efd FS-9652: improve sql sanitization 2016-11-11 11:27:35 -06:00
Chris Rienzo
120e326760 FS-9644 [mod_commands][core]
update hupall API to support multiple variables
       hupall [cause] [[var1] [val1]] [[var2] [val2]] ...

    added switch_core_session_hupall_matching_vars_ans() which will hang up all channels that match each variable(s) value
2016-10-18 15:08:07 -04:00
Seven Du
7dd872e9b8 FS-9575 #resolve [Add MRCP] 2016-09-27 16:41:04 -05:00
Anthony Minessale
c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00
Anthony Minessale
baccbea1f1 FS-9486 #resolve [uuid_drop_dtmf switch between tone replace and digit] 2016-09-08 15:10:14 -05:00
Anthony Minessale
48cec71c76 FS-9419 #resolve [Add event_channel_broadcast api] 2016-08-11 10:41:42 -05:00
Spencer Thomason
800655f774 FS-9184: Allow show calls to be filtered by accountcode 2016-05-20 11:32:24 -07:00
Anthony Minessale
46ebf3cea7 FS-6833 #resolve [Allow Freeswitch to initiate Late offer calls.] #comment Regression from addition of custom variables 2016-02-02 17:15:27 -06:00
Dmitriy N. Borisov
9cd86722e7 FS-8694 list_users performance issue update 2015-12-29 09:01:47 +03:00
Rob Wu
fabca41001 FS-8585: [mod_commands] group_call: expand {} and <> to [] for each dial string
Channel variables in dial strings can be set through <>, {} or [].
<foo=bar> applies to every channel.
{foo=bar} applies to every channel, excluding channels delimited by :_:.
[foo=bar] only applies to the channel that follows [foo=bar].

Before this patch, group_call looked up users in the directory and
replaced {} with []. This logic does not work if the user has more than
one dial string, e.g. if multiple-registrations is set to true, and more
than two devices register under the same user.

This patch fixes the issue by stripping <> and {}, and inserting the
dial string before each individual dial string for each user. The
semantics of the "local_clobber" variable and the '|', ',' and ':_:'
delimiters are fully supported.
2015-11-28 19:17:56 +01:00
Anthony Minessale
eea76c8856 FS-8130
Port video buffer to also support audio and remove original STFU jitter buffer
Add some more resilience to video packet loss
Add codec control mechanism for both call-specific debug and codec/call specfic params
Make opus function better in packet loss and latent situations
Use new codec control prams to make JB lookahead FEC optionally enabled or disabled mid-call
Add Param to allow JB lookahead to be enabled.
2015-09-14 13:30:08 -05:00
Anthony Minessale
2feae3fc69 FS-6833 #comment please test this branch 2015-09-01 16:31:23 -05:00
Mike Jerris
2e3e09cb38 FS-7966: fix more msvc 2015 build warnings. 2015-08-31 13:26:36 -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
Anthony Minessale
84ef99b55e FS-8049 #resolve [Add getenv FSAPI] 2015-08-25 17:26:38 -05: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
Dave Olszewski
9b3f870271 FS-7922 Add uuid_redirect API command
This provides the equivalent functionality of the dptools "redirect"
application as an api command
2015-07-30 13:26:05 -07:00
Michael Giagnocavo
ba9c44bbd0 FS-7885 Add getcputime command 2015-07-24 02:34:00 -06:00
Brian West
1b86c73034 Merge pull request #140 in FS/freeswitch from ~ARON45/freeswitch:FS-5945 to master
* commit '2cad5a6940bb76458e909a56c5e5e35e622467ed':
  more whitespace cleanup
  fixed indentation
  cleanup
  cond api return -ERR on all syntax errors
  FS-5945 - cond api improved
  FS-5945 - cond api escape special charactars
2015-07-02 09:45:27 -05:00
Anthony Minessale
3274853b00 FS-7750 #resolve 2015-07-01 12:54:51 -05:00
Davide Colombo
cfb7e3d1cd FS-7732 follow recording on other session
follow recording on other session
2015-06-29 16:21:24 +02:00
Michael Giagnocavo
f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06: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
abd6943cf5 FS-7500 just send refresh and not full reset on uuid_video_refresh 2015-05-28 12:47:33 -05:00
Anthony Minessale
4a76c0f8c6 FS-7499 second pass at adding TMMBR (WIP) 2015-05-28 12:47:31 -05:00
Anthony Minessale
a8a2c32ac3 FS-7499 FS-7500: combat black screen disease 2015-05-28 12:47:28 -05:00
Michael Jerris
b7e811a628 CID:1271537: error check for malformed json better 2015-05-28 12:47:25 -05:00
Michael Jerris
ead0e2ebd1 CID:1222597: silence incorrect coverity warning about out of bounds read 2015-05-28 12:47:25 -05:00
Michael Jerris
c61be91316 CID:1294463,1294540: clean up duplicate error checking code 2015-05-28 12:47:25 -05:00
Anthony Minessale
01fda5748c FS-7500: another round of trying to make things work 2015-05-28 12:46:48 -05:00
Anthony Minessale
609c02955f fix the thing the guy mentioned on irc 2015-02-21 00:49:18 -06:00
Anthony Minessale
59a9669485 prevent crash when calling mediaStats JSON function in certian circumstances 2015-01-13 21:49:41 -06:00
Aron Podrigal
2cad5a6940 more whitespace cleanup 2014-12-29 13:24:21 -05:00
Aron Podrigal
6be85bbef5 fixed indentation 2014-12-27 23:44:03 -05:00
Aron Podrigal
ff2729c370 cleanup 2014-12-27 23:10:43 -05:00
Aron Podrigal
3e11bf0d22 cond api return -ERR on all syntax errors 2014-12-25 10:34:37 -05:00
Aron Podrigal
625c95a5b1 FS-5945 - cond api improved 2014-12-24 21:22:23 -05:00
William King
0a0b9262b4 Build fix for gcc 4.9 fixing a variable set but not used error 2014-12-20 14:46:21 -08:00
Anthony Minessale
5fcff501b6 FS-7093 %FEATURE #resolve #comment added to master 2014-12-20 18:29:44 -06:00
Dmitriy N. Borisov
42ecb3390e list_users tipo correction 2014-12-19 11:04:54 +03:00
Aron Podrigal
ca2d2c9b66 FS-5945 - cond api escape special charactars 2014-12-15 14:23:33 -05:00
Markus von Arx
eaaf9468df FS-6897: uuid_send_info enhancement that allows setting the Content-Type of the SIP INFO message 2014-10-07 10:59:37 +02:00
Michael Jerris
0d1f5d09b3 add way to globally disable system commands by setting global var disable_system_api_commands=true 2014-10-03 12:17:33 -04:00
Steven Ayre
05ef18948d add uptime api to mod_commands 2014-08-12 14:06:15 +01:00
Travis Cross
03202e3017 Add fsctl command to summon reincarnation
If you start freeswitch with -reincarnate or -reincarnate-reexec, FS
will restart automatically in the event of an unexpected exit.

Currently, you can cause FS to immediately call exit(0) with `fsctl
shutdown now`, or you can have it call abort() with `fsctl crash`.
Which are both nice, but if you have reincarnation engaged, you really
might want FS to call exit([non-zero]) so the great supervisor
immediately breathes life back into your system.

This is now available via `fsctl shutdown reincarnate now`.
2014-06-10 22:39:27 +00:00
Michael Jerris
6a8002db79 CID:1024582 Logically dead code 2014-05-16 19:27:25 +00:00
Michael Jerris
21a5d166c6 CID:1024581 Logically dead code 2014-05-16 19:22:37 +00:00
Michael Jerris
c1f7887039 CID:1024580 Logically dead code, x will always be > 1 2014-05-16 19:19:31 +00:00
Michael Jerris
73c1e09269 CID:1024579 Logically dead code 2014-05-16 19:09:18 +00:00