dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

232 Commits

Author SHA1 Message Date
kpfleming e796331236 make this script actually work
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137640 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-13 23:00:37 +00:00
tilghman 6c7e27ae25 Always output a version string, even when we can't figure out what we are.
(Closes issue #13223)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135648 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-05 15:30:23 +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
kpfleming 255f52d647 remove remaining Zaptel references in various places
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134086 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-28 16:42:00 +00:00
tilghman 42899d3f85 Optionally build integer-based routines for FSK tone decoding (but default
to the more accurate float-based routines).
(Closes issue #11679)
(Step 1 of 2)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132510 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-21 20:59:03 +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
mvanbaak 24a772af0c Make all sed calls Posix sed compatible.
To make sure nobody commits script-modified files we first make a backup
of asterisk.tex, run the script, generate the pdf and / or html,
and put the original asterisk.tex back.
This will guard us for the stuff that happened before that someone committed 
a locally modified asterisk.tex, with changes done by this script.

(closes issue #13062)
Reported by: mvanbaak
Patches:
      sed_without-i-v3.diff uploaded by mvanbaak (license 7)
Tested by: mvanbaak

Feedback from Corydon. Thanks for taking the time to go through this.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130578 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-13 23:14:03 +00:00
tilghman a86ce0b9a8 Merged revisions 127133 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r127133 | tilghman | 2008-07-01 15:25:37 -0500 (Tue, 01 Jul 2008) | 2 lines

Disable the old, slow search for matching callno in chan_iax2 (but allow it to be reenabled for debugging)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127143 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01 20:28:54 +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
tilghman 00466cc06e Merged revisions 123909 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123909 | tilghman | 2008-06-19 11:26:03 -0500 (Thu, 19 Jun 2008) | 5 lines

Only process 40 arguments (20 files) at once with xargs, because some older
shells may force xargs to separate on an odd boundary.
(Closes issue #12883)
Reported by Nik Soggia

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@123913 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19 16:26:50 +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 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
russell b0a1f90960 Store build-time options as a string in AST_BUILDOPTS in buildopts.h. Also,
display this information in the "core show settings" CLI command.  This is
useful if you want to verify that you're running a build with DONT_OPTIMIZE,
DEBUG_THREADS, etc.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@117756 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-22 13:40:52 +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
twilson 03c243323c Re-add HTTP post support by moving to res_http_post.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@112426 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-02 15:25:48 +00:00
qwell 425f17c8b2 Merged revisions 109973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r109973 | qwell | 2008-03-19 12:12:52 -0500 (Wed, 19 Mar 2008) | 5 lines

People report bugs about Asterisk crashing with DO_CRASH enabled was getting a little silly...

Now we only show certain cflags when you run configure with --enable-dev-mode
(corresponding menuselect change to follow)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109974 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-19 17:15:14 +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
tilghman 85434616d9 Merged revisions 104868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104868 | tilghman | 2008-02-27 18:05:06 -0600 (Wed, 27 Feb 2008) | 7 lines

Compatibility fix for PPC64
(closes issue #12081)
 Reported by: jcollie
 Patches: 
       asterisk-1.4.18-funcdesc.patch uploaded by jcollie (license 412)
 Tested by: jcollie, Corydon76

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104869 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-28 00:11:31 +00:00
russell 808bb845c5 Re-add the automatically generated version.h, so that modules can include for
making build time decisions for cross asterisk version compatibility


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104245 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26 20:19:03 +00:00
russell d5b06adda9 Rename version.h to ast_version.h. Next, I will be re-adding version.h as an
automatically generated file like it used to be.  This still needs to be there
for modules that have to check it to compile against multiple asterisk versions.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104244 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26 20:02:14 +00:00
tilghman a5efdcb361 Context tracing for channels
(closes issue #11268)
 Reported by: moy
 Patches: 
       chantrace-datastored-encapsulated-rev94934.patch uploaded by moy (license 222)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103754 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18 04:43:33 +00:00
dhubbard 57ff6ade4a Merged revisions 101080 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101080 | dhubbard | 2008-01-29 17:50:42 -0600 (Tue, 29 Jan 2008) | 1 line

updated build_tools to handle the autotag directory structure changes; changes related to BE-353.  Patch by The Russell and reviewed by The Me.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101081 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 23:59:41 +00:00
qwell 34fa07e0ee Reintroduce more chan_vpb stuff that was removed in r100421 and r100422
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100679 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 21:11:24 +00:00
qwell 556669cea0 Remove more remnants of chan_vpb
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100421 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25 22:47:52 +00:00
tilghman 9ed2967713 Use the set ASTDBDIR as the default, too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100307 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-24 22:58:10 +00:00
tilghman 533d426fef Add res_config_ldap for realtime LDAP engine.
(closes issue #5768)
 Reported by: mguesdon
 Patches: 
       res_config_ldap-v0.7.tar.gz uploaded by mguesdon (license 121)
       res_ldap.conf.sample uploaded by suretec (license 70)
       asterisk-v3.1.4.ldif uploaded by suretec (license 70)
       asterisk-v3.1.4.schema uploaded by suretec (license 70)
 Tested by: oej, mguesdon, suretec, cthorner


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99696 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 22:33:20 +00:00
qwell 8bbcdbc2f3 Add several busy detection related defines to menuselect.
Allow better busy detect debugging (with BUSYDETECT_DEBUG).

Remove very old BUSYDETECT and BUSY_DETECT_MARTIN defines.

(closes issue #11107)
Patches:
      busydetect_enhancement.patch uploaded by agx (license 298)
      busydetect-r94975.diff uploaded by sergee (license 138)

Additional changes/cleanup by me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98998 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-17 20:51:26 +00:00
file 35d5a377ed Merged revisions 98951 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r98951 | file | 2008-01-15 21:13:27 -0400 (Tue, 15 Jan 2008) | 4 lines

Add autoconf logic for speexdsp. Later versions use a separate library for some things so we need to use it if present in codec_speex.
(closes issue #11693)
Reported by: yzg

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98952 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-16 01:17:25 +00:00
russell c03eb69155 Add configure script check for JACK.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98605 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-13 18:08:50 +00:00
russell 9b358fbda8 Remove KDE configure script check that isn't used
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98604 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-13 18:01:56 +00:00
russell cfcf4c9f8c Merged revisions 97734 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97734 | russell | 2008-01-10 10:10:09 -0600 (Thu, 10 Jan 2008) | 4 lines

Remove pbx_kdeconsole from the tree.  It hasn't worked in ages, and nobody has
complained.
(closes issue #11706, reported by caio1982)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97745 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 16:15:43 +00:00
russell 7af8444f25 Build the HTML version of the doc files for tarballs, as well
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96886 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 16:59:04 +00:00
russell ab908a2a8b Now that the version.h file was getting properly regenerated every time the svn
revision changed, every module that used the version was getting rebuilt after
every svn update.  This severly annoyed me pretty quickly, so I have improved
the situation.

Now, instead of generating version.h, main/version.c is generated.  version.c
includes the version information, as well as a couple of API calls for modules
to retrieve the version.  So now, only version.c will get rebuilt, and the main
asterisk binary relinked, which is must faster than rebuilding http.c, manager.c,
asterisk.c, relinking the asterisk binary, chan_sip.c, func_version.c, res_agi ...

The only minor change in behavior here is that the version information reported by
chan_sip, for example, is the version of the Asterisk core, and not necessarily the
Asterisk version that the chan_sip module came from.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96717 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 22:09:06 +00:00
kpfleming 933ddf410a go back to including libresample in the main Asterisk binary, but this time including a small hack to ensure that it does get linked in (and also modify the strip_nonapi script to leave the resample_<foo> symbols alone)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95816 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 14:05:30 +00:00
rizzo 206811e881 implement "configure" checks for libiconv, and add the
iconv dependency for func_iconv.
This fixes some build issues on CYGWIN and FreeBSD and probably
other platforms where libiconv is not there by default



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95624 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-01 22:08:32 +00:00
russell ec43bc2e6a Add configure script checking for portaudio.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95383 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-31 15:20:30 +00:00
tilghman 254edbf055 Allow more spans than 32. Also, rearrange compiler flags so the most often
used flags appear closer to the top.
Reported by: tzafrir
Patch by: tzafrir,tilghman
(Closes issue #11528)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94818 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 22:38:02 +00:00
murf d3cbf26799 closes issue #11287; thanks to snuffy for this fix, which will surely make all solaris owners shout praises to his name.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94319 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-20 22:28:35 +00:00
rizzo 7a8342612d Rename the macros in defaults.h - they are not meant to be
globally visible.

Document the fact that DEFAULT_TMP_DIR cannot be overridden
from the default configuration (this needs to be fixed, as you
could have a totally different spooldir configured at runtime,
and yet DEFAULT_TMP_DIR keeps the compile-time default).

Remove two unused entries for sounds and images.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93581 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-18 09:26:03 +00:00
kpfleming dde59f4f62 make the configure script detect that it is running on a Windows platform, and report that information so that menuselect can use it (all information that is used to decide whether to build modules or not must be fed to menuselect so the user knows what will be built and why... don't make module build decisions in the makefiles, please)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93211 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17 17:11:06 +00:00
kpfleming d4e966efcc Merged revisions 93180 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r93180 | kpfleming | 2007-12-16 22:44:51 -0800 (Sun, 16 Dec 2007) | 23 lines

In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,
rizzo brought up some issues related to the way that the metadata required
for menuselect and the rest of the build system is extracted from the source
files. Since I had a few hours to kill on an airplane today, I decided to
improve this situation... so now the system caches the extracted metadata
and uses it to build the menuselect 'tree' as much as it can. The result
of this is that when a single source file is changed, only the metadata for
that file needs to be extracted again, and the rest is used from the cache
files. I also reduced the number of forked processes required to do the
metadata extraction; it was actually possible to do most of what we needed
in the Makefiles themselves without using any shell scripts at all! On my
laptop, these changes resulted in an 80% decrease in the time required
for the 'menuselect.makeopts' automatic check to occur after editing a single
source file.

While doing this work I also cleaned up a few minor things in the Makefiles,
adding a check for 'awk' to the configure script and changed all remaining
places we use 'grep' or 'awk' to use the ones found by the configure script,
and changed the 'prep_tarball' script to build the menuselect metadata so
that tarballs of Asterisk will include it and won't require the user to
wait while it is extracted after unpacking.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93184 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17 07:25:35 +00:00
rizzo 797f1f0bed simplify/cleanup the scripts
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92122 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-10 09:00:44 +00:00
rizzo 8d3385f534 move internal function declarations to include/asterisk/_private.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89465 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20 22:18:21 +00:00
kpfleming 7c35bb6a7f switch compile-time option checking to string storage mode in this branch too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89463 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20 19:28:10 +00:00
file 841a8265b9 Add OSX into the logic that uses md5 instead of md5sum.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89399 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-18 21:50:58 +00:00
russell 85a28052d3 actually let this compile, oops :(
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89360 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 06:09:42 +00:00
russell 21b6d95750 Use the fix suggested by Tilghman on the -dev to make cutting up the BUILDSUM
friendly to non-bash shells.  I think this should work for BSD/mingw as well,
but did not yet remove the switch statement.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89359 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 06:07:57 +00:00
rizzo 5053d21bad this script is run on the build system, not on the host.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89353 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 02:54:23 +00:00
rizzo 9062f796e7 both md5sum and variable substitutions such as ${BUILDSUM:0:8}
are not available in FreeBSD.
For the time being, put in a workaround so we can build the system,
and wait for the result of the discussion on whether we can store
the md5 as a string rather than 4 ints (if so, we won't need more
complex tricks with awk or sed for splitting the md5).

1.4 will be fixed when we decide the issue.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89328 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16 18:48:15 +00:00
kpfleming 3dc676ceb8 Merged revisions 89325 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89325 | kpfleming | 2007-11-16 10:47:46 -0600 (Fri, 16 Nov 2007) | 4 lines

To help combat problems where people build external modules (asterisk-addons or others) and then change the build options of the Asterisk build in a way that makes the incompatible without warning, this commit introduces an MD5 signature of the important build-time options and includes that signature into modules when they are built. When the loader loads one of these modules and notices the problem, it will emit a warning to console and refuse to initialize the module, as doing so could cause the system to be unstable or even crash.

If you upgrade to this version of Asterisk, you must rebuild *all* of your modules that came from other sources before trying to run this version. If you are using Digium's G.729 binary codec module, you will need v33 or newer.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89326 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16 16:56:59 +00:00
tilghman bad99f6a2a Add pbx_lua as a method of doing extensions
Reported by: mnicholson
Patch by: mnicholson
Closes issue #11140


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88250 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 15:36:34 +00:00
russell b26d058476 Merged revisions 84474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84474 | russell | 2007-10-02 15:06:07 -0500 (Tue, 02 Oct 2007) | 5 lines

* Don't build the menuselect-tree for the tarball, as it requires running the
  configure script first
* Change the Makefile to note that menuselect-tree depends on the configure
  script.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84475 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-02 20:07:15 +00:00
tilghman d414502a8d Merged revisions 83695 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r83695 | tilghman | 2007-09-24 12:22:08 -0500 (Mon, 24 Sep 2007) | 4 lines

In the source, keys are relative to the datadir, not varlib (which is the same
in most cases, but it's good to be accurate).
Closes issue #10811

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83696 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-24 17:29:02 +00:00
russell 445550b705 Merged revisions 82385 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82385 | russell | 2007-09-14 10:50:49 -0500 (Fri, 14 Sep 2007) | 3 lines

Add checking for libusb here, so nobody has to deal with conflicts in the
chan_usbradio-1.4 branch every time the configure script gets changed

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82386 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-14 15:52:28 +00:00
qwell 6203f85f62 Merged revisions 80330 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80330 | qwell | 2007-08-22 13:53:18 -0500 (Wed, 22 Aug 2007) | 7 lines

Fix a few build issues in Solaris (and likely others).

Use GREP and ID variables from autoconf.

Reported to me in #asterisk-dev
I forgot who reported this - sorry. :(

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80331 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22 18:54:30 +00:00
qwell a55445159b Merged revisions 80302 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80302 | qwell | 2007-08-22 13:06:00 -0500 (Wed, 22 Aug 2007) | 3 lines

Fix a bashism (we explicitly request /bin/sh).
Remove some oddly placed quotes I found in passing.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80303 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22 18:06:28 +00:00
murf 8b5681e22a This change set fixes bug 8126 in trunk. It is implemented via compile time options, activated via the menuselect stuff, which defaults to the old way. non-zero sample data added. Translate tables expressed in microseconds instead of milliseconds, with 5-digit data now instead of 3, giving 2 more digits of precision.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80113 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-20 22:53:48 +00:00
kpfleming b3f196516d Merged revisions 77827 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r77827 | kpfleming | 2007-07-31 10:53:42 -0500 (Tue, 31 Jul 2007) | 2 lines

DETECT_DEADLOCKS can't be enabled without DEBUG_THREADS or it does nothing

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77828 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-31 15:54:29 +00:00
tilghman a65b75cc75 Add the flag to trigger an intentional crash on mutex errors
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76925 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24 21:37:11 +00:00
russell 3357366474 * Move LaTeX docs into a tex/ subdirectory of the doc/ dir
* Add a Makefile in doc/tex/ for generating PDF and HTML
* Add a README.txt file to doc/tex/ to document which tools are used and what
  web sites to visit for getting them.
* Update build_tools/prep_tarball to put the proper Asterisk version string
  in the automatically generated PDF for release tarballs


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72982 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 22:27:46 +00:00
russell dbcf7d4830 Merged revisions 71371 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r71371 | russell | 2007-06-24 15:16:32 -0500 (Sun, 24 Jun 2007) | 3 lines

Include the menuselect-tree file in tarballs to make builds from tarballs a
little bit faster

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71372 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-24 20:17:43 +00:00
qwell de3fbdf969 Nothing to see here.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71024 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22 04:13:08 +00:00
kpfleming e64f1d801e when we are building modules that other modules depend on, create preprocessor defines (in buildopts.h) marking that those modules were built
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70794 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 19:08:09 +00:00
russell 36a2e6ea7e Merged revisions 69702 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69702 | russell | 2007-06-18 11:35:02 -0500 (Mon, 18 Jun 2007) | 6 lines

To prevent 92138749238754 more reports of "I have unixodbc installed, but
still can't build *_odbc.so!", check for ltdl directly, instead of just listing
it as another library to include in the unixodbc check in the configure script.
This also makes ltdl show up as a dependency in menuselect so people know what
to go install.  (related to issue #9989, patch by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69703 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18 16:35:51 +00:00
russell 8f690f929a Merged revisions 69689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69689 | russell | 2007-06-18 11:15:12 -0500 (Mon, 18 Jun 2007) | 5 lines

Change the use of "echo -e" to "printf".  On systems where /bin/sh is not bash,
most of the lines in menuselect-tree were getting a "-e" at the beginning of
every line.  I'm surprised nobody noticed this, but I think the XML parser was
being very nice and ignoring them.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69691 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18 16:15:44 +00:00
kpfleming 13417b262f use the OpenSSL AES implementation if it's available (unless configured not to)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66071 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24 22:07:50 +00:00
kpfleming cba3cb183f Merged revisions 65541 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65541 | kpfleming | 2007-05-22 16:25:41 -0400 (Tue, 22 May 2007) | 2 lines

when building a version string for a developer branch, include the base branch in the version string

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65542 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-22 20:26:35 +00:00
russell b103d02ad5 Merged revisions 58953 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58953 | russell | 2007-03-15 20:12:40 -0500 (Thu, 15 Mar 2007) | 2 lines

Add the --pdf option to the usage of rubber in prep_tarball

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58954 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-16 01:13:36 +00:00
russell dd1ff847dd Merged revisions 58947 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58947 | russell | 2007-03-15 18:53:26 -0500 (Thu, 15 Mar 2007) | 3 lines

Add configure script checking for GTK2 and some additional Makefile targets
to support gmenuselect

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58948 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15 23:56:10 +00:00
russell 52cdf6c4b3 Merged revisions 58935 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58935 | russell | 2007-03-15 17:35:52 -0500 (Thu, 15 Mar 2007) | 2 lines

have prep_tarball attempt to build asterisk.pdf

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58936 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15 22:36:34 +00:00
russell acddd1bef6 Merged revisions 58931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58931 | russell | 2007-03-15 17:25:12 -0500 (Thu, 15 Mar 2007) | 13 lines

Merge changes from svn/asterisk/team/russell/LaTeX_docs.

* Convert most of the doc directory into a single LaTeX formatted document
  so that we can generate a PDF, HTML, or other formats from this
  information.
* Add a CLI command to dump the application documentation into LaTeX format
  which will only be include if the configure script is run with 
  --enable-dev-mode.
* The PDF turned out to be close to 1 MB, so it is not included.  However, you
  can simply run "make asterisk.pdf" to generate it yourself.  We may include
  it in release tarballs or have automatically generated ones on the web site,
  but that has yet to be decided.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58932 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15 22:29:45 +00:00
russell 607988f17b Merge changes from team/russell/sqlite:
* Add new module, cdr_sqlite3_custom which allows logging custom CDRs into a
  SQLite3 database.  (issue #7149, alerios)
* Add new module, res_config_sqlite, which adds realtime database configuration
  support for SQLite version 2.  I decided that this was ok since we didn't have
  any realtime support for version 3.  If someone ports this to version 3, then
  version 2 support can be removed or marked deprecated.
  (issue #7790, rbarun_proformatique)
* Mark cdr_sqlite as deprecated in favor of cdr_sqlite3_custom.

Also, note that there were other modules on the bug tracker that did not make
the cut because they provided some duplicated functionality.  Those are:

* cdr_sqlite3 (issue #6754, moy)
* cdr_sqlite3 (issue #8694, bsd)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58866 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-13 21:22:33 +00:00
qwell 6f52a82944 Add CLI command "marko show birthday" to show "birthday information"
for Mark Spencers upcoming 30th birthday.

To enable, run `make menuselect` and select the option MARKO_BDAY under Compiler Flags.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58742 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-11 16:43:14 +00:00
kpfleming 0f5717856a Merged revisions 56372 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56372 | kpfleming | 2007-02-23 12:59:09 -0600 (Fri, 23 Feb 2007) | 2 lines

build special version strings for AADK/S800i builds

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56373 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-23 19:00:23 +00:00
kpfleming ac1f0d5427 give embedded modules a helping hand by backing up and restoring their global variables when they are loaded and unloaded
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56092 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-22 02:36:00 +00:00
kpfleming 4105437f25 Merged revisions 55869 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r55869 | kpfleming | 2007-02-21 08:06:47 -0600 (Wed, 21 Feb 2007) | 10 lines

Merged revisions 55868 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55868 | kpfleming | 2007-02-21 08:03:11 -0600 (Wed, 21 Feb 2007) | 2 lines

use new tag version script

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55870 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-21 14:07:43 +00:00
kpfleming f56e86c1e1 Merged revisions 53779-53781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53779 | kpfleming | 2007-02-09 17:51:29 -0600 (Fri, 09 Feb 2007) | 2 lines

fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source file

........
r53780 | kpfleming | 2007-02-09 17:51:41 -0600 (Fri, 09 Feb 2007) | 2 lines

add some inter-module dependencies

........
r53781 | kpfleming | 2007-02-09 17:52:44 -0600 (Fri, 09 Feb 2007) | 2 lines

another dependency

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53782 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-09 23:53:51 +00:00
kpfleming 57bb1b3784 Merged revisions 50754 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50754 | kpfleming | 2007-01-13 10:45:37 -0600 (Sat, 13 Jan 2007) | 2 lines

when building the sample greetings for maibox 1234@default during 'make samples', build a greeting for each language and file format the user selected to install with menuselect (reported by Brian Capouch on asterisk-dev)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50755 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-13 16:47:01 +00:00
kpfleming cdcfae5230 Merged revisions 49553 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49553 | kpfleming | 2007-01-04 16:51:01 -0600 (Thu, 04 Jan 2007) | 2 lines

add support for tracking thread-local-storage objects that exist via 'threadstorage' CLI commands

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49578 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-04 23:18:36 +00:00
kpfleming 6fa0d7528f Merged revisions 49102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49102 | kpfleming | 2007-01-01 17:34:35 -0600 (Mon, 01 Jan 2007) | 2 lines

check specifically for VLDTMF and transcoding support in the system's Zaptel installation, and make only the modules that need those features dependent on them (this will allow building the other Zaptel-using parts of Asterisk against older versions of Zaptel or those on other platforms that haven't caught up yet to the Linux version)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49103 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-01 23:43:43 +00:00
mattf f9cd09cb9f Add codec G.722 support.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48661 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-21 00:08:21 +00:00
kpfleming c901654989 Merged revisions 48548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48548 | kpfleming | 2006-12-17 12:33:24 -0600 (Sun, 17 Dec 2006) | 2 lines

need an additional argument here to make the downloads actually occur

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48549 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-17 18:33:53 +00:00
kpfleming 7fdeb17c60 Merged revisions 48525 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48525 | kpfleming | 2006-12-16 15:14:34 -0600 (Sat, 16 Dec 2006) | 2 lines

simplify dependency tracking system, using the compiler's built-in method for generating them, and only doing dependency tracking if developer mode is enabled via the configure script

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48527 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16 21:24:52 +00:00
kpfleming 0a8ad75e7e Merged revisions 48427 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48427 | kpfleming | 2006-12-12 17:18:14 -0600 (Tue, 12 Dec 2006) | 2 lines

when making a release, we can always use wget and we can't run the configure script to find that out...

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48432 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-12 23:28:15 +00:00
rizzo 33ce8e0f39 manual merge from 1.4:
grep -m not available on bsd, use head -1 which works for all



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47445 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10 17:22:51 +00:00
russell 9783223be7 Merged revisions 47391 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47391 | russell | 2006-11-09 16:26:27 -0500 (Thu, 09 Nov 2006) | 7 lines

Work around an issue that caused menuselect to display a bogus description for
app_voicemail and chan_zap.  These modules use some preprocessor directives to
determine what it will report to Asterisk as its description.  However, the way
we extract this information from the source files for menuselect is not smart
enough to figure this out.
(issue #8326, #8328)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47392 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09 21:32:27 +00:00
russell a92148bfa5 Merged revisions 46847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46847 | russell | 2006-11-01 17:51:21 -0500 (Wed, 01 Nov 2006) | 3 lines

Fixes for cross-compilation on mips 
(issue #8058, ywalther, with some modifications)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46848 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01 22:54:15 +00:00
russell 1675708f88 Merged revisions 46845 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46845 | russell | 2006-11-01 17:32:12 -0500 (Wed, 01 Nov 2006) | 5 lines

Add a check in the configure script to determine whether ld is GNU ld or not.
This is needed because module embedding only works for gnu ld.  GNU ld is now
listed as a dependency for all of the module embedding options in menuselect.
(issue #8143)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01 22:35:52 +00:00
kpfleming 06ad7f4b6a Merged revisions 45410 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45410 | kpfleming | 2006-10-17 17:31:54 -0500 (Tue, 17 Oct 2006) | 2 lines

add a project-specific script to be used during release preparation

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45411 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-17 22:32:19 +00:00
kpfleming a8442c9b22 Merged revisions 44055 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44055 | kpfleming | 2006-09-29 17:47:40 -0500 (Fri, 29 Sep 2006) | 2 lines

fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44056 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29 22:48:43 +00:00
kpfleming 901e02171b Merged revisions 43450 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43450 | kpfleming | 2006-09-21 16:21:29 -0500 (Thu, 21 Sep 2006) | 2 lines

add another attempt to strip non-API symbols from the final binary... script will need to be extended to work on non-Linux systems

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 21:22:34 +00:00
mattf 17a2c3577a Merge in SS7 changes.... need to still cleanup zapata.conf
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43427 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 18:41:33 +00:00
qwell bdd5655813 Merged revisions 43396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43396 | qwell | 2006-09-20 16:19:25 -0700 (Wed, 20 Sep 2006) | 2 lines

fix minor typo in the way version is handled

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43397 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 23:20:11 +00:00
mattf 42a59d0531 Mergeing in Paul Cadach's chan_h323 changes *holds breath*
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43281 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 17:07:22 +00:00
qwell f0a2f5b1cf escape some quotes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43205 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 19:08:40 +00:00
kpfleming d442e27c97 minor wording fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42263 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07 16:42:04 +00:00
qwell 8b8693b5da This is a bit safer on some versions of sed.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41026 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25 00:52:19 +00:00
qwell 6cea97bf72 As per the comments in this file..
The last patch was slightly wrong.  This'll get it for sure.

Solaris (and some others) don't have sed -r.  perl -p is equivalent


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41015 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-24 22:17:12 +00:00
qwell dfaafb7c36 Okay, there are 3 reasons why I'm doing this.
1) Solaris sed doesn't have -r, which means things like \s and \S don't work.
2) GNU sed version 4.1.2 failed on a very simple test
     echo "Test   Test" | sed -r -e 's/\s/x/g'
     should have returned "TestxxxTest", but did not (however, 4.1.4 did?).
3) The CFLAGS were never set, so that entire line actually did nothing.  Now it's useful again.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-24 01:21:41 +00:00