]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
12 years agoAdd mod_say_pl to debian build
Travis Cross [Tue, 21 May 2013 02:33:56 +0000 (02:33 +0000)] 
Add mod_say_pl to debian build

12 years agoDo not make mod_say_pl by default
Mariusz Czułada [Fri, 26 Apr 2013 08:10:58 +0000 (10:10 +0200)] 
Do not make mod_say_pl by default

12 years agoInitial version of mod_say_pl
Mariusz Czułada [Thu, 25 Apr 2013 22:17:50 +0000 (00:17 +0200)] 
Initial version of mod_say_pl

12 years agoInitial version of mod_say_pl
Mariusz Czułada [Thu, 25 Apr 2013 22:16:49 +0000 (00:16 +0200)] 
Initial version of mod_say_pl

12 years agoUse --with-storagedir in Debian build
Travis Cross [Wed, 8 May 2013 17:35:23 +0000 (17:35 +0000)] 
Use --with-storagedir in Debian build

12 years agoAdd support for --with-storagedir to configure
Travis Cross [Wed, 8 May 2013 17:30:02 +0000 (17:30 +0000)] 
Add support for --with-storagedir to configure

This is needed for correctly setting the default storage directory for
Debian builds.

12 years agoignore this
Brian West [Thu, 6 Jun 2013 15:27:00 +0000 (10:27 -0500)] 
ignore this

12 years agodon't need this change revert
Anthony Minessale [Wed, 5 Jun 2013 16:21:38 +0000 (11:21 -0500)] 
don't need this change revert

12 years agoadd some device-state mechinism to FS to allow tracking of device-specific states...
Anthony Minessale [Wed, 5 Jun 2013 16:19:44 +0000 (11:19 -0500)] 
add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device

12 years agoUp this buffer to prevent boxes from locking up if they receive more than 1000 bytes.
Brian West [Tue, 4 Jun 2013 22:09:33 +0000 (17:09 -0500)] 
Up this buffer to prevent boxes from locking up if they receive more than 1000 bytes.

12 years agoSet mod_voicemail to depend on mail-transport-agent
Travis Cross [Mon, 3 Jun 2013 08:59:33 +0000 (08:59 +0000)] 
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.

12 years agoAvoid crashing FS after delivering a VM
Travis Cross [Mon, 3 Jun 2013 08:56:38 +0000 (08:56 +0000)] 
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

12 years agoHave modules depend on a particular version of libfreeswitch1
Travis Cross [Mon, 3 Jun 2013 06:13:35 +0000 (06:13 +0000)] 
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.

12 years agoFS-5314 --resolve
Jeff Lenk [Wed, 17 Apr 2013 14:21:14 +0000 (09:21 -0500)] 
FS-5314 --resolve
(cherry picked from commit 40e33572b34e777deca8629bee1dc0cc3143e0ea)

12 years agoftmod_libpri: Fix channel iterator memory leak
Stefan Knoblich [Sat, 1 Jun 2013 19:09:48 +0000 (21:09 +0200)] 
ftmod_libpri: Fix channel iterator memory leak

Keep the original iterator around to be able to actually free it
after use.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
12 years agoftmod_libpri: Fix possible NULL-ptr dereference crash in on_restart(_ack)()
Stefan Knoblich [Tue, 21 May 2013 15:42:24 +0000 (17:42 +0200)] 
ftmod_libpri: Fix possible NULL-ptr dereference crash in on_restart(_ack)()

Catch single channel RESTART/RESTART ACK events for non-B-channels,
that would lead to a NULL pointer dereference, because those do not have
per-channel private data (chan->call_data = chan_priv == NULL).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
12 years agoFS-5488 --resolve
Anthony Minessale [Fri, 31 May 2013 19:45:47 +0000 (14:45 -0500)] 
FS-5488 --resolve

12 years agoFS-5449: apply correct quoting, got older version of patch accidentally
Nathan Neulinger [Fri, 31 May 2013 21:31:27 +0000 (16:31 -0500)] 
FS-5449: apply correct quoting, got older version of patch accidentally

12 years agoFS-5449: --resolve add a mod_commands function to use the shell escape function and...
Nathan Neulinger [Fri, 31 May 2013 21:25:08 +0000 (16:25 -0500)] 
FS-5449: --resolve add a mod_commands function to use the shell escape function and update the existing function to use correct escaping

    adds a pool based implementation of the switch_util_quote_shell_arg function and changes existing function to be a wrapper around the pool based one

12 years agoFS-5488 --resolve
Anthony Minessale [Fri, 31 May 2013 18:14:09 +0000 (13:14 -0500)] 
FS-5488 --resolve

12 years agoRemove redundant orig file purifying step
Travis Cross [Tue, 28 May 2013 22:48:33 +0000 (22:48 +0000)] 
Remove redundant orig file purifying step

We kill these files with .gitattributes.

12 years agoAdd generic mechanism for building non-DFSG packages
Travis Cross [Tue, 28 May 2013 21:58:36 +0000 (21:58 +0000)] 
Add generic mechanism for building non-DFSG packages

12 years agodebian: Update -meta-all to grab all packages
Travis Cross [Mon, 27 May 2013 04:47:45 +0000 (04:47 +0000)] 
debian: Update -meta-all to grab all packages

We now build unimrcp, portaudio, portaudio-stream, skypopen, 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.

12 years agoFix typo
Travis Cross [Sun, 26 May 2013 04:55:36 +0000 (04:55 +0000)] 
Fix typo

12 years agodebian: wheezy is the new stable
Travis Cross [Sat, 25 May 2013 09:52:01 +0000 (09:52 +0000)] 
debian: wheezy is the new stable

And jessie is the new testing.

The king is dead, long live the king!

12 years agoShow CPPFLAGS from debian/rules
Travis Cross [Tue, 23 Apr 2013 10:25:29 +0000 (10:25 +0000)] 
Show CPPFLAGS from debian/rules

12 years agoFix quoting issue in debian/rules
Travis Cross [Tue, 23 Apr 2013 10:00:49 +0000 (10:00 +0000)] 
Fix quoting issue in debian/rules

This amends commit f93c3f70bfcffa4ac83f1f4e840691371b304722

12 years agoSet compiled-in storage_dir and certs_dir defaults for Debian
Travis Cross [Sun, 21 Apr 2013 15:52:30 +0000 (15:52 +0000)] 
Set compiled-in storage_dir and certs_dir defaults for Debian

12 years agoFix debian lang-* recommends on sounds-*
Travis Cross [Tue, 9 Apr 2013 15:37:10 +0000 (15:37 +0000)] 
Fix debian lang-* recommends on sounds-*

Thanks to Richard Neese for pointing out the erroneous results.

12 years agoChange to correct prompt on outgoing call, eliminate UNDEFINED! message
Nathan Neulinger [Thu, 30 May 2013 17:49:59 +0000 (12:49 -0500)] 
Change to correct prompt on outgoing call, eliminate UNDEFINED! message

12 years agoAllow skinny speed dials to work when already off-hook
Nathan Neulinger [Thu, 30 May 2013 17:15:20 +0000 (12:15 -0500)] 
Allow skinny speed dials to work when already off-hook

12 years agoFS-5431: --resolve fix socket creation loop for mod_skinny to avoid segfault
Nathan Neulinger [Thu, 23 May 2013 13:13:44 +0000 (08:13 -0500)] 
FS-5431: --resolve fix socket creation loop for mod_skinny to avoid segfault

12 years agoFS-5429: --resolve add minimal idivert support for skinny
Nathan Neulinger [Wed, 22 May 2013 14:58:28 +0000 (09:58 -0500)] 
FS-5429: --resolve add minimal idivert support for skinny

12 years agoFS-5379: --resolve fix skinny phone codec agreement issues due to incorrect hardwired...
Nathan Neulinger [Wed, 22 May 2013 14:27:09 +0000 (09:27 -0500)] 
FS-5379: --resolve fix skinny phone codec agreement issues due to incorrect hardwired ptime, update field names for future coding to be more descriptive

12 years agoFS-5225: --resolve add ability to dial by pressing line button
Nathan Neulinger [Wed, 22 May 2013 14:17:41 +0000 (09:17 -0500)] 
FS-5225: --resolve add ability to dial by pressing line button

12 years agoFS-5267: --resolve avoid null deref if sessions missing
Nathan Neulinger [Wed, 22 May 2013 14:12:46 +0000 (09:12 -0500)] 
FS-5267: --resolve avoid null deref if sessions missing

12 years agoAdd IPs to mod_skinny recv/send event messages
Mathieu Parent [Sat, 6 Apr 2013 12:44:11 +0000 (14:44 +0200)] 
Add IPs to mod_skinny recv/send event messages

FS-5268 --resolve
thanks to Nathan Neulinger

12 years agoDon't pretend we support skinny-wait timeout (See #FS 477)
Mathieu Parent [Wed, 3 Apr 2013 18:55:27 +0000 (20:55 +0200)] 
Don't pretend we support skinny-wait timeout (See #FS 477)

12 years agoDon't create a new session when pressing speeddial
Mathieu Parent [Wed, 3 Apr 2013 18:34:55 +0000 (20:34 +0200)] 
Don't create a new session when pressing speeddial

Fixes #FS-5259 (Thanks to Nathan Neulinger for the patch)

12 years ago add kirk wireless servers to safe as they do not do rport
Brian West [Fri, 31 May 2013 16:53:50 +0000 (11:53 -0500)] 
 add kirk wireless servers to safe as they do not do rport

12 years agoFixed a weakness in error UDPTL lost packet recovery. Hopefully this addresses
Steve Underwood [Mon, 20 May 2013 03:30:11 +0000 (11:30 +0800)] 
Fixed a weakness in error UDPTL lost packet recovery. Hopefully this addresses
FS5202.

12 years agoSwap this
Brian West [Fri, 31 May 2013 14:15:45 +0000 (09:15 -0500)] 
Swap this

12 years agoUnsigned values are never less than zero
Travis Cross [Sun, 26 May 2013 10:57:07 +0000 (10:57 +0000)] 
Unsigned values are never less than zero

12 years agoAvoid using psession uninitialized in mod_fsk
Travis Cross [Sun, 26 May 2013 09:54:39 +0000 (09:54 +0000)] 
Avoid using psession uninitialized in mod_fsk

12 years agoAvoid using memory after we free it
Travis Cross [Tue, 28 May 2013 05:28:19 +0000 (05:28 +0000)] 
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.

12 years agoAvoid dereferencing potential null value
Travis Cross [Tue, 28 May 2013 03:55:48 +0000 (03:55 +0000)] 
Avoid dereferencing potential null value

12 years agoRemove assignment without effect
Travis Cross [Tue, 28 May 2013 03:46:53 +0000 (03:46 +0000)] 
Remove assignment without effect

12 years agoAvoid dereferencing potential null value
Travis Cross [Tue, 28 May 2013 03:41:44 +0000 (03:41 +0000)] 
Avoid dereferencing potential null value

12 years agoHandle potential malloc failure better
Travis Cross [Tue, 28 May 2013 03:40:58 +0000 (03:40 +0000)] 
Handle potential malloc failure better

12 years agoAdd missing text editor local variable blocks
Travis Cross [Sat, 25 May 2013 09:47:12 +0000 (09:47 +0000)] 
Add missing text editor local variable blocks

12 years agoFix unlikely memory leak in ESL
Travis Cross [Tue, 28 May 2013 03:01:49 +0000 (03:01 +0000)] 
Fix unlikely memory leak in ESL

12 years agoRemove assignment without effect in fs_cli
Travis Cross [Mon, 27 May 2013 20:47:22 +0000 (20:47 +0000)] 
Remove assignment without effect in fs_cli

12 years agoAvoid dangling reference at end of fs_cli
Travis Cross [Mon, 27 May 2013 20:47:04 +0000 (20:47 +0000)] 
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.

12 years agoAdd common include paths for jni.h and jni_md.h
Travis Cross [Sun, 26 May 2013 10:53:31 +0000 (10:53 +0000)] 
Add common include paths for jni.h and jni_md.h

12 years agoFS-5479 --resolve
Jeff Lenk [Mon, 27 May 2013 14:21:43 +0000 (09:21 -0500)] 
FS-5479 --resolve

12 years agofix unused parameter warning on windows
Jeff Lenk [Mon, 27 May 2013 14:18:56 +0000 (09:18 -0500)] 
fix unused parameter warning on windows

12 years agoFix variable type in mod_nibblebill
Travis Cross [Sun, 26 May 2013 11:16:58 +0000 (11:16 +0000)] 
Fix variable type in mod_nibblebill

12 years agoWork around error in pocketsphinx-0.7
Travis Cross [Sun, 26 May 2013 11:25:08 +0000 (11:25 +0000)] 
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]

12 years agoRemove self-assignment without any effect
Travis Cross [Sun, 26 May 2013 09:25:29 +0000 (09:25 +0000)] 
Remove self-assignment without any effect

clang:

  error: explicitly assigning a variable of type 'uint16_t' (aka 'unsigned short') to itself [-Werror,-Wself-assign]

12 years agoAdd missing newline at end of mod_say_fa.c
Travis Cross [Sun, 26 May 2013 11:28:06 +0000 (11:28 +0000)] 
Add missing newline at end of mod_say_fa.c

12 years agoFS-5157 patch accepted
Mariusz Czułada [Tue, 28 May 2013 22:19:49 +0000 (00:19 +0200)] 
FS-5157 patch accepted

12 years agolog auto adjust ip and port separate so it doesn't get clobbered on hold/update events
Brian West [Tue, 28 May 2013 21:26:05 +0000 (16:26 -0500)] 
log auto adjust ip and port separate so it doesn't get clobbered on hold/update events

12 years agoFS-5480 --resolve
Anthony Minessale [Tue, 28 May 2013 13:17:44 +0000 (08:17 -0500)] 
FS-5480 --resolve

12 years agoRemove unused variable in mod_rtmp
Travis Cross [Sun, 26 May 2013 04:53:16 +0000 (04:53 +0000)] 
Remove unused variable in mod_rtmp

Unused variables break the build with recent versions of gcc and
clang.

12 years agoAdd commit note about shell escaping
Travis Cross [Sun, 26 May 2013 05:25:12 +0000 (05:25 +0000)] 
Add commit note about shell escaping

Disregard the supplemental commit text on
commit a744b202fd0260631d91a9e53672819b102feb48.

switch_util_quote_shell_arg() is fine.

12 years agoQuote arguments to shell when sending email
Travis Cross [Sun, 26 May 2013 01:27:16 +0000 (01:27 +0000)] 
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

12 years agoFix memory leaks in mod_tts_commandline
Travis Cross [Sun, 26 May 2013 01:03:08 +0000 (01:03 +0000)] 
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.

12 years agoLeave room for switch_escape_string to add a terminating null
Travis Cross [Sat, 25 May 2013 23:28:55 +0000 (23:28 +0000)] 
Leave room for switch_escape_string to add a terminating null

Thanks-to: Nathan Neulinger <nneul@mst.edu>
FS-5448 --resolve

12 years agoFix comment spelling
Travis Cross [Sat, 25 May 2013 21:40:13 +0000 (21:40 +0000)] 
Fix comment spelling

Thanks-to: Mariusz Czułada <manieq.net@gmail.com>
12 years agoFix memory corruption in mod_erlang_event
Travis Cross [Sat, 25 May 2013 21:20:41 +0000 (21:20 +0000)] 
Fix memory corruption in mod_erlang_event

Thanks-to: Alexandre Snarskii <snar@snar.spb.ru>
FS-5465 --resolve

12 years agoDon't setup ZRTP without a session and channel
Travis Cross [Sat, 25 May 2013 20:53:52 +0000 (20:53 +0000)] 
Don't setup ZRTP without a session and channel

FS-5472 --resolve

12 years agoHandle a failure of strerror_r
Travis Cross [Sat, 25 May 2013 09:49:32 +0000 (09:49 +0000)] 
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]

12 years agoFix a possible deadlock scenario in the impossible scenario from the last patch.
William King [Sat, 25 May 2013 18:06:01 +0000 (11:06 -0700)] 
Fix a possible deadlock scenario in the impossible scenario from the last patch.

12 years agoRedundant code. The if/else block makes more sense than the equivalent in two separat...
William King [Sat, 25 May 2013 14:46:47 +0000 (07:46 -0700)] 
Redundant code. The if/else block makes more sense than the equivalent in two separate if's.

12 years agoBetter to not pass tmp_socket to setsockopt if there was an error here creating the...
William King [Sat, 25 May 2013 14:36:43 +0000 (07:36 -0700)] 
Better to not pass tmp_socket to setsockopt if there was an error here creating the socket.

12 years agoIt's been missing a break there for ~4 years and instead using the 8k max_ms values...
William King [Sat, 25 May 2013 14:15:49 +0000 (07:15 -0700)] 
It's been missing a break there for ~4 years and instead using the 8k max_ms values(the ptime_div value is the same).

12 years agoCleaning up logically dead code.
William King [Sat, 25 May 2013 14:02:33 +0000 (07:02 -0700)] 
Cleaning up logically dead code.

12 years agoThis condition should NEVER be hit, but in case the started thread is unable to locat...
William King [Sat, 25 May 2013 13:51:22 +0000 (06:51 -0700)] 
This condition should NEVER be hit, but in case the started thread is unable to locate itself in the EVENT_DISOATCH_QUEUE_THREADS array, it's best to return null here and kill the unexpected event thread rather than segfault FS by writing outside of the bounds of the EVENT_DISPATCH_QUEUE_RUNNING array.

12 years agoSmall off by one error. If the array is of size 144, then an index of 144 inclusive...
William King [Sat, 25 May 2013 13:41:03 +0000 (06:41 -0700)] 
Small off by one error. If the array is of size 144, then an index of 144 inclusive is an error.

12 years agoLet's bit a bit safer when dereferencing pointers.
William King [Sat, 25 May 2013 03:03:19 +0000 (20:03 -0700)] 
Let's bit a bit safer when dereferencing pointers.

12 years agoRemoving logically dead code
William King [Sat, 25 May 2013 02:59:20 +0000 (19:59 -0700)] 
Removing logically dead code

12 years agoIf there is a problem reading the dictionary file, don't leak memory...
William King [Sat, 25 May 2013 02:55:37 +0000 (19:55 -0700)] 
If there is a problem reading the dictionary file, don't leak memory...

12 years agoRemoving unused code
William King [Sat, 25 May 2013 02:53:10 +0000 (19:53 -0700)] 
Removing unused code

12 years agoMore explicit and defensive code so if the init fails we know we handling this pointe...
William King [Sat, 25 May 2013 02:49:20 +0000 (19:49 -0700)] 
More explicit and defensive code so if the init fails we know we handling this pointer safely, because  rc_config_init will free the pointer if there was a problem, but it will not set the pointer to NULL.

12 years agoAnother location where mod_rtmp would leak memory.
William King [Sat, 25 May 2013 02:45:24 +0000 (19:45 -0700)] 
Another location where mod_rtmp would leak memory.

12 years agoFix improper handling of a double linked list that could have caused a memory leak.
William King [Sat, 25 May 2013 02:42:02 +0000 (19:42 -0700)] 
Fix improper handling of a double linked list that could have caused a memory leak.

12 years agoAppears to have been a copy paste error because this doesn't do what the api claims...
William King [Sat, 25 May 2013 02:35:43 +0000 (19:35 -0700)] 
Appears to have been a copy paste error because this doesn't do what the api claims, and it also leaks the reference to the new node.

12 years agoFixing a memory leak. name needs to be freed since it's being strdup'd lower.
William King [Sat, 25 May 2013 02:30:57 +0000 (19:30 -0700)] 
Fixing a memory leak. name needs to be freed since it's being strdup'd lower.

12 years agoFS-5470 --resolve
Anthony Minessale [Fri, 24 May 2013 14:37:25 +0000 (09:37 -0500)] 
FS-5470 --resolve

12 years agoFS-5466 --resolve
Anthony Minessale [Fri, 24 May 2013 14:14:13 +0000 (09:14 -0500)] 
FS-5466 --resolve

12 years agoFS-5042 changed event body creation
Mariusz Czułada [Fri, 24 May 2013 10:18:00 +0000 (12:18 +0200)] 
FS-5042 changed event body creation

12 years agoFS-4871: reduce logging a bit
Raymond Chandler [Fri, 24 May 2013 00:51:25 +0000 (20:51 -0400)] 
FS-4871: reduce logging a bit

12 years agoFS-5389
Jeff Lenk [Wed, 8 May 2013 16:36:13 +0000 (11:36 -0500)] 
FS-5389

12 years agoFS-5389 --resolve
Jeff Lenk [Wed, 8 May 2013 13:37:10 +0000 (08:37 -0500)] 
FS-5389 --resolve

12 years agoFS-4871 --resolve
Raymond Chandler [Tue, 7 May 2013 19:07:04 +0000 (15:07 -0400)] 
FS-4871 --resolve

12 years agoFS-5453 --resolve
Anthony Minessale [Fri, 24 May 2013 13:13:41 +0000 (08:13 -0500)] 
FS-5453 --resolve

12 years agoFS-5453 --resolve this is a different issue, we just have to hangup the loopback...
Anthony Minessale [Thu, 23 May 2013 14:59:00 +0000 (09:59 -0500)] 
FS-5453 --resolve this is a different issue, we just have to hangup the loopback channel so the loopback and the sip don't both execute the extension

12 years agoswig
Anthony Minessale [Thu, 23 May 2013 14:55:52 +0000 (09:55 -0500)] 
swig

12 years agoFS-5042 --resolve
Anthony Minessale [Thu, 23 May 2013 13:07:10 +0000 (08:07 -0500)] 
FS-5042 --resolve

12 years agoFS-5453 --resolve
Anthony Minessale [Thu, 23 May 2013 13:00:03 +0000 (08:00 -0500)] 
FS-5453 --resolve