]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
12 years agoFS-5498 add profile-variables section to directory to specify profile variables to...
Anthony Minessale [Tue, 11 Jun 2013 14:38:38 +0000 (09:38 -0500)] 
FS-5498 add profile-variables section to directory to specify profile variables to be set automatically

12 years agoFS-5503 --resolve indeed, thx
Anthony Minessale [Tue, 11 Jun 2013 14:31:16 +0000 (09:31 -0500)] 
FS-5503 --resolve indeed, thx

12 years agoFS-5498
Anthony Minessale [Tue, 11 Jun 2013 00:13:05 +0000 (19:13 -0500)] 
FS-5498

12 years agoFS-5498
Anthony Minessale [Mon, 10 Jun 2013 23:21:46 +0000 (18:21 -0500)] 
FS-5498

12 years agoSkip to next file when you hup the stream
Brian West [Fri, 7 Jun 2013 17:29:13 +0000 (12:29 -0500)] 
Skip to next file when you hup the stream

12 years agoWhitespace cleanup to previous commit
Travis Cross [Fri, 7 Jun 2013 06:59:38 +0000 (06:59 +0000)] 
Whitespace cleanup to previous commit

12 years agoPrevious commit was incorrect. This would correctly handle the memory loss case.
William King [Fri, 7 Jun 2013 06:54:07 +0000 (23:54 -0700)] 
Previous commit was incorrect. This would correctly handle the memory loss case.

12 years agoFS-5493 oops
Anthony Minessale [Thu, 6 Jun 2013 18:17:20 +0000 (13:17 -0500)] 
FS-5493 oops

12 years agoadd last callback run stamp to device records
Anthony Minessale [Thu, 6 Jun 2013 18:08:59 +0000 (13:08 -0500)] 
add last callback run stamp to device records

12 years agoFS-5493 --resolve
Anthony Minessale [Thu, 6 Jun 2013 17:59:18 +0000 (12:59 -0500)] 
FS-5493 --resolve

12 years agoAdded mod_rayo (XMPP 3PCC http://xmpp.org/extensions/xep-0327.html). Used by Adhearsi...
Chris Rienzo [Thu, 6 Jun 2013 20:03:00 +0000 (16:03 -0400)] 
Added mod_rayo (XMPP 3PCC http://xmpp.org/extensions/xep-0327.html). Used by Adhearsion as its native call control protocol.  Currently beta testing.

12 years agoAdded mod_ssml (speech synthesis markup language) ssml:// and tts:// file formats.
Chris Rienzo [Thu, 6 Jun 2013 19:34:49 +0000 (15:34 -0400)] 
Added mod_ssml (speech synthesis markup language) ssml:// and tts:// file formats.

12 years agoAdd missing newline at end of file
Travis Cross [Thu, 6 Jun 2013 19:01:17 +0000 (19:01 +0000)] 
Add missing newline at end of file

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 agofix typo again
Seven Du [Tue, 4 Jun 2013 02:37:39 +0000 (10:37 +0800)] 
fix typo again

12 years agoclose websocket before unload
Seven Du [Tue, 4 Jun 2013 02:23:23 +0000 (10:23 +0800)] 
close websocket before unload

12 years agoadd show complete
Seven Du [Tue, 4 Jun 2013 01:52:14 +0000 (09:52 +0800)] 
add show complete

12 years agoadd show aliases, management, interface_types
Seven Du [Tue, 4 Jun 2013 01:47:45 +0000 (09:47 +0800)] 
add show aliases, management, interface_types

12 years agoadd missing ShowInterfacesRoute
Seven Du [Tue, 4 Jun 2013 01:37:19 +0000 (09:37 +0800)] 
add missing ShowInterfacesRoute

12 years agofix copy&paste typo
Seven Du [Tue, 4 Jun 2013 01:34:35 +0000 (09:34 +0800)] 
fix copy&paste typo

12 years agoshow tasks
Seven Du [Tue, 4 Jun 2013 01:32:38 +0000 (09:32 +0800)] 
show tasks

12 years agoshow say, chat, interfaces, limits
Seven Du [Tue, 4 Jun 2013 01:25:19 +0000 (09:25 +0800)] 
show say, chat, interfaces, limits

12 years agoupdate to mp4v2-2.0.0
Seven Du [Sat, 25 May 2013 04:17:07 +0000 (12:17 +0800)] 
update to mp4v2-2.0.0

It seems I cannot contact the original author
it seems has a bug which even cannot compile with mp4v2-trunk-479
This patch allow it to compile

12 years agofix hardcoded host and port
Seven Du [Tue, 4 Jun 2013 00:21:34 +0000 (08:21 +0800)] 
fix hardcoded host and port

12 years agoOPENZAP-214 --resolve
Jeff Lenk [Mon, 3 Jun 2013 22:27:04 +0000 (17:27 -0500)] 
OPENZAP-214 --resolve

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 agoFix spelling in log message
Travis Cross [Sun, 2 Jun 2013 20:06:19 +0000 (20:06 +0000)] 
Fix spelling in log message

12 years agoFreeTDM: handle_core_command() clean up
Stefan Knoblich [Sun, 2 Jun 2013 01:02:14 +0000 (03:02 +0200)] 
FreeTDM: handle_core_command() clean up

Use uint64_t and FTDM_UINT64_FMT for flagval and "%u" for unsigned int.
Extend invalid channel id check to cover chan_id == 0 case.

Use ftdm_strlen_zero() and ftdm_array_len() instead of open-coding them.
Move some variables from global scope into local subcommand scope.

Various other little format string and variable naming fixes.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
12 years agoFreeTDM: Move I/O interface lookup code into common ftdm_global_get_io_interface()
Stefan Knoblich [Sun, 2 Jun 2013 00:56:44 +0000 (02:56 +0200)] 
FreeTDM: Move I/O interface lookup code into common ftdm_global_get_io_interface()

Auto-loading can be toggled by setting the new autoload parameter
to FTDM_FALSE/FTDM_TRUE.

Update ftdm_span_create() and ftdm_api_execute() to use the new code.

NOTE: Auto-loading of missing I/O interfaces remains enabled in both cases,
      but I guess we should disable it for ftdm_api_execute().

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
12 years agoFreeTDM: Fix "ftdm core flags/spanflags" with flag names
Stefan Knoblich [Sat, 1 Jun 2013 20:30:45 +0000 (22:30 +0200)] 
FreeTDM: Fix "ftdm core flags/spanflags" with flag names

"x >> 1" is _NOT_ the reverse of "1 << x"...

Use code from Sean Eron Andersen's "Bit Twiddling Hacks"
(=> http://graphics.stanford.edu/~seander/bithacks.html#IntegerLog)
to compute the log2 value (= position in the enum) of the bitflag.

This preserves the current behaviour, which is rather odd because
it is based on the position of the value in the enum, not its
actual (bit flag) value.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
12 years agoFreeTDM: Rewrite "ftdm core" print_* functions (to use new span iterator)
Stefan Knoblich [Sat, 1 Jun 2013 20:19:16 +0000 (22:19 +0200)] 
FreeTDM: Rewrite "ftdm core" print_* functions (to use new span iterator)

Simplify code by using shared string constants using bool (0/1) index,
!!-operator and negation-via-XOR.

Future optimization: Preallocate and re-use of iterators, to avoid
repeatedly allocating and freeing of memory.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
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 agoFreeTDM: Add span iterator
Stefan Knoblich [Sat, 1 Jun 2013 13:20:51 +0000 (15:20 +0200)] 
FreeTDM: Add span iterator

Part of my ongoing effort to split ftdm_io.c into more manageable pieces.

This change (along with others in the future) allows decoupling of the
span registry and its users, in preparation of moving all span related
functions and data structures into ftdm_span.c.

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 agoMore to-be-recorded phrases.
Michael S Collins [Fri, 31 May 2013 18:44:46 +0000 (11:44 -0700)] 
More to-be-recorded phrases.

12 years agoFreeTDM: Remove unused local 'interfaces' variable
Stefan Knoblich [Fri, 31 May 2013 17:22:48 +0000 (19:22 +0200)] 
FreeTDM: Remove unused local 'interfaces' variable

Zero-filled, but never used otherwise (and static), drop it.

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
12 years agoMinor tweaks from cleaning up spandsp
Steve Underwood [Fri, 31 May 2013 17:05:08 +0000 (01:05 +0800)] 
Minor tweaks from cleaning up spandsp

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 agoSwap this
Brian West [Fri, 31 May 2013 14:15:45 +0000 (09:15 -0500)] 
Swap this

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-5483 --resolve
Jeff Lenk [Wed, 29 May 2013 14:32:24 +0000 (09:32 -0500)] 
FS-5483 --resolve

12 years agoSomething stupid that way went
Steve Underwood [Wed, 29 May 2013 09:00:57 +0000 (17:00 +0800)] 
Something stupid that way went

12 years agoMerge branch 'master' of git.freeswitch.org:freeswitch
Steve Underwood [Wed, 29 May 2013 06:48:33 +0000 (14:48 +0800)] 
Merge branch 'master' of git.freeswitch.org:freeswitch

12 years agoMore movement towards colour FAXing
Steve Underwood [Wed, 29 May 2013 06:47:48 +0000 (14:47 +0800)] 
More movement towards colour FAXing

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 agoMore tweaks towards colour FAXing
Steve Underwood [Wed, 29 May 2013 02:07:08 +0000 (10:07 +0800)] 
More tweaks towards colour FAXing

12 years agoMore tweaks towards colour FAXing
Steve Underwood [Wed, 29 May 2013 01:53:56 +0000 (09:53 +0800)] 
More tweaks towards colour FAXing

12 years agoMoves towards colour FAX
Steve Underwood [Wed, 29 May 2013 01:31:58 +0000 (09:31 +0800)] 
Moves towards colour FAX

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 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:25:39 +0000 (16:25 -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 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, 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.

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 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 agoRemove extraneous parentheses in mod_say_pl
Travis Cross [Sun, 26 May 2013 11:30:05 +0000 (11:30 +0000)] 
Remove extraneous parentheses in mod_say_pl

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 agoRemove extraneous parentheses
Travis Cross [Sun, 26 May 2013 09:17:19 +0000 (09:17 +0000)] 
Remove extraneous parentheses

This resolves a clang warning:

  error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]

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 04c3b913aa077f34dbeec710310da9cbeb8bcbd3.

switch_util_quote_shell_arg() is fine.

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

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 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 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 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 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 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.