11786 Commits

Author SHA1 Message Date
Travis Cross
12af80d6b2 Condense styling a bit 2014-04-12 05:06:51 +00:00
Travis Cross
538cdd378c Hide warning about sometimes initialized variable
The rc variable here was always initialized but the compiler couldn't
see that because of the lack of an unconditional else clause.
2014-04-12 05:02:09 +00:00
Travis Cross
3f8cf4a59d Fix memory leak in subscription handling
We were leaking one event (~539 bytes) for every subscribe packet
received with both an "event: as-feature-event" and an authorization
header.
2014-04-12 05:00:41 +00:00
James Le Cuirot
4bdb7129ba Ungetlib libmemcached
Tested with several libmemcached versions between 0.31 and
1.0.18. Unfortunately the API is extremely volatile and awkward to
use. Packaging scripts still need addressing.

FS-353
2014-04-11 22:55:36 +00:00
James Le Cuirot
23fe7f5c9f Add libyaml pkg-config LIBS to LIBADD not LDFLAGS
Per the automake manual these should go in LIBADD.

http://www.gnu.org/software/automake/manual/html_node/Program-and-Library-Variables.html

FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-04-11 22:53:14 +00:00
Anthony Minessale
38c6e89db0 remove SSML from mod_rss 2014-04-11 03:33:57 +05:00
Chris Rienzo
a86623972d mod_rayo: fixed input crash introduced in 2014-04-07 commit 2014-04-10 10:20:47 -04:00
Anthony Minessale
4178688b4a add switch_hashtable_insert_destructor so you can insert a pointer into a hash with a custom destructor and use it in spandsp to fix a leak on reloadxml with the tone_descriptor tables and fix a bunch of random tiny leaks etc 2014-04-09 23:26:47 +05:00
Travis Cross
1e273e514d Avoid playback on dead channels in voicemail
For years we've been generating spurious messages like:

  [WARNING] switch_ivr_play_say.c:348 Macro [voicemail_ack]: 'saved' did not match any patterns

This would happen when the caller hangs up during the playback of
certain prompts in the voicemail system where we weren't checking the
return value of vm_macro_get().  Looking closely at the log, it's
clear we were calling down into switch_ivr_phrase_macro() long after
the channel was gone.

The message above is also misleading -- switch_ivr_phrase_macro()
would have been able to find that pattern just fine, but it never
actually looked because the channel was gone.  We'll clean up that
message in a follow on commit.
2014-04-09 04:46:47 +00:00
Anthony Minessale
369bb55d15 remove unnecessary pool create 2014-04-09 03:18:21 +05:00
William King
711e49c46a Don't leak these 4 hash tables when mod_fifo is reloaded 2014-04-08 11:18:23 -07:00
William King
aae1954c07 FS-6442 --resolve 2014-04-08 10:36:36 -07:00
Chris Rienzo
264a12a4af mod_rayo: fix memory corruption in dial, input, output 2014-04-07 12:37:39 -04:00
Anthony Minessale
c98fb0bd0e send muted members as recvonly on RFC4575 data 2014-04-07 20:51:29 +05:00
William King
658d938754 Unused return value 2014-04-06 23:49:05 -07:00
Travis Cross
fb7fa3d66a Update gitignore 2014-04-05 07:57:05 +00:00
Travis Cross
c26343d0c9 Merge in upstream changes to my-basic
We can't use their new mb_gets() because they call exit(3) in the
event of a read error, which isn't what we want.
2014-04-05 06:48:02 +00:00
Travis Cross
8da4259539 Cleanup whitespace 2014-04-05 06:43:49 +00:00
Travis Cross
32c03b39d9 Replace gets(3) with fgets(3) in my-basic
gets(3) is going away; it's been removed by C11, and gcc now warns on
it, breaking the build.
2014-04-05 04:45:30 +00:00
Brian West
34b31f8f02 swig managed 2014-04-04 07:27:48 -05:00
Michael Jerris
5320075df7 FS-6429: --resolve check return values of fread and gets 2014-04-03 21:43:12 -04:00
Michael Jerris
98237f5962 fix mod_basic clang build warning, we don't need to declare var we don't use on this side of the ifdef 2014-04-03 19:35:43 -04:00
Brian West
19e3175518 FS-6422: --resolve obvious copy and paste error 2014-04-03 07:20:41 -05:00
Anthony Minessale
1ce92b3ae7 FS-6421 --resolve 2014-04-02 16:43:36 -05:00
Jeff Lenk
554abf3e0c vs2010 reswig 2014-04-01 18:13:07 -05:00
Anthony Minessale
7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Travis Cross
a78596221a Add uuid_ring_ready API command
We already had uuid_answer and uuid_pre_answer, so we might as well
add uuid_ring_ready.
2014-04-01 20:58:49 +00:00
Travis Cross
6234a94f41 Cleanup style for consistency 2014-04-01 20:54:44 +00:00
Travis Cross
a8dd56f2b3 Convert my_basic files to Unix newline format 2014-04-01 20:41:19 +00:00
Anthony Minessale
5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Michael Jerris
0cc3a17072 FS-6408: fix passing of CPPFLAGS to spandsp build 2014-04-01 13:28:22 -04:00
Ken Rice
6681176ce9 prevent a segfault in mod_basic if someone calls basic from CLI w/ no args 2014-04-01 08:57:15 -05:00
Anthony Minessale
e458fa2d5a allow execute with no args 2014-03-31 18:37:35 -05:00
Anthony Minessale
3a2736291e add mod_basic 2014-03-31 18:08:59 -05:00
Travis Cross
b9369f6d4e Remove stray executable bits 2014-03-31 20:38:09 +00:00
Anthony Minessale
c02a5e67b8 FS-6413 --resolve with this patch you will need to make sure the boxes have the clocks synced and both started inside the same occurence of the most recent new year. 2014-03-31 15:23:50 -05:00
Anthony Minessale
107c5eccc3 video refresh floor holder on conference join 2014-03-31 22:39:46 +05:00
Tamas Cseke
9b56dff275 Say zero in time measurement only if it is neccessary 2014-03-31 09:33:17 +02:00
William King
e0d9d7f0b2 FS-6410 Adding some log lines to mod_sonar so that it is more clear what is happening when the app is sending and detecting pings. 2014-03-29 19:08:24 -07:00
Jeff Lenk
7ed144d115 * Deprecate mod_spidermonkey windows part 1 2014-03-26 18:33:37 -05:00
Michael Jerris
d40615267e FS-353: better error reporting for missing lib, don't error on clean 2014-03-26 17:11:18 -04:00
Travis Cross
f9d065cda3 Use system libyaml for mod_yaml
FS-353
2014-03-26 19:27:22 +00:00
Travis Cross
5e3ba399c7 Use CPPFLAGS in mod_yaml 2014-03-26 19:27:21 +00:00
Michael Jerris
885fdbf28c hack harder 2014-03-26 14:49:59 -04:00
Travis Cross
b0bcc011ea Deprecate mod_spidermonkey
We consider mod_spidermonkey to be completely replaced by mod_v8 (and
more generally by mod_lua) at this point.  We've barely supported
mod_spidermonkey for years.  Everyone should stop using it.

We're keeping this around for awhile in case people are relying on C
extensions to mod_spidermonkey and need time to migrate.  This module
may or may not be part of a v1.4 release depending on whether we find
anyone cares.  It definitely will not be part of the next release
after v1.4.
2014-03-26 18:01:49 +00:00
Michael Jerris
310f2ec3d6 initialize var 2014-03-26 11:25:23 -04:00
Raymond Chandler
5cccc6270b seg-- 2014-03-25 23:31:16 -04:00
Raymond Chandler
0ddd151a22 FS-5845 more leaks found by mikej 2014-03-25 22:44:37 -04:00
Brian West
04de0f77d3 FS-6396 fix mod_silk builid on FreeBSD 2014-03-25 20:25:11 -05:00
Chris Rienzo
98bba8b57a mod_mongo: switched from C++ to latest C driver 2014-03-24 17:34:56 -04:00