]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
14 years agoRetry updating base image
Travis Cross [Fri, 22 Jun 2012 23:16:37 +0000 (23:16 +0000)] 
Retry updating base image

If updating the base image fails, retry a few times.  If that doesn't
work, simply move on; the update usually fails because Debian is
updating its mirrors; it's not important that we be absolutely up to
date.

14 years agoUpdate AUTHORS
Travis Cross [Sat, 23 Jun 2012 03:44:38 +0000 (03:44 +0000)] 
Update AUTHORS

14 years agoBootstrap bnlib without warnings or errors
Travis Cross [Sat, 23 Jun 2012 00:30:41 +0000 (00:30 +0000)] 
Bootstrap bnlib without warnings or errors

14 years agoFix bnlib call to AC_INIT
Travis Cross [Sat, 23 Jun 2012 00:21:12 +0000 (00:21 +0000)] 
Fix bnlib call to AC_INIT

14 years agoRemove outdated autoconf tests in bnlib
Travis Cross [Sat, 23 Jun 2012 00:02:49 +0000 (00:02 +0000)] 
Remove outdated autoconf tests in bnlib

14 years agodebian: Add mechanism to specify modules.conf
Travis Cross [Mon, 25 Jun 2012 07:09:20 +0000 (07:09 +0000)] 
debian: Add mechanism to specify modules.conf

14 years agoadding mg and peer profile cleanup code during shutdown and removing
kapil [Mon, 25 Jun 2012 06:42:04 +0000 (12:12 +0530)] 
adding mg and peer profile cleanup code during shutdown and removing
"unused variables" warnings

14 years agoAvoid -Wunused-value warning
Travis Cross [Mon, 25 Jun 2012 06:20:16 +0000 (06:20 +0000)] 
Avoid -Wunused-value warning

Don't use the SET_STATUS1 macro as it will always produce this
warning.  It's a rather 'interesting' macro that's probably best
avoided anyway.

14 years agoFix confusion between size_t and ssize_t
Travis Cross [Mon, 25 Jun 2012 06:01:37 +0000 (06:01 +0000)] 
Fix confusion between size_t and ssize_t

readfile returns a value of type ssize_t (signed) and returns -1 if an
error occurs.  In auth_readdb_internal, however, we were assigning the
return value of readfile to a variable of type size_t (unsigned), but
then testing this unsigned value to see if it was < 0, a
contradiction.  We would thus simultaneously fail to report the error
in readfile and would end up with a corrupted length value.

14 years agoAdd missing return statement
Travis Cross [Mon, 25 Jun 2012 05:57:01 +0000 (05:57 +0000)] 
Add missing return statement

sres_cached_answers_sockaddr is supposed to return ENOENT if no cached
records are found.  Because of the missing return statement, however,
it would never do this and would instead return something very likely
to be garbage.

14 years agoRemove a contradiction
Travis Cross [Mon, 25 Jun 2012 05:53:55 +0000 (05:53 +0000)] 
Remove a contradiction

base64_d returns a value of size_t, which is unsigned.  The value
therefore cannot be less than zero.  The second check testing whether
it is >= INT_MAX is not a contradiction, but it doesn't make any sense
to check for this (as far as I can tell).

14 years agoRemove a tautological conditional
Travis Cross [Mon, 25 Jun 2012 05:47:27 +0000 (05:47 +0000)] 
Remove a tautological conditional

SU_LOG->log_level is declared as unsigned, hence it will always
be >= 0.

14 years agoImplement MEMLOCK and UNLOCK as functions
Travis Cross [Mon, 25 Jun 2012 05:33:24 +0000 (05:33 +0000)] 
Implement MEMLOCK and UNLOCK as functions

Converting these macros to functions declared static inline allow the
C type-checker to work and avoid warnings about unused expression
values.  These warnings break the build with clang.

14 years agoImplement su_errno and su_seterrno as functions
Travis Cross [Mon, 25 Jun 2012 05:29:39 +0000 (05:29 +0000)] 
Implement su_errno and su_seterrno as functions

This avoid warnings about expressions with unused values.  These
warnings break the build with clang.

An optimizing compiler should still inline these calls.  If that turns
out not to happen on some platform, we could rename the functions used
internally and declare them static inline.

14 years agoFix memset calls in sofia-sip
Travis Cross [Mon, 25 Jun 2012 05:25:21 +0000 (05:25 +0000)] 
Fix memset calls in sofia-sip

These calls were zeroing only a pointer's worth of memory rather than
the actual size of the objects.

14 years agoFS-4318 try this, success is 0 so that original patch was wrong
Anthony Minessale [Sun, 24 Jun 2012 20:05:59 +0000 (15:05 -0500)] 
FS-4318 try this, success is 0 so that original patch was wrong

14 years agoFix clang warnings in mod_lua
Travis Cross [Sun, 24 Jun 2012 09:13:21 +0000 (09:13 +0000)] 
Fix clang warnings in mod_lua

14 years agodebian: Add mechanism to set C/C++ compiler
Travis Cross [Sun, 24 Jun 2012 08:46:00 +0000 (08:46 +0000)] 
debian: Add mechanism to set C/C++ compiler

14 years agoFix warnings in sqlite
Travis Cross [Sun, 24 Jun 2012 08:34:52 +0000 (08:34 +0000)] 
Fix warnings in sqlite

14 years agoReturn const char* from apr_pool_tag
Travis Cross [Sun, 24 Jun 2012 08:11:23 +0000 (08:11 +0000)] 
Return const char* from apr_pool_tag

clang warns:

  warning: returning 'const char *' from a function with result type
    'char *' discards qualifiers [-Wincompatible-pointer-types]

14 years agoFix memset calls in APR sha2 implementation
Travis Cross [Sun, 24 Jun 2012 08:05:25 +0000 (08:05 +0000)] 
Fix memset calls in APR sha2 implementation

The implementation clears the context / state data from memory when it
is finished with it.  Prior to this commit, however, it was actually
only clearing the first 4 bytes on x86 or 8 bytes on x86_64.

clang warns:

  warning: argument to 'sizeof' in 'memset' call is the same
  expression as the destination; did you mean to dereference it?
      [-Wsizeof-pointer-memaccess]

14 years agoFix use of switch_event_add_body
Travis Cross [Sun, 24 Jun 2012 07:34:48 +0000 (07:34 +0000)] 
Fix use of switch_event_add_body

On some compilers this fixes the build.

gcc reports:

  error: format not a string literal and no format arguments

clang reports:

  error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]

14 years agoRemove extraneous parenthesis
Travis Cross [Sun, 24 Jun 2012 07:36:14 +0000 (07:36 +0000)] 
Remove extraneous parenthesis

This causes a warning that breaks the build with clang.

14 years agomore v18 changes
Anthony Minessale [Sun, 24 Jun 2012 00:33:26 +0000 (19:33 -0500)] 
more v18 changes

14 years agotweaks
Anthony Minessale [Sun, 24 Jun 2012 00:00:53 +0000 (19:00 -0500)] 
tweaks

14 years agochange name
Anthony Minessale [Sat, 23 Jun 2012 23:53:29 +0000 (18:53 -0500)] 
change name

14 years agoadd some inital v18 interface points
Anthony Minessale [Sat, 23 Jun 2012 23:48:20 +0000 (18:48 -0500)] 
add some inital v18 interface points

14 years agodebian: Correct alphabetization
Travis Cross [Fri, 22 Jun 2012 18:04:35 +0000 (18:04 +0000)] 
debian: Correct alphabetization

14 years agodebian: Add option to use existing .orig.* file
Travis Cross [Fri, 22 Jun 2012 18:03:42 +0000 (18:03 +0000)] 
debian: Add option to use existing .orig.* file

14 years agoBundle .version file with debian nightlies
Travis Cross [Fri, 22 Jun 2012 16:11:47 +0000 (16:11 +0000)] 
Bundle .version file with debian nightlies

This adds the .version file to nightlies produced with debian/util.sh.

14 years agoHarmonize debian nightly version with print_git_revision
Travis Cross [Fri, 22 Jun 2012 16:10:47 +0000 (16:10 +0000)] 
Harmonize debian nightly version with print_git_revision

Debian nightlies created with debian/util.sh now have the version set
in the same format as Makefile.am produces.  Unlike Makefile.am,
however, we show the orig packaging date rather than the date of the
latest commit, as the latter could legitimately regress and we need
this to always increment.

14 years agoAlways set the ZRTP SAS verified flag on our side
Travis Cross [Fri, 22 Jun 2012 13:25:40 +0000 (13:25 +0000)] 
Always set the ZRTP SAS verified flag on our side

When we're terminating ZRTP to an IVR or to a leg which is not
ZRTP-capable, there's no way for us to make an intelligent decision
about whether this flag should be set.  For a client to consider the
SAS as verified, however, both sides need to set this flag.  By always
setting this flag on our side, we leave the decision completely in the
hands of the client where we hope there is a careful human.

Signed-off-by: Travis Cross <tc@traviscross.com>
14 years agoFS-4336 --resolve
Anthony Minessale [Sat, 23 Jun 2012 19:55:06 +0000 (14:55 -0500)] 
FS-4336 --resolve

14 years agovs2010 reswig
Jeff Lenk [Sat, 23 Jun 2012 21:58:44 +0000 (16:58 -0500)] 
vs2010 reswig

14 years agoswigall
Anthony Minessale [Sat, 23 Jun 2012 21:40:42 +0000 (16:40 -0500)] 
swigall

14 years agoFS-4337 --resolve this actually uncovered a bug cos it was supposed to be rtcp_bytes...
Anthony Minessale [Sat, 23 Jun 2012 19:03:06 +0000 (14:03 -0500)] 
FS-4337 --resolve this actually uncovered a bug cos it was supposed to be rtcp_bytes not bytes

14 years agofix typo
Anthony Minessale [Sat, 23 Jun 2012 11:18:09 +0000 (06:18 -0500)] 
fix typo

14 years agoadd video support to lib/mod.dingaling this needs testing, google voice won't work...
Anthony Minessale [Fri, 22 Jun 2012 23:14:53 +0000 (18:14 -0500)] 
add video support to lib/mod.dingaling this needs testing, google voice won't work with video calls so disable video codecs if you use that

14 years agochange default number to 97
Anthony Minessale [Fri, 22 Jun 2012 23:09:39 +0000 (18:09 -0500)] 
change default number to 97

14 years agoFS-3659 and some refactor for rtcp ice and video ice and rtcp
Anthony Minessale [Fri, 22 Jun 2012 23:08:59 +0000 (18:08 -0500)] 
FS-3659 and some refactor for rtcp ice and video ice and rtcp

14 years agoupdate stun to more modern spec
Anthony Minessale [Fri, 22 Jun 2012 23:06:42 +0000 (18:06 -0500)] 
update stun to more modern spec

14 years agoMerge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg-4.3
Mathieu Rene [Fri, 22 Jun 2012 23:10:41 +0000 (19:10 -0400)] 
Merge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg-4.3

14 years agostill figuring out lib
Mathieu Rene [Fri, 22 Jun 2012 23:10:08 +0000 (19:10 -0400)] 
still figuring out lib

14 years agoss7: adding ss7_iam_fwd_ind_hex as x-header and channel variables in hex format.
James Zhang [Fri, 22 Jun 2012 21:05:15 +0000 (17:05 -0400)] 
ss7: adding ss7_iam_fwd_ind_hex as x-header and channel variables in hex format.
     Read the forward call indicator IE and print it into channel variable
     ss7_iam_fwd_ind_hex. If this variable exists, put it in the x-header.
     This implementation takes bits of A, CB, D, E, F, HG, I from the hex
     value. Bits of KJ, L, P-M are not taken and set to 0.
     The hex value is H-A-P-I, H is the highest bit to A, and next is P-I.
     I is the lowest bit in the whole field, and H is the highest bit in
     the whole field. Refer to Q.763 chapter 3.23.

14 years agoRolling back to find out what's breaking build
David Yat Sin [Fri, 22 Jun 2012 17:20:04 +0000 (13:20 -0400)] 
Rolling back to find out what's breaking build

14 years agoRolling back to find out what's breaking build
David Yat Sin [Fri, 22 Jun 2012 15:35:00 +0000 (11:35 -0400)] 
Rolling back to find out what's breaking build

14 years agoMerging FS-3432 switch_core_hash.c patch in from Tamas
dschreiber [Wed, 20 Jun 2012 13:43:36 +0000 (06:43 -0700)] 
Merging FS-3432 switch_core_hash.c patch in from Tamas

14 years agoFS-4320 sigh
Brian West [Thu, 21 Jun 2012 18:07:38 +0000 (13:07 -0500)] 
FS-4320 sigh

14 years agoFS-4319 --resolve portaudio not always moving the active call to the top of its inter...
Jeff Lenk [Thu, 21 Jun 2012 14:52:13 +0000 (09:52 -0500)] 
FS-4319 --resolve portaudio not always moving the active call to the top of its internal list (invalid ringing)

14 years agofix conflict
Mathieu Rene [Thu, 21 Jun 2012 14:40:57 +0000 (10:40 -0400)] 
fix conflict

14 years agoMEGACO over TCP support
kapil [Thu, 21 Jun 2012 13:53:22 +0000 (19:23 +0530)] 
MEGACO over TCP support

14 years agoadding TCP transport support
kapil [Thu, 21 Jun 2012 13:52:14 +0000 (19:22 +0530)] 
adding TCP transport support

14 years agocode commit for multiple peer cli command
kapil [Thu, 21 Jun 2012 06:06:20 +0000 (11:36 +0530)] 
code commit for multiple peer cli command

14 years agoFix for compile warnings rtp.c
David Yat Sin [Thu, 21 Jun 2012 02:43:54 +0000 (22:43 -0400)] 
Fix for compile warnings rtp.c

14 years agostart implementing command handlers
Mathieu Rene [Thu, 21 Jun 2012 01:34:04 +0000 (21:34 -0400)] 
start implementing command handlers

14 years agoMerge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3
David Yat Sin [Wed, 20 Jun 2012 20:28:13 +0000 (16:28 -0400)] 
Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3

14 years agoAdded core spanflag CLI command
David Yat Sin [Wed, 20 Jun 2012 20:28:00 +0000 (16:28 -0400)] 
Added core spanflag CLI command

14 years agoMerge branch 'master' of ssh://git.freeswitch.org:222/freeswitch
Mathieu Rene [Wed, 20 Jun 2012 19:43:20 +0000 (15:43 -0400)] 
Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch

14 years agoFS-4007
Mathieu Rene [Wed, 20 Jun 2012 19:42:57 +0000 (15:42 -0400)] 
FS-4007

14 years agofixing compilation error
kapil [Wed, 20 Jun 2012 19:39:51 +0000 (01:09 +0530)] 
fixing compilation error

14 years agoMerge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3
David Yat Sin [Wed, 20 Jun 2012 17:21:22 +0000 (13:21 -0400)] 
Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3

14 years agoAdded display of M2UA signalling channels for CLI command show status
David Yat Sin [Wed, 20 Jun 2012 17:20:35 +0000 (13:20 -0400)] 
Added display of M2UA signalling channels for CLI command show status

14 years agoMerge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg-4.3
Mathieu Rene [Wed, 20 Jun 2012 16:31:07 +0000 (12:31 -0400)] 
Merge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg-4.3

14 years agowrong operand to sizeof
Mathieu Rene [Wed, 20 Jun 2012 16:30:37 +0000 (12:30 -0400)] 
wrong operand to sizeof

14 years agoCheck in TDM and RTP controllable channels (incomplete)
Mathieu Rene [Wed, 20 Jun 2012 16:30:08 +0000 (12:30 -0400)] 
Check in TDM and RTP controllable channels (incomplete)

14 years agoRevert "FS-4321 fix startup with odbc"
Jeff Lenk [Wed, 20 Jun 2012 16:05:19 +0000 (11:05 -0500)] 
Revert "FS-4321 fix startup with odbc"

This reverts commit 28fd1f97ea4004e75f61d266438d8093d3a4bc99.

this needs to be fixed a different way

14 years agoMerge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg/4.3
Mathieu Rene [Wed, 20 Jun 2012 16:02:38 +0000 (12:02 -0400)] 
Merge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg/4.3

14 years agochange loglevels and enable debug
Mathieu Rene [Wed, 20 Jun 2012 16:02:10 +0000 (12:02 -0400)] 
change loglevels and enable debug

14 years agoFS-4278 skypopen: oss driver compiles on kernels >= 3.4.0
Giovanni Maruzzelli [Wed, 20 Jun 2012 09:28:28 +0000 (11:28 +0200)] 
FS-4278 skypopen: oss driver compiles on kernels >= 3.4.0

14 years agoadding "xmlshow m2ua <m2ua_interface_name> clusterstatus" CLI command.
kapil [Wed, 20 Jun 2012 08:23:51 +0000 (13:53 +0530)] 
adding "xmlshow m2ua <m2ua_interface_name> clusterstatus" CLI command.

14 years agoremoving warnings
kapil [Wed, 20 Jun 2012 06:42:28 +0000 (12:12 +0530)] 
removing warnings

14 years agoadding "<>" or "[]" from the code itself , instead of passing from
kapil [Wed, 20 Jun 2012 06:31:04 +0000 (12:01 +0530)] 
adding "<>" or "[]" from the code itself , instead of passing from
config xml for MID field

14 years agofix for compilation error on 64-bit
David Yat Sin [Wed, 20 Jun 2012 06:06:31 +0000 (02:06 -0400)] 
fix for compilation error on 64-bit

14 years agoUpdated conf
David Yat Sin [Wed, 20 Jun 2012 04:38:05 +0000 (00:38 -0400)] 
Updated conf

14 years agoChanged megaco.conf.xml to media_gateway.conf.xml
David Yat Sin [Wed, 20 Jun 2012 04:35:10 +0000 (00:35 -0400)] 
Changed megaco.conf.xml to media_gateway.conf.xml

14 years agoAdded support for Content-Type and other optional headers when doing an HTTP PUT
dschreiber [Wed, 20 Jun 2012 04:25:00 +0000 (21:25 -0700)] 
Added support for Content-Type and other optional headers when doing an HTTP PUT

14 years agotypo
Michael Jerris [Wed, 20 Jun 2012 02:43:28 +0000 (22:43 -0400)] 
typo

14 years agofreetdm: Improvements to ftdm core flag CLI command
David Yat Sin [Wed, 20 Jun 2012 02:35:37 +0000 (22:35 -0400)] 
freetdm: Improvements to ftdm core flag CLI command

14 years agouse reg call id on reboot notifies and pass it back in reverse auth lookup
Michael Jerris [Wed, 20 Jun 2012 01:58:43 +0000 (21:58 -0400)] 
use reg call id on reboot notifies and pass it back in reverse auth lookup

14 years agoChanged megaco commands to mg
David Yat Sin [Tue, 19 Jun 2012 21:54:01 +0000 (17:54 -0400)] 
Changed megaco commands to mg

14 years agoAdded parsing for additional parameters for UI team to test their code
David Yat Sin [Tue, 19 Jun 2012 21:30:03 +0000 (17:30 -0400)] 
Added parsing for additional parameters for UI team to test their code

14 years agowow grandstream
Michael Jerris [Tue, 19 Jun 2012 20:02:14 +0000 (16:02 -0400)] 
wow grandstream

14 years agofix pnp config for grandstream
Michael Jerris [Tue, 19 Jun 2012 18:22:57 +0000 (14:22 -0400)] 
fix pnp config for grandstream

14 years agoissue fix
kapil [Tue, 19 Jun 2012 18:06:38 +0000 (23:36 +0530)] 
issue fix

14 years agoFS-3577 : After Tamas's fixes and new logging so we can see the erl_errors, re-applyi...
dschreiber [Tue, 19 Jun 2012 16:13:29 +0000 (09:13 -0700)] 
FS-3577 : After Tamas's fixes and new logging so we can see the erl_errors, re-applying this 10ms polling interval patch that Tony committed a few months ago. Please report any issues.

14 years agoRevert "add thread safe hash multi delete function and make callback optional"
dschreiber [Tue, 19 Jun 2012 15:51:28 +0000 (08:51 -0700)] 
Revert "add thread safe hash multi delete function and make callback optional"

I don't see this command being used anywhere. Since I don't like to touch core files unless absolutely necessary I'm reverting these two changes. I've emailed the author, Tamas, for an explanation. The other patches for FS-3432 (merged in now) appear to work fine without this commit.

This reverts commit fbcb86226581cdcc66fc7b633b505906c207a4cd.

14 years agoMerge remote branch 'origin/master' into FS-3432
dschreiber [Tue, 19 Jun 2012 15:10:54 +0000 (08:10 -0700)] 
Merge remote branch 'origin/master' into FS-3432

14 years agoFS-4321 fix startup with odbc
Jeff Lenk [Tue, 19 Jun 2012 14:02:12 +0000 (09:02 -0500)] 
FS-4321 fix startup with odbc

14 years agoadding enable/disable MEGACO stack looging CLI command
kapil [Tue, 19 Jun 2012 11:30:39 +0000 (17:00 +0530)] 
adding enable/disable MEGACO stack looging CLI command

14 years agoadd test version of mod_redis to vs2010 solution - not built by default
Jeff Lenk [Mon, 18 Jun 2012 22:07:14 +0000 (17:07 -0500)] 
add test version of mod_redis to vs2010 solution - not built by default

14 years agoFixed compile issues again on 32-bit
David Yat Sin [Mon, 18 Jun 2012 19:27:45 +0000 (15:27 -0400)] 
Fixed compile issues again on 32-bit

14 years agoFixed compile issues again on 32-bit
David Yat Sin [Mon, 18 Jun 2012 19:01:08 +0000 (15:01 -0400)] 
Fixed compile issues again on 32-bit

14 years agoFixed compile issues again on 32-bit
David Yat Sin [Mon, 18 Jun 2012 18:34:12 +0000 (14:34 -0400)] 
Fixed compile issues again on 32-bit

14 years agoFixed compile issues again on 32-bit
David Yat Sin [Mon, 18 Jun 2012 16:51:38 +0000 (12:51 -0400)] 
Fixed compile issues again on 32-bit

14 years agoMerge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3
David Yat Sin [Mon, 18 Jun 2012 16:30:33 +0000 (12:30 -0400)] 
Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3

14 years agoFS-4318 --resolve
Anthony Minessale [Mon, 18 Jun 2012 15:30:33 +0000 (10:30 -0500)] 
FS-4318 --resolve

14 years agoMerge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3
kapil [Mon, 18 Jun 2012 12:12:02 +0000 (17:42 +0530)] 
Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3

14 years agofixing cli issues
kapil [Mon, 18 Jun 2012 12:11:05 +0000 (17:41 +0530)] 
fixing cli issues

14 years agoTerminate sed substitution command with semicolon to fix error on OSX.
Stefan Knoblich [Mon, 18 Jun 2012 11:32:43 +0000 (13:32 +0200)] 
Terminate sed substitution command with semicolon to fix error on OSX.

  sed: 1: "/#define *SWITCH_VERSIO ...": bad flag in substitute command: '}'

Reported-by: scruz in #freeswitch @ irc.freenode.net
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
14 years agoRefactor and check for more errors
Travis Cross [Sat, 16 Jun 2012 19:30:27 +0000 (19:30 +0000)] 
Refactor and check for more errors