Commit Graph

28131 Commits

Author SHA1 Message Date
Seven Du 1ed290e930 follow commit 0bec209a, we should still allow NULL arg 2015-01-08 11:40:22 +08:00
Michael Jerris 6afc2b5a2e FS-6688: #resolve fix resubscribe through proxy with record route when the resub does not have a record route and the route has uri params 2015-01-07 17:41:19 -05:00
Mike Jerris 91758c6334 Merge pull request #157 in FS/freeswitch from bugfix/FS-7122-several-libs-do-not-have-the-subdirs to master
* commit '16f7177c3d9ac4c3932d45e125498a1b5495dce6':
  resolve an automake warning about subdirs on latest automake
2015-01-07 13:37:09 -06:00
William King 16f7177c3d resolve an automake warning about subdirs on latest automake
The file 'libs/sofia-sip/s2check/exit77.c' was moved in order to
silence the warning and to keep the build working. There might be a
build problem that results from this file move, but after serveral
build tests I have not found one. The contents of the file are
specifically for the make check target, so I believe it would be
highly unlikely to cause problems with any production feature.

FS-7122 #resolve
2015-01-07 11:30:41 -08:00
Mike Jerris 10c961e65e Merge pull request #155 in FS/freeswitch from bugfix/FS-7122-several-libs-do-not-have-the-subdirs to master
* commit '51f2442a9e3e3478b38bfab882c7cfe4bfc37d92':
  resolve an automake warning about subdirs on latest automake
2015-01-07 12:16:29 -06:00
Anthony Minessale fe305074f1 escape pattern unless it's prefixed with ~ 2015-01-07 17:30:05 -06:00
Anthony Minessale 19a0a0fb00 sofia rebuild 2015-01-07 17:18:21 -06: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
William King 51f2442a9e resolve an automake warning about subdirs on latest automake
Latest automake will detect then warn if the Makefile uses source
files that are in subdirectories, but the subdirs option is not
set. In the FreeSWITCH build system the current expected behavior is
to expect the subdirs option to be enabled.

FS-7122 #resolve
2015-01-07 10:04:29 -08:00
Seven Du 23c1829382 FS-7127 #comment fix regression from a80c739, thanks Mike
The second hunk in this patch isn't right.  In the past,
if tmp was null, it would not pass the if.
2015-01-07 15:44:33 +08:00
Anthony Minessale 7c0c3ab8a6 sofia rebuild 2015-01-07 02:12:48 -06:00
Anthony Minessale 6c1bc0e2f6 sync ws code 2015-01-07 02:12:29 -06:00
Anthony Minessale b170e9e9f5 update minified js 2015-01-06 23:34:29 -06:00
Anthony Minessale b79a7e1851 vid screen share placeholder --args --enable-usermedia-screen-capturing --usermedia-screen-capturing 2015-01-06 23:33:42 -06:00
Anthony Minessale 9ca115cf05 this is why we can't have nice things.... C'mon chrome and mozilla its not that hard to both do the same spec 2015-01-06 23:32:09 -06:00
Anthony Minessale 41bfc18a10 add some stuff to verto for introp 2015-01-06 23:31:48 -06:00
Anthony Minessale 94bb4606e3 fixes for recent firefox changes 2015-01-06 23:31:26 -06:00
Anthony Minessale 66c425c09b add utils 2015-01-06 21:09:55 -06:00
Simon Ditner 85b8631d62 Add conference member data to floor event
Between v1.2 and v1.4, member data was factored out. This makes it so
that one can not determine who the originator of a floor change event
is.

With this change, the meta data related to the conference member whom
initiated the floor change event is added to the event.

See FS-7136
2015-01-06 12:43:16 -05:00
Anthony Minessale II 25404c121e Merge pull request #153 in FS/freeswitch from ~JONHEIER/freeswitch-fs-7137:master to master
* commit '165f54216c47a5343ac0c7a6ac62fd6a9de57b5f':
  mod_sofia: Set sip_to_tag on ringing indication for inbound channels.
2015-01-06 10:32:21 -06:00
Anthony Minessale c460c00b55 FS-7134 #resolve 2015-01-06 16:29:38 -06:00
Jon Bergli Heier 165f54216c mod_sofia: Set sip_to_tag on ringing indication for inbound channels.
When bridging a call, the to-tag used in the outgoing 180 Ringing
message for the inbound channel is unavailable until the channel has
been answered. For the outgoing channel this value is already available
through the sip_to_tag variable via the event socket.

This is solved this by setting sip_to_tag to the local leg's tag when
receiving a ringing indication for inbound channels. This will also make
the variable available in the CHANNEL_PROGRESS event through event
socket.

FS-7137 #resolve
2015-01-06 17:20:22 +01:00
Anthony Minessale f48ec61d54 FS-7132 #resolve 2015-01-06 03:19:16 -06:00
Humberto Diógenes ece5cd52db FS-7088 #resolve Set flag to enable core dump from non-root users.
When FreeSWITCH is running as a non-privileged user, we need to enable
PR_SET_DUMPABLE for it to be able to generate core dumps.

Instead of a generic __linux__ check, there's a new configure.ac flag
to check directly for prctl.h, which could also be used in other
places in the code.
2015-01-05 21:06:29 -03:00
Brian West 825121843f tweak cdquality conference defaults 2015-01-05 16:41:13 -06:00
Brian West 79df8bafa6 Auto update .bashrc if hostname contains freeswitch.org 2015-01-05 13:09:25 -06:00
Brian West 4512dbc909 fix multi screen bash history issues 2015-01-05 12:48:43 -06:00
Travis Cross 2a05f8c39c Drop limit on stack size via systemd
Setting the 240k hard limit here is too aggressive and causes FS to
crash on startup.
2015-01-05 07:11:40 +00:00
Dušan Dragić 959b07c06f FS-7129 fs_cli: add toggle mode to function keys 2015-01-04 00:29:38 +01:00
Dušan Dragić 2406abdb76 FS-7128 fs_cli: ignore duplicate lines in history 2015-01-03 23:46:19 +01:00
Dušan Dragić 1c16d5d8b0 FS-7121 change switch_events_match() to use strcmp
Use strcmp() in place of strstr() so switch_events_match() matches
only full event subclass name.
2015-01-03 22:56:19 +01: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 f0ec19315a FS-7127 #comment update README again 2015-01-03 09:31:30 +08:00
Seven Du 7a517eecd8 FS-7127 #comment update README and sync re-generate verto-min 2015-01-03 09:24:59 +08:00
Seven Du a80c739409 FS-7127 #comment follow jshint advices 2015-01-03 09:24:59 +08:00
Seven Du 0db3b1e344 FS-7127 #comment add grunt 2015-01-03 09:24:59 +08:00
Brian West 1965b3b18d FS-7106 #resolve Fix concurrency issue 2014-12-30 09:06:32 -06: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
Brian West 65631ed36b Revert FS-7004 pending updated fixed for that issue from the original author. 2014-12-29 10:02:33 -06:00
William King b368a75593 Fixing a typo, and updating the weekly conference call link in the SubmittingPatches doc 2014-12-27 18:49:55 -08:00
Travis Cross 750b1dd807 Allow streaming binary data from mod_memcache
Previously data returned from `memcache get` would be truncated at the
first NULL byte.

By using raw_write_function here to stream the returned memcache
value, we allow mod_memcache to be used for audio and other arbitrary
binary data.

Dave has a format module planned that relies on this.

Thanks-to: Dave Olszewski <dolszewski@marchex.com>

FS-7114 #resolve
2014-12-28 00:42:01 +00:00
Travis Cross ffef746dcb Add .clang-format rules
ClangFormat is an attempt to build something like gofmt for C.

ref: http://clang.llvm.org/docs/ClangFormat.html
ref: http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2014-12-26 17:22:20 +00:00
Seven Du 0a66db6f12 FS-7111 #resolve please review 2014-12-26 13:28:11 +08:00
Travis Cross bca7216fdd Run dos2unix on mod_expr HTML files 2014-12-25 10:38:10 +00:00
Travis Cross 65e678ba1d Fix mod_expr `clamp` function
The clamp(v,a,b) function wraps v around the interval [a,b).

However prior to this commit, `clamp` was ignoring the third argument
and using the second argument again in its place.  This resulted in a
division by zero.  Hence `clamp` didn't work at all.

Even if the arguments were treated correctly, `clamp` incorrectly
multiplied rather than added whenever v < a.  This would have produced
bogus results.  (Thanks to Shona McNeill for pointing this out.)

Note that as implemented, `clamp` is undefined for b >= a.

These errors are present in the last upstream C version, v2.7.
They've been corrected in the C++ version that upstream now maintains
instead.

Thanks-to: Shona McNeill <prufrax@googlemail.com>

FS-7070 #resolve
2014-12-25 10:18:31 +00:00
Travis Cross d88bae1a62 Support optional debian parallel builds
With this commit we allow getting `make -jN` behavior by setting
`parallel=N` in `DEB_BUILD_OPTIONS`.  Setting `parallel=` will result
in `make -j` being run (i.e. no limit on the number of jobs).  The
default is to run one job at a time; this is still the safest bet when
building all modules.

Thanks to Peter Wu for suggesting a different way to do this.

ref: https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
2014-12-25 07:13:17 +00:00
Travis Cross 430433a6d7 Improve error message 2014-12-25 04:19:05 +00:00
Travis Cross 0330b6fa6d Adjust code style of recent changes 2014-12-25 04:01:10 +00:00