dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

241 Commits

Author SHA1 Message Date
murf 6499c3c6d4 (closes issue #13557)
Reported by: nickpeirson
Patches:
      pbx.c.patch uploaded by nickpeirson (license 579)
      replace_bzero+bcopy.patch uploaded by nickpeirson (license 579)
Tested by: nickpeirson, murf

1. replaced all refs to bzero and bcopy to memset and memmove instead.
2. added a note to the CODING-GUIDELINES
3. add two macros to asterisk.h to prevent bzero, bcopy from creeping
   back into the source
4. removed bzero from configure, configure.ac, autoconfig.h.in




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147807 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 14:17:33 +00:00
mvanbaak ed8f9a8684 Make format_vorbis_ogg compile on OpenBSD
(closes issue #13639)
Reported by: mvanbaak
Patches:
      2008100700_oggsupportOBSD.diff.txt uploaded by mvanbaak (license 7)
      2008100700_oggsupportOBSD-configurescript.diff.txt uploaded by mvanbaak (license 7)
Tested by: mvanbaak


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147347 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-07 20:15:27 +00:00
mvanbaak aca7b81704 Make sure the configs on OpenBSD are in /etc/asterisk by default
(closes issue #13641)
Reported by: jtodd


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147306 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-07 18:53:34 +00:00
mvanbaak 7c30763fbe All ODBC parts can now use either unixodbc or iodbc.
This allows for the ODBC parts to work on OpenBSD as well.

99.99% of the work is done by seanbright (bow, bow) and I actually
did nothing but test and yell at him that it still didn't work :)

Thanks for helping out !


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146925 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-06 23:14:33 +00:00
seanbright dc8b7c68a3 Pretty-print a couple configure options
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146738 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-06 17:32:02 +00:00
seanbright f3ef3e9652 This is much cleaner, methinks.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145771 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-02 15:28:48 +00:00
seanbright bce2530084 Try a test compile using the GMime library. Some distros install gmime-config
in the base package instead of the -devel package.  Now we print a notice and
disable GMime support instead of bombing during the main compilation.

(closes issue #13583)
Reported by: arkadia


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145692 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01 23:48:16 +00:00
seanbright 3944364da6 Bring in the configure and makeopts jazz for -Wshadow, but don't add it to the
Makefile yet.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136819 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-08 18:19:33 +00:00
seanbright d4ec4c4c3a Merge in changes that allow Asterisk to be built against the Hoard
memory allocator.  See doc/hoard.txt for more details.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135405 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-03 16:14:14 +00:00
tilghman 9aae759f1c Merged revisions 134649 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r134649 | tilghman | 2008-07-30 16:38:50 -0500 (Wed, 30 Jul 2008) | 4 lines

Qwell pointed out, via IRC, that the previous fix only worked when explicitly
set.  When nothing is set, and the option is implied, it breaks, because
configure sets the prefix to 'NONE'.  Fixing.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134650 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-30 21:40:08 +00:00
tilghman 1af9fe06b6 Merged revisions 134536 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r134536 | tilghman | 2008-07-30 14:47:16 -0500 (Wed, 30 Jul 2008) | 4 lines

Only override sysconfdir and mandir when prefix=/usr
(closes issue #13093)
 Reported by: pabelanger

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134538 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-30 19:48:37 +00:00
mmichelson d1ae07e8e7 This commit compensates for buggy poll(2)
implementations. Asterisk has, for a long time,
had its own implementation of poll(2) which
just used the input arguments to call select(2).
In 1.4, this internal implementation was used
for Darwin systems. This was removed in Asterisk
trunk at some point, but it seems as though this
was not the right move to make.

On Mac OS X, it appears as though the poll used
to gather CLI input does not respond properly
when connecting via a remote Asterisk console.
Reverting to the use of Asterisk's poll fixed
the issue.

Also, there is now an option for the configure
script, --enable-internal-poll, which will allow
for anyone to use Asterisk's internal poll
implementation in case they suspect that their
system's poll implementation is buggy.

closes issue #11928)
Reported by: adriavidal
Patches:
      1.6.0-configurev2.patch uploaded by putnopvut (license 60)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134125 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-28 19:53:56 +00:00
kpfleming 14bd7ec680 Merged revisions 132704 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r132704 | kpfleming | 2008-07-22 15:49:41 -0500 (Tue, 22 Jul 2008) | 2 lines

make AST_C_COMPILE_CHECK able to print a 'pretty' description of what it is doing

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132705 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22 20:54:07 +00:00
kpfleming 667b602f9a Merged revisions 132641 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r132641 | kpfleming | 2008-07-22 14:49:11 -0500 (Tue, 22 Jul 2008) | 2 lines

use renamed libpri API call for controlling this feature (was improperly named before)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132643 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22 19:59:10 +00:00
russell 4af9e5c085 Remove libresample from the Asterisk source tree. It is now available in its
own repository, and must be installed like any other library for Asterisk to
use.  The two modules that require it are codec_resample and app_jack.

To install libresample:

$ svn co http://svn.digium.com/svn/libresample/trunk libresample
$ cd libresample
$ ./configure
$ make
$ sudo make install

This code is currently in our own repository because the build system did not
include the appropriate targets for building a dynamic library or for installing
the library.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132390 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-21 14:47:41 +00:00
kpfleming d0e4fac82b Merged revisions 130039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r130039 | kpfleming | 2008-07-11 10:41:56 -0500 (Fri, 11 Jul 2008) | 4 lines

add support for a configuration parameter for 'inband audio during RELEASE', which is currently mandatory in libpri-1.4.4 but will become configurable in libpri-1.4.5 later today

(related to issue #13042)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130040 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11 15:57:17 +00:00
kpfleming 1cc4749eb6 some minor fixes found while working on issue #12911 (and block the rev from 1.4 since the equivalent is already here)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127767 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03 16:22:02 +00:00
kpfleming f591c4add5 make the AIS checking a little more generic, and have a more useful configure script command line option for OpenAIS
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127017 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01 17:22:47 +00:00
kpfleming 902b5c3e00 various minor fixes created while i worked on getting *every* Asterisk module to build on laptop in dev mode:
remove weird pre-setting of LUA paths; they are not necessary; also use the proper path for including the files in pbx_lua.c

add searching for OpenAIS libraries in /usr/lib/openais if a path is not specified; not sure if this is really the optimal solution, but it works

make the compiler shut up about some ignored function results in pbx_gtkconsole; this module is badly coded anyway



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126356 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-29 16:19:29 +00:00
seanbright 13e31ad1ef Merge in changes from my cdr-tds-conversion branch. This changes the internal
implementation from using the volatile libtds, to using the db-lib front end.
The unintended side effect of this is that we support (at least) versions 0.62
through 0.82 of the FreeTDS distribution without any #ifdef ugliness.

(closes issue #12844)
Reported by: jcollie


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126226 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-28 21:28:16 +00:00
kpfleming ae1eb91abe Merged revisions 125132 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125132 | kpfleming | 2008-06-25 17:21:30 -0500 (Wed, 25 Jun 2008) | 10 lines

allow tonezone to live in a different place than DAHDI/Zaptel, since dahdi-tools and dahdi-linux are now separate packages and can be installed in different places

don't include tonezone.h in dahdi_compat.h, because only a couple of modules need it

get app_rpt building again after the DAHDI changes

(closes issue #12911)
Reported by: tzafrir


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@125138 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-25 23:05:28 +00:00
tilghman ab6a6c0cf0 Detect if the installed gcc version supports the warn_unused_result attribute.
Reported by mvanbaak via IRC -dev.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@123988 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19 17:55:34 +00:00
jpeeler 490730a6b3 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@122234 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12 17:27:55 +00:00
russell a4199bd9a8 Merge a couple of configure script checks in from team/russell/events. This adds
the checks for the CLM and EVT services from the SAForum AIS.  I'm going to work
on merging in changes from this branch in pieces.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121403 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-10 00:43:06 +00:00
russell d6f4c64765 After determining that the version of spandsp installed is an acceptable version,
do a build and link test to ensure that the library is usable, and that libtiff
is also available


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@119799 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-02 15:57:43 +00:00
russell 28987321f8 Add a configure script check for spandsp
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@119795 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-02 15:43:40 +00:00
mattf 5a8ca0ef8e Add Zap MTP2 support to chan_zap
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115600 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-11 03:23:05 +00:00
file aac883fcbc Merged revisions 115579 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115579 | file | 2008-05-09 13:34:08 -0300 (Fri, 09 May 2008) | 2 lines

Improve res_ninit and res_ndestroy autoconf logic on the Darwin platform.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115580 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-09 16:36:58 +00:00
file a1f4f6bb09 Merged revisions 115341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115341 | file | 2008-05-06 10:54:15 -0300 (Tue, 06 May 2008) | 2 lines

Add in missing argument.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115342 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-06 13:55:44 +00:00
file 82f9045435 Merged revisions 115327 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115327 | file | 2008-05-05 19:10:05 -0300 (Mon, 05 May 2008) | 2 lines

Make sure that either the main speex library contains preprocess functions or that speexdsp does. If both fail then speex stuff can not be built.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115328 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05 22:13:57 +00:00
tilghman 315b136de3 Okay, maybe FreeBSD will like this better.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115159 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-02 02:56:39 +00:00
bbryant 99891829fa Add two new console commands "pri show version" and "ss7 show version" that will show the version of each library respectively.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115078 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01 23:09:08 +00:00
file 30c35d0943 Update autoconf logic with latest API change for libss7.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114713 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-28 13:42:13 +00:00
seanbright ce63165e29 Merged revisions 114695 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114695 | seanbright | 2008-04-26 21:26:15 -0400 (Sat, 26 Apr 2008) | 5 lines

When we don't explicitly pass a path to the --with-tds configure option, we
may end up finding tds.h in /usr/local/include instead of /usr/include.  If
this happens, the grep that looks for the version (from tdsver.h) will fail
and we'll have some problems during the build.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114696 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-27 01:28:32 +00:00
seanbright e887ba18f9 Fix a typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109282 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18 00:28:39 +00:00
twilson f12eb74241 Replace minimime with superior GMime library so that the entire contents of an http post are not read into memory.
This does introduce a dependency on the GMime library for handling HTTP POSTs, but it is available in most distros.

If the library is present, then the compile flag for ENABLE_UPLOADS is enabled by default in menuselect.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109229 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17 22:10:06 +00:00
kpfleming 853e85fe76 don't define Zaptel features as libraries, they aren't, and we don't want '--with-zaptel-<foo>' configure options for them
also some minor cleanups


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109166 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17 17:31:46 +00:00
kpfleming ac48a62e43 Merged revisions 107461 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107461 | kpfleming | 2008-03-11 09:33:45 -0500 (Tue, 11 Mar 2008) | 2 lines

stop checking for mktime() in the configure script... we don't use it, and the test is buggy under gcc 4.3

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@107462 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11 14:37:03 +00:00
kpfleming c4402dfe48 Merged revisions 107408 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107408 | kpfleming | 2008-03-11 09:07:59 -0500 (Tue, 11 Mar 2008) | 5 lines

check for compiler support for -fno-strict-overflow before using it (tested with Debian's gcc 4.3, 4.1 and 3.4)

(closes issue #12179)
Reported by: Netview

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@107409 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11 14:09:49 +00:00
kpfleming 96d966354f Merged revisions 107405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107405 | kpfleming | 2008-03-11 08:57:08 -0500 (Tue, 11 Mar 2008) | 2 lines

fix small bug in IMAP toolkit testing

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@107406 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11 13:58:37 +00:00
dbailey a3a74011ad Add protection to chan_zap build when NEONMWI events are not defined
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104045 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-22 23:56:55 +00:00
file 425d7f6645 Disable epoll as it has caused more obscure issues then any of my previous code. I will continue to work on it in a separate branch to make it stable for a release and test it against the following issues.
(closes issue #11253)
Reported by: falves11
(closes issue #11657)
Reported by: davevg
(closes issue #11033)
Reported by: falves11


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104019 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-21 16:44:57 +00:00
file b632052987 Merged revisions 103812 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103812 | file | 2008-02-19 13:31:32 -0400 (Tue, 19 Feb 2008) | 4 lines

Don't look for launchd when cross compiling.
(closes issue #12029)
Reported by: ovi

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103813 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-19 17:33:55 +00:00
mmichelson e92a79cd30 Merged revisions 103722 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103722 | mmichelson | 2008-02-15 11:26:37 -0600 (Fri, 15 Feb 2008) | 8 lines

Final round of changes for configure script logic for IMAP

Now if a directory is specified, then we will search that directory for
a source installation of the IMAP toolkit. If none is found, then we will
use that directory as the basis for detecting a package installation of
the IMAP c-client. If that check fails, then configure will fail.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103725 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15 17:32:43 +00:00
mmichelson cc05387ba3 Merging of changes from 1.4 revision 103713.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103715 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15 15:11:23 +00:00
mmichelson 0142926ab0 Same changes as made to 1.4 in revision 103710
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103711 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15 00:59:21 +00:00
mmichelson 82f43aea84 See commit message for svn revision 103698. This behavior is the same as what is described
there. The difference is that trunk already had the --with-imap=system option, but it only
checked the include path for headers in the imap directory and not also the c-client directory.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103700 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14 23:39:47 +00:00
qwell 6c86f0e9b0 Modify ldap autoconf function, so that an incorrect ldap library is not found on Solaris (it is incompatible).
Also removes second check for awk, which causes Solaris to find an incompatible version of awk.

(closes issue #11829)
Reported by: snuffy
Patches:
      bug-11829.diff uploaded by snuffy (license 35)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103694 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14 21:21:53 +00:00
tilghman 95575125cb Merged revisions 102323 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102323 | tilghman | 2008-02-04 15:06:09 -0600 (Mon, 04 Feb 2008) | 7 lines

Cross-platform fix:  OS X now deprecates the use of the daemon(3) API.
(closes issue #11908)
 Reported by: oej
 Patches: 
       20080204__bug11908.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102329 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-04 21:15:18 +00:00
russell f3d21a6bd0 Change the version number in the configure script from 1.4 to 1.6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102064 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-03 06:43:57 +00:00