Travis Cross
050a975d19
Add dependency from mod_rayo to mod_ssml
2013-09-10 15:35:11 +00:00
Travis Cross
44df6c46b3
Add lua script for proxying ZRTP SAS values to legacy phones
...
Ken is creating a bump-in-the-wire box for legacy IP phones and might
find this script useful.
2013-08-13 20:29:01 +00:00
Travis Cross
ab56b812fb
Merge some additions to doc/SubmittingPatches
...
Thanks-to: Mariusz Czułada <manieq.net@gmail.com >
2013-08-02 14:38:51 +00:00
Travis Cross
8fd514df6b
Tweak style and content of last commit
...
The directions here anticipate planned improvements to our JIRA bot to
allow issues to be resolved by placing the JIRA directives in the body
of the commit message.
2013-08-02 14:37:54 +00:00
Travis Cross
6a5595b049
Improve our .gitignore files
...
Avoid ignoring files actually in our tree, and ignore some generated
files that were not being ignored previously.
2013-07-27 03:41:11 +00:00
Travis Cross
5ca2276711
Remove autogenerated file from tree
...
This file is specifically ignored by our .gitignore. Brian added this
ignore on 2013-06-06 but neglected to remove the file. I've now
bulid-tested without the file to be sure that it is indeed generated
correctly and so can be removed safely.
2013-07-27 03:41:10 +00:00
Travis Cross
b9ff5799fe
Remove freeswitch.serial from fscomm/conf
...
freeswitch.serial is used by ZRTP as a ZID, so it should not be shared
between systems and definitely should not be distributed as a default
value by us.
2013-07-27 03:41:08 +00:00
Travis Cross
03dcbde8b4
debian: Add additional module files for mod_spidermonkey
...
Note that we don't actually support building mod_spidermonkey for
Debian at the moment.
FS-4552
2013-07-26 22:28:49 +00:00
Travis Cross
b35869da62
debian: Handle mod_managed .dll more idiomatically
2013-07-26 21:56:07 +00:00
Travis Cross
d0a9574fa9
debian: Include the .dll file for mod_managed
...
Note that we don't actually support building mod_managed at this time
for Debian.
FS-5317 --resolve
Thanks-to: Artur Kraev <ravenox@gmail.com >
2013-07-26 21:47:31 +00:00
Travis Cross
1ab16bbd92
Kill FS if -reincarnate parent dies unexpectedly
...
This only works on Linux.
2013-07-26 17:30:05 +00:00
Travis Cross
9959096559
Handle signals better with -reincarnate
...
If we receive SIGTERM or SIGILL we should propagate the signal to the
child FS process. As FS normally handles these signals, we need to
restore the handler before we refork.
FS may also add a handler for SIGCHLD; we need the default action
here instead for the parent.
2013-07-26 17:30:03 +00:00
Travis Cross
9fc3990e04
Add -reincarnate flag to FS
...
When FS is given the -reincarnate flag, FS will be automatically
restarted after any uncontrolled exit.
2013-07-26 17:30:01 +00:00
Travis Cross
b79932550f
Fix memset invocation in mod_skypopen
...
We were previously clearing a pointer's worth of memory rather than
clearing a full element.
This also fixes the build as gcc-4.8 catches this error.
2013-07-26 01:14:50 +00:00
Travis Cross
82f2ea07df
Add docs/SubmittingPatches to document our process
...
This document is intended to get new people started with how to create
and submit source code patches to us. It attempts to demonstrate our
workflow as well as some best practices.
2013-07-24 19:37:29 +00:00
Travis Cross
a4123ab896
Ignore test-driver files from autotools
2013-07-11 15:06:30 +00:00
Travis Cross
bb5e55ac6a
Ignore .deb files from e.g. mk-build-deps
2013-07-11 15:06:15 +00:00
Travis Cross
fa174ec3d8
Fix spacing
2013-07-03 16:07:41 +00:00
Travis Cross
02046950be
Fix uninitialized use of length variable
...
Bad things must have been happening when this was hit.
This was introduced in commit 5cb4cd9d9c
2013-07-03 16:05:07 +00:00
Travis Cross
87360a384d
Tweak such that control-modules.gen matches
2013-07-03 04:26:37 +00:00
Travis Cross
dfd647de22
Add mod_ssml to Debian packaging
2013-07-03 04:26:31 +00:00
Travis Cross
40b08d7f89
Add mod_rayo to debian packaging
2013-07-03 04:26:24 +00:00
Travis Cross
90683e3332
Check for config before starting
...
...so we can tell people what to do and where to look.
2013-06-16 14:21:44 +00:00
Travis Cross
46f4709ee6
Whitespace cleanup to previous commit
2013-06-07 06:59:38 +00:00
Travis Cross
74dcbe8240
Add missing newline at end of file
2013-06-06 19:01:17 +00:00
Travis Cross
1784663d35
Use --with-storagedir in Debian build
2013-06-06 17:34:03 +00:00
Travis Cross
f3d851d198
Add support for --with-storagedir to configure
...
This is needed for correctly setting the default storage directory for
Debian builds.
2013-06-06 17:34:03 +00:00
Travis Cross
d40f59e795
Set mod_voicemail to depend on mail-transport-agent
...
Without this dependency we might not end up with sendmail installed
which would be unnecessarily surprising when using mod_voicemail.
2013-06-03 09:29:52 +00:00
Travis Cross
505815c902
Avoid crashing FS after delivering a VM
...
When vm-storage-dir was set to an absolute path, FS would abort after
delivering a VM because we were trying to free(3) memory sitting in
the middle of a memory pool.
FS-5329
2013-06-03 09:29:51 +00:00
Travis Cross
9ae26ff50d
Have modules depend on a particular version of libfreeswitch1
...
At this point we never want someone running a module against a
different version of FS than the module was built for. It's also
conceivable that you could want to use the modules with libfreeswitch1
even if you weren't running FS itself.
2013-06-03 06:14:02 +00:00
Travis Cross
bc25079fce
Fix spelling in log message
2013-06-02 20:06:34 +00:00
Travis Cross
a82878f786
Unsigned values are never less than zero
2013-05-29 03:02:07 +00:00
Travis Cross
f07181e266
Avoid using psession uninitialized in mod_fsk
2013-05-29 02:59:05 +00:00
Travis Cross
26d5a6eb33
Remove redundant orig file purifying step
...
We kill these files with .gitattributes.
2013-05-28 23:52:46 +00:00
Travis Cross
0a50536aa8
Add generic mechanism for building non-DFSG packages
2013-05-28 23:52:41 +00:00
Travis Cross
aa7c4d1f75
debian: Update -meta-all to grab all packages
...
We now build unimrcp, portaudio, portaudio-stream, skypopen, b64, and
dahdi-codec, so they should be included in meta-all. Also refactor a
bit so we install all lang and mod_say packages as well.
2013-05-28 07:29:31 +00:00
Travis Cross
3c8db7c715
Avoid using memory after we free it
...
Without setting errmsg to NULL here, we'll try to print this freed
value again below if another error doesn't intercede.
2013-05-28 05:28:19 +00:00
Travis Cross
d7b139f3b4
Avoid dereferencing potential null value
2013-05-28 03:55:48 +00:00
Travis Cross
3217442d0e
Remove assignment without effect
2013-05-28 03:46:53 +00:00
Travis Cross
e887cecb5e
Avoid dereferencing potential null value
2013-05-28 03:41:44 +00:00
Travis Cross
2dea51ad58
Handle potential malloc failure better
2013-05-28 03:40:58 +00:00
Travis Cross
ef13a63447
Fix unlikely memory leak in ESL
2013-05-28 03:01:49 +00:00
Travis Cross
a5397e5980
Remove assignment without effect in fs_cli
2013-05-27 21:07:56 +00:00
Travis Cross
f00b77597f
Avoid dangling reference at end of fs_cli
...
Not that it really matters since we're returning to the OS momentarily
at that point anyway.
2013-05-27 21:07:52 +00:00
Travis Cross
5b1d1de1a7
Add common include paths for jni.h and jni_md.h
2013-05-27 16:19:24 +00:00
Travis Cross
f3541e00f4
Fix variable type in mod_nibblebill
2013-05-27 07:58:33 +00:00
Travis Cross
25d488a801
Work around error in pocketsphinx-0.7
...
fsg_search.c:263:2: error: non-void function 'fsg_search_reinit' should return a value [-Wreturn-type]
2013-05-27 07:40:00 +00:00
Travis Cross
b30dde34ec
Remove self-assignment without any effect
...
clang:
error: explicitly assigning a variable of type 'uint16_t' (aka 'unsigned short') to itself [-Werror,-Wself-assign]
2013-05-27 06:09:06 +00:00
Travis Cross
076a7706db
Remove extraneous parentheses in mod_say_pl
2013-05-26 12:22:51 +00:00
Travis Cross
c9b3909ac1
Add missing newline at end of mod_say_fa.c
2013-05-26 12:22:08 +00:00
Travis Cross
4ea2ae5d38
Remove extraneous parentheses
...
This resolves a clang warning:
error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
2013-05-26 12:19:19 +00:00
Travis Cross
9030549a4e
Add commit note about shell escaping
...
Disregard the supplemental commit text on
commit 04c3b913aa .
switch_util_quote_shell_arg() is fine.
2013-05-26 05:25:12 +00:00
Travis Cross
10bede7416
Fix typo
2013-05-26 04:55:36 +00:00
Travis Cross
065043ce67
Remove unused variable in mod_rtmp
...
Unused variables break the build with recent versions of gcc and
clang.
2013-05-26 04:53:16 +00:00
Travis Cross
04c3b913aa
Quote arguments to shell when sending email
...
Note that the function switch_util_quote_shell_arg is implemented
incorrectly for unix shells, so this is still not safe until that
function is fixed.
Reported-by: Nathan Neulinger <nneul@mst.edu >
FS-5450 --resolve
2013-05-26 01:27:16 +00:00
Travis Cross
8f10ff073a
Fix memory leaks in mod_tts_commandline
...
We were using both switch_util_quote_shell_arg and
switch_string_replace without freeing the results even though both
functions malloc.
2013-05-26 01:03:08 +00:00
Travis Cross
3dd2376475
Leave room for switch_escape_string to add a terminating null
...
Thanks-to: Nathan Neulinger <nneul@mst.edu >
FS-5448 --resolve
2013-05-25 23:28:55 +00:00
Travis Cross
ab641842f4
Fix comment spelling
...
Thanks-to: Mariusz Czułada <manieq.net@gmail.com >
2013-05-25 21:40:40 +00:00
Travis Cross
c09a261d58
Fix memory corruption in mod_erlang_event
...
Thanks-to: Alexandre Snarskii <snar@snar.spb.ru >
FS-5465 --resolve
2013-05-25 21:20:41 +00:00
Travis Cross
012003b5ff
Don't setup ZRTP without a session and channel
...
FS-5472 --resolve
2013-05-25 21:10:11 +00:00
Travis Cross
4448d6b743
debian: wheezy is the new stable
...
And jessie is the new testing.
The king is dead, long live the king!
2013-05-25 19:05:35 +00:00
Travis Cross
8c37db140e
Handle a failure of strerror_r
...
This fixes the build on gcc-4.7.3. The build was breaking with:
error: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Werror=unused-result]
2013-05-25 19:05:34 +00:00
Travis Cross
6d5018007b
Add missing text editor local variable blocks
2013-05-25 19:05:34 +00:00
Travis Cross
b755c8347b
Add mod_say_pl to debian build
2013-05-21 02:33:56 +00:00
Travis Cross
d2f3a3114e
Spelling fix
2013-05-21 02:00:43 +00:00
Travis Cross
7845e3244f
Add mod_translate to debian packaging
2013-04-23 10:29:31 +00:00
Travis Cross
8ae26362e4
Show CPPFLAGS from debian/rules
2013-04-23 10:25:29 +00:00
Travis Cross
b6ca76e443
Fix quoting issue in debian/rules
...
This amends commit f93c3f70bf
2013-04-23 10:13:01 +00:00
Travis Cross
f93c3f70bf
Set compiled-in storage_dir and certs_dir defaults for Debian
2013-04-21 16:44:43 +00:00
Travis Cross
f3dd5849b5
Fix debian lang-* recommends on sounds-*
...
Thanks to Richard Neese for pointing out the erroneous results.
2013-04-09 15:38:09 +00:00
Travis Cross
511b2fc49a
Add mod_b64 to debian packaging
...
Base64 in high definition!
2013-04-01 16:38:23 +00:00
Travis Cross
300306232a
Tighten suggested debian build constraints a bit
2013-03-29 22:13:26 +00:00
Travis Cross
c8df04fc4b
Allow setting compression level for dpkg-source
...
Apparently the Raspberry Pi blows up (out of memory) if you call
dpkg-source -z9 as it implicitly calls xz -9. Thanks to Ken Rice for
running headlong into this.
Also note that while xz takes -0, dpkg-source won't take -z0, so we
check for this and make sure we call dpkg-source correctly.
2013-03-21 21:00:27 +00:00
Travis Cross
3990289342
Build-depend on libasound2-dev for mod_portaudio
...
Ken thinks this may have been needed to get mod_portaudio to work for
him.
2013-03-20 18:43:50 +00:00
Travis Cross
c9a5a98c41
Enable build support for libzrtp on FreeBSD
...
FS-4262 --resolve
FS-5189 --resolve
2013-03-17 18:41:36 +00:00
Travis Cross
e9e5f00de7
Enable automatic build support on FreeBSD
...
Thanks-to: <royj@yandex.ru >
2013-03-17 18:40:37 +00:00
Travis Cross
950a7b7a9a
Make sure HAVE_DOXYGEN is defined
...
Thanks-to: <royj@yandex.ru >
2013-03-17 18:40:28 +00:00
Travis Cross
a4b8a73989
Refactor doxygen check code
2013-03-17 18:40:21 +00:00
Travis Cross
ee74254409
Improve instructions for Debian util.sh build
...
These instructions comprise everything needed to build the Debian
packages from a virgin Debian image.
2013-03-11 17:10:52 +00:00
Travis Cross
8bd098d59e
Merge recent libzrtp autotools changes
2013-03-04 17:28:19 +00:00
Travis Cross
ce365948f4
Avoid using AM_CONF_IF
...
Apparently this is a fairly recent feature of automake and is not
present on at least CentOS5.
2013-03-04 17:24:24 +00:00
Travis Cross
9d953e2973
Cleanup whitespace
2013-03-04 17:24:16 +00:00
Travis Cross
a3b9a404a9
Correct spelling in comment
2013-03-04 17:24:05 +00:00
Travis Cross
a3786d528f
Add mod_sndfile to debian freeswitch-meta-default
...
FS-5109 --resolve
2013-02-27 05:48:19 +00:00
Travis Cross
89980756c4
Merge libzrtp fixes and improvements
...
This brings FS's libzrtp up to date with upstream with the exception
of the changes to the cache API, the new SQLite cache backend, and
SDES support.
In particular, this merge brings in support for elliptic curve (ECC)
algorithms.
2013-02-11 16:44:19 +00:00
Travis Cross
e5a1b54e9e
Adjust build for libzrtp changes
...
libzrtp now builds from its root directory rather from projects/gnu.
2013-02-11 16:42:10 +00:00
Travis Cross
b03636f0cf
Always build with ECC support
2013-02-11 16:42:10 +00:00
Travis Cross
8843819ce5
Add back the elliptic curve (ECC) files
...
Signed-off-by: Travis Cross <tc@traviscross.com >
Signed-off-by: Philip Zimmermann <prz@mit.edu >
2013-02-11 16:42:08 +00:00
Travis Cross
fafd8f337c
Optimize -O2
2013-02-11 16:42:08 +00:00
Travis Cross
b3cfc73e13
Include debugging symbols
2013-02-11 16:42:07 +00:00
Travis Cross
25ca19218b
Target C99
2013-02-11 16:42:07 +00:00
Travis Cross
dcf7fff0f4
Set default CFLAGS to catch more issues
2013-02-11 16:42:06 +00:00
Travis Cross
e09a6a3579
Make libzrtp build non-recursive
...
This eliminates the recursive makefiles for libzrtp (we still
recurse to build bnlib). Object files, library files, and
executables (including tests) are now produced in the root
directory.
2013-02-11 16:42:05 +00:00
Travis Cross
49346a57f4
Reduce indirection in makefiles
2013-02-11 16:42:04 +00:00
Travis Cross
b7fd94a53e
Fix build of cmockery
...
cmockery.h was trying to redefine uintptr_t, but this is already
defined in stdint.h.
2013-02-11 16:41:55 +00:00
Travis Cross
a7286bff1a
Improve .gitignore
2013-02-11 16:41:45 +00:00
Travis Cross
fc40475037
Build from the root directory
...
Move all the GNU build files to the root directory so that we look
like a normal *NIX-centric project.
Thanks to Viktor Krikrun for an initial patch here. For this commit,
I ended up redoing the move from scratch to separate out this move
from other changes.
2013-02-11 16:41:43 +00:00
Travis Cross
8ae24a7dfb
Build portaudio modules for Debian sid and wheezy
...
These build as of FS-4265 being fixed.
2013-02-10 08:46:26 +00:00
Travis Cross
79a5709362
Add debian support for installing languages
...
Languages are installed at /usr/share/freeswitch/lang so that they can
be referred to by the user's configuration in /etc/freeswitch. As a
Debian package user isn't going to have access to `make vm-sync` these
files need to be readily available somewhere.
2013-02-10 08:28:51 +00:00
Travis Cross
f15ecbb8af
Use -g3 rather than -ggdb3 for debian
...
On a GNU/Linux system -g3 and -ggdb3 should produce the same result
under gcc, but clang only recognizes -g3.
2013-02-10 06:20:46 +00:00