dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

623 Commits

Author SHA1 Message Date
seanbright 193a169598 Add the programs in utils/ to menuselect.
Nothing in utils/ is now built by default except for astcanary.

Review: https://reviewboard.asterisk.org/r/353/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@225440 f38db490-d61c-443f-a65b-d21fe96a405b
2009-10-22 19:33:32 +00:00
seanbright 5a0480ef21 Merged revisions 220213 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r220213 | seanbright | 2009-09-24 14:18:18 -0400 (Thu, 24 Sep 2009) | 1 line
  
  Resolve parallel build warnings.
  
  Reported by Klaus Darilion on the asterisk-dev mailing list.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@220217 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-24 18:19:41 +00:00
seanbright ebb32104ea Merged revisions 220099 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r220099 | seanbright | 2009-09-24 10:41:57 -0400 (Thu, 24 Sep 2009) | 2 lines
  
  Remove the remaining bashisms in the Makefile/mkpkgconfig
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@220100 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-24 14:44:08 +00:00
tilghman cf5263c6b9 Force Darwin on ppc platforms to compile with a target level that supports aliasing.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@214898 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-30 22:10:35 +00:00
kpfleming 63cc27ace8 Ensure that CFLAGS and/or LDFLAGS provided to configure script are preserved.
Cross-compilation environments want to provide 'defaults' for compiler and
linker options, and frequently do this by specifying CFLAGS and LDFLAGS in the
environment or as command-line arguments to the configure script. This patch
modifies the configure script and Makefile to preserve these settings and
ensure they are used in the build process.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@214696 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-28 20:01:21 +00:00
tilghman 8d00a1e9a7 The DTD should be installed in the same path as the rest of the XML documentation.
(closes issue #15344)
 Reported by: tzafrir
 Patches: 
       makefile_appdocs_dtd.diff uploaded by tzafrir (license 46)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@213904 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-25 02:54:07 +00:00
tilghman 069924f0fc Merged revisions 213899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r213899 | tilghman | 2009-08-24 21:40:22 -0500 (Mon, 24 Aug 2009) | 4 lines
  
  Use the default runlevels for Debian derivatives, instead of making up our own.
  (closes issue #14730)
   Reported by: pkempgen
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@213900 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-25 02:41:17 +00:00
kpfleming 7a4ba0f579 Merged revisions 210237 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r210237 | kpfleming | 2009-08-04 09:51:39 -0500 (Tue, 04 Aug 2009) | 10 lines
  
  Eliminate spurious compiler warnings from system headers on *BSD platforms.
  
  Ensure that system headers located in /usr/local/include are actually treated
  as system headers by the compiler, and not as local headers which are subject
  to warnings from the -Wundef compiler option and others.
  
  (closes issue #15606)
  Reported by: mvanbaak
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@210238 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-04 14:53:00 +00:00
kpfleming 7d535b1744 Revert accidental Makefile change.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@209761 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-01 01:04:06 +00:00
kpfleming 7c81679557 Merged revisions 209759 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r209759 | kpfleming | 2009-07-31 19:52:00 -0500 (Fri, 31 Jul 2009) | 7 lines
  
  Minor changes inspired by testing with latest GCC.
  
  The latest GCC (what will become 4.5.x) has a few new warnings, that in these
  cases found some either downright buggy code, or at least seriously poorly
  designed code that could be improved.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@209760 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-01 01:03:07 +00:00
kpfleming ce7d9a004b Restore explicit export of ASTCFLAGS/ASTLDFLAGS and underscore-variants to sub-makes.
During the recent Makefile improvements I made, it seemed the 'make' was
automatically carrying down the ASTCFLAGS/ASTLDFLAGS settings to sub-makes,
so I removed the explict export of them. However, there are some circumstances
where make does this, and some where it does not, so I've brought them back
to ensure they are always exported. I also removed an extraneous double setting
of _ASTLDFLAGS on *BSD platforms.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@209056 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-27 15:38:59 +00:00
kpfleming 3dbaf0de9a Merged revisions 207647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r207647 | kpfleming | 2009-07-21 08:04:44 -0500 (Tue, 21 Jul 2009) | 12 lines
  
  Ensure that user-provided CFLAGS and LDFLAGS are honored.
  
  This commit changes the build system so that user-provided flags (in ASTCFLAGS
  and ASTLDFLAGS) are supplied to the compiler/linker *after* all flags provided
  by the build system itself, so that the user can effectively override the
  build system's flags if desired. In addition, ASTCFLAGS and ASTLDFLAGS can now
  be provided *either* in the environment before running 'make', or as variable
  assignments on the 'make' command line. As a result, the use of COPTS and LDOPTS
  is no longer necessary, so they are no longer documented, but are still supported
  so as not to break existing build systems that supply them when building Asterisk.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@207680 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-21 13:28:04 +00:00
russell a3cb7071e2 Make addons build last - this is for Qwell.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204420 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-30 17:11:31 +00:00
russell e9d15cbea7 Move Asterisk-addons modules into the main Asterisk source tree.
Someone asked yesterday, "is there a good reason why we can't just put these
modules in Asterisk?".  After a brief discussion, as long as the modules are
clearly set aside in their own directory and not enabled by default, it is
perfectly fine.

For more information about why a module goes in addons, see README-addons.txt.

chan_ooh323 does not currently compile as it is behind some trunk API updates.
However, it will not build by default, so it should be okay for now.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204413 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-30 16:40:38 +00:00
russell ac3b35dcc7 Merge the new Channel Event Logging (CEL) subsystem.
CEL is the new system for logging channel events.  This was inspired after
facing many problems trying to represent what is possible to happen to a call
in Asterisk using CDR records.  For more information on CEL, see the built in
HTML or PDF documentation generated from the files in doc/tex/.

Many thanks to Steve Murphy (murf) and Brian Degenhardt (bmd) for their hard
work developing this code.  Also, thanks to Matt Nicholson (mnicholson) and
Sean Bright (seanbright) for their assistance in the final push to get this
code ready for Asterisk trunk.

Review: https://reviewboard.asterisk.org/r/239/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@203638 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-26 15:28:53 +00:00
kpfleming 14da66c6a0 When compiling in an Emacs-spawned shell, always print directory names.
This change ensures that Emacs can find the proper source files when parsing
compiler error messages, since it uses the 'make' output including directory
names to do it.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@201135 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-16 20:50:41 +00:00
kpfleming 12ab0bbe15 Redesigned 'optional API' support.
This patch provides a new implementation of the optional API support defined
in asterisk/optional_api.h; this new version provides solves compatibility
issues with the use of linker version scripts for suppressing global symbols.
In addition, there is now a functional (and tested!) implementation for Mac OS/X,
so module writers no longer need to use special tests before calling optional
API functions. All future implementations must provide these same semantics,
so that module writers can rely on them.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@200519 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-15 16:07:23 +00:00
seanbright 6f2caf4a50 Fix all of the parallel build warnings issued when running make -j#.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@199781 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-09 18:08:53 +00:00
russell 8f9e0a9c85 Switch from "echo -n" to printf. On my mac, the -n was just getting printed out.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@199368 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-06 21:38:54 +00:00
seanbright fb4732d783 Merged revisions 197998 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r197998 | seanbright | 2009-05-29 14:14:12 -0400 (Fri, 29 May 2009) | 8 lines
  
  Fix 'make config' target for Slackware.
  
  There was a missing semi-colon after the echo statement in the Makefile that was
  causing problems for some users.  Fix suggested by reporter.
  
  (closes issue #15225)
  Reported by: pdavis
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198000 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29 18:15:15 +00:00
seanbright 7bb32d5739 Use bash explicitly when calling build_tools/mkpkgconfig from the Makefile.
Since we use bashisms in build_tools/mkpkgconfig, we should call on bash
explicitly when running from the Makefile, otherwise we get errors during a
'make install.'

(closes issue #15209)
Reported by: seandarcy


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197260 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27 20:08:16 +00:00
eliel 1de32a5a62 Allow to include sections of other parts of the xml documentation.
Avoid duplicating xml documentation by allowing to include other parts of
the xml documentation using XInclude.
Example:
   <xi:include xpointer="xpointer(/docs/function[@name='CHANNEL']/synopsis)" />
(Insert this line to include the synopsis of the CHANNEL function xml
documentation).

It is also possible to include documentation from other files in the
'documentation/' directory using the href="" attribute inside a xinclude
element.

(closes issue #15107)
Reported by: lmadsen

(issue #14444)
Reported by: ewieling



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@194982 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-16 20:01:22 +00:00
russell c5236b3743 Remove unnecessary compiler flag
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@191884 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-03 14:05:10 +00:00
kpfleming efe37fcc3f Build XML documention from *only* the source files that have docs in them
Change the build process so that doc/core-en_US.xml is dependent solely on the source files that have documentation in them, not on all source files.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@190865 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-28 14:15:47 +00:00
russell 96781f975f Start splitting up miscellaneous doxygen documentation into separate files.
doxyref.h was created to hold miscellaneous documentation that was not specific
to a part of the code.  This file has grown quite a bit so I decided to start
splitting parts of it out into new files.  Now, you can drop a new file into
include/asterisk/doxygen/ and it will be processed by doxygen.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@186953 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-08 13:24:48 +00:00
mvanbaak 343b8e75b5 Make sure we terminate the first s| command so we can actually produce correct files.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@180382 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-05 19:05:20 +00:00
file 78d18e52a4 Merge phase 1 support for the new bridging architecture.
This commit brings in the bridging core, bridging technologies,
and the ConfBridge application.

For usage information on the ConfBridge application please see
the output of "core show application ConfBridge" from the CLI.

For API documentation please see the doxygen page describing the
architecture and the documentation for each API call.

Review: http://reviewboard.digium.com/r/93/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@180369 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-05 18:18:27 +00:00
mvanbaak 7421c44b11 set ASTVARRUNDIR=$(localstatedir)/run/asterisk as default path
When running asterisk as non-root and without this patch the pidfile wants
to go into /var/run/asterisk.pid. This directory is not writable for
the non-root user and changing permissions is not an option.
Putting it in /var/run/asterisk/asterisk.pid makes it possible
to set permissions on the /var/run/asterisk dir so everything
works as it should be.

Patched committed is based on pabelanger's patch.

(closes issue #13153)
Reported by: pabelanger
Patches:
      2009012900_bug13153-nonrootscripts.diff.txt uploaded by mvanbaak (license 7)

Review: http://reviewboard.digium.com/r/139/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@177852 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-21 13:13:35 +00:00
twilson f4c8743405 Add option to hide console connect messages
(closes issue #14222)
Reported by: jamesgolovich
Patches: 
      asterisk-hideconnect.diff.txt uploaded by jamesgolovich (license 176)
Tested by: otherwiseguy


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168585 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-13 23:00:27 +00:00
kpfleming 246ce365ae incorporates r159808 from branches/1.4:
------------------------------------------------------------------------
r159808 | kpfleming | 2008-11-29 10:58:29 -0600 (Sat, 29 Nov 2008) | 7 lines

update dev-mode compiler flags to match the ones used by default on Ubuntu Intrepid, so all developers will see the same warnings and errors

since this branch already had some printf format attributes, enable checking for them and tag functions that didn't have them

format attributes in a consistent way


------------------------------------------------------------------------

in addition:

move some format attributes from main/utils.c to the header files they belong in, and fix up references to the relevant functions based on new compiler warnings



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@159818 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-29 17:57:39 +00:00
kpfleming bc729d661c we can now build with -Wformat=2, which found a couple of real bugs
because SPRINTF() use non-literal format strings (which cannot be checked), move it into its own module so the rest of func_strings can benefit from format string checking



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@159774 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-29 15:29:33 +00:00
seanbright d5dcd2feb8 Fix a few build problems on Solaris (and check for an md5 utility in
configure instead of the icky loop I was doing before).

(closes issue #13842)
Reported by: snuffy
Patches:
      bug13842_20081106.diff uploaded by snuffy (license 35)
      13842.diff uploaded by seanbright (license 71)
Tested by: snuffy


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157600 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-19 00:27:45 +00:00
mmichelson 1be8f9fe8f Add some missing $(DESTDIR)s to the bininstall
target of the Makefile.

(closes issue #13875)
Reported by: pabelanger
Patches:
      Makefile.155928 uploaded by pabelanger (license 224)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157564 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-18 23:39:41 +00:00
qwell be51c79720 Remove echo line that is unnecessary (Thanks seanbright).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157463 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-18 21:15:08 +00:00
qwell fd973179a6 Add init script for ArchLinux
(closes issue #13667)
Reported by: sherif
Patches:
      archlinux_rc_makefile.patch uploaded by sherif (license 591)
      archlinux_rc_makefile-2.patch uploaded by mvanbaak (license 7)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157460 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-18 21:01:46 +00:00
kpfleming 296092ed22 Merged revisions 157162-157163 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r157162 | kpfleming | 2008-11-15 20:24:24 +0100 (Sat, 15 Nov 2008) | 1 line
  
  dist-clean should remove dependency information files as well
........
  r157163 | kpfleming | 2008-11-15 20:31:03 +0100 (Sat, 15 Nov 2008) | 1 line
  
  when an individual directory dist-clean is run, run clean in that directory first, and when running top-level dist-clean, do not run subdirectory clean operations twice
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157164 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-15 19:45:19 +00:00
eliel 9228df6bbb We need to pass the DTD to xmlstarlet to validate against it the XML.
(I thought it was being read within the DOCTYPE definition inside the XML).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@154329 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-04 20:12:41 +00:00
russell c04a0f396b validate-docs is a PHONY target
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153580 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02 05:56:50 +00:00
russell 90c4b5d251 Add a handy makefile target so that you can validate the documentation against the DTD
by running "make validate-docs"


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153578 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02 05:55:46 +00:00
russell 1a9a307e04 Modify the Makefile logic for extracting documentation.
- Build the documentation when you run "make", as opposed to "make install"
 - Only rebuild the documentation when source code has been changed


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153577 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02 05:47:13 +00:00
russell b1f91b97d2 Merge changes from team/group/appdocsxml
This commit introduces the first phase of an effort to manage documentation of the
interfaces in Asterisk in an XML format.  Currently, a new format is available for
applications and dialplan functions.  A good number of conversions to the new format
are also included.

For more information, see the following message to asterisk-dev:

http://lists.digium.com/pipermail/asterisk-dev/2008-October/034968.html


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153365 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-01 21:10:07 +00:00
mvanbaak 617bf894c9 Make sure we support nested functions and generation of trampolines
under OpenBSD.

(closes issue #13724)
Reported by: mvanbaak



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@150971 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-18 10:27:22 +00:00
oej 47c875fafd Make sure we support nested functions with GCC 4.01 OS/X. This might not be OS/X only,
but I'll leave it to kpfleming to add this to the configure script for testing.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@150469 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-17 08:13:13 +00:00
kpfleming 1a25e06e1f Merged revisions 148736 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r148736 | kpfleming | 2008-10-14 12:30:54 +0200 (Tue, 14 Oct 2008) | 3 lines
  
  on Ubuntu (at least), recent versions of ld in binutils delete all debugging symbols when -x is supplied; since the reasons why -x is being passed are lost in the mists of time, remove it so debugging will work properly
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148738 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14 10:33:14 +00:00
mmichelson 26370991d0 Too many times have I mistyped the word
'install' as 'isntall'

Now this typo shall no longer be a problem since
'make isntall' just builds the 'install' target.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145381 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01 14:44:12 +00:00
kpfleming db07a1f968 Merged revisions 144924-144925 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r144924 | kpfleming | 2008-09-27 10:00:48 -0500 (Sat, 27 Sep 2008) | 6 lines
  
  improve header inclusion process in a few small ways:
  
    - it is no longer necessary to forcibly include asterisk/autoconfig.h; every module already includes asterisk.h as its first header (even before system headers), which serves the same purpose
    - astmm.h is now included by asterisk.h when needed, instead of being forced by the Makefile; this means external modules will build properly against installed headers with MALLOC_DEBUG enabled
    - simplify the usage of some of these headers in the AEL-related stuff in the utils directory
........
  r144925 | kpfleming | 2008-09-27 10:13:30 -0500 (Sat, 27 Sep 2008) | 2 lines
  
  fix some minor issues with rev 144924
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144949 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-27 15:52:56 +00:00
qwell ab06baf0e6 Merged revisions 141741 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r141741 | qwell | 2008-09-08 15:15:42 -0500 (Mon, 08 Sep 2008) | 8 lines

Remove RPM package targets from Makefile (and all associated parts).
This has never worked in 1.4, and we decided that it makes no sense to be done here.
There are many distros out there that already have "proper" spec files that can be (re)used.

Closes issue #13113
Closes issue #10950
Closes issue #10952

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@141745 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-08 20:18:17 +00:00
russell b7a906c9c5 Fix building menuselect-tree with PRINT_DIR set. We _must_ use the --quiet
flag here, or else some arbitrary text will end up in the resulting
menuselect-tree file and things will explode.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@140169 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-26 18:11:49 +00:00
tilghman 418c56e5d6 Optional light colored background, for those who use black on white terminals.
(closes issue #13306)
 Reported by: Corydon76
 Patches: 
       20080814__bug13306__3.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76, pkempgen


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@139981 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-25 23:13:32 +00:00
qwell a5a1205921 Remove option that isn't valid here.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@138631 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-18 15:54:07 +00:00
russell 27f372f2af Make PRINT_DIR work as advertised.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137239 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-11 16:14:29 +00:00
tilghman 24dbdf83ca Rename Mandrake scripts to Mandriva
(Closes issue #13221)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135485 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-04 17:12:15 +00:00
kpfleming c874d37df5 Merged revisions 134352 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r134352 | kpfleming | 2008-07-30 10:29:17 -0500 (Wed, 30 Jul 2008) | 2 lines

use the proper method for building version.h

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134355 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-30 15:32:14 +00:00
tilghman 58e599d7e9 Minor changes to reduce packaging changes made by the Fedora maintainer.
(closes issue #12974)
 Reported by: jcollie
 Patches: 
       0001-Don-t-override-duplicate-optimization-flags.patch uploaded by jcollie (license 412)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134312 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-29 23:00:45 +00:00
tilghman 3635a9497d Build the logrotate script according to paths
(Closes issue #13147)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133400 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-24 05:21:00 +00:00
tilghman 58c99ecfe6 Optionally install logrotate file
(Closes issue #13148)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133391 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-24 04:51:42 +00:00
twilson 0d0d1cb356 Move phoneprov config files to be installed with 'make samples' so changes aren't inadvertently lost on a 'make install'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129738 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-10 20:56:20 +00:00
kpfleming c5397c46c7 Merged revisions 127892,127895 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r127892 | kpfleming | 2008-07-03 17:18:38 -0500 (Thu, 03 Jul 2008) | 6 lines

a couple of small Solaris-related fixes

(closes issue #11885)
Reported by: snuffy, asgaroth


........
r127895 | kpfleming | 2008-07-03 17:20:16 -0500 (Thu, 03 Jul 2008) | 3 lines

remove this, it has been moved to the main Makefile


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127903 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03 22:23:04 +00:00
qwell fdf4a35947 Fix a typo that caused this asterisk.conf to not get correctly generated.
(closes issue #12966)
Reported by: ibc
Patches:
      12966.patch uploaded by bkruse (license 132)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127152 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01 20:51:43 +00:00
kpfleming cc094bb8e1 fix silly syntax error
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126154 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-28 14:56:56 +00:00
kpfleming b480a0255a add message when no UI for menuselect is present
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126153 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-28 14:46:08 +00:00
kpfleming e97a7cce7f use batch-mode (no user interface) menuselect for --check-deps operations
move automatic user interface selection for menuselect to this Makefile



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126152 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-28 14:34:07 +00:00
tilghman d9cd752b99 Push relatively unused compiler options down the list, keeping the popular options at the top.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@125796 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-27 14:08:38 +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
tilghman 0a568addd8 Move compatibility options into asterisk.conf, default them to on for upgrades,
and off for new installations.  This includes the translation from pipes to commas
for pbx_realtime and the EXEC command for AGI, as well as the change to the Set
application not to support multiple variables at once.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@120171 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-03 22:05:16 +00:00
tilghman 24584b459e Merged revisions 115312 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115312 | tilghman | 2008-05-05 15:17:55 -0500 (Mon, 05 May 2008) | 2 lines

Reverse order, such that user configs override default selections

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115313 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05 20:22:08 +00:00
russell 2049774232 Merged revisions 114278 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114278 | russell | 2008-04-18 15:01:09 -0500 (Fri, 18 Apr 2008) | 2 lines

ensure directories are created before we try to install stuff into them

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114279 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 20:01:47 +00:00
russell d54a6d5827 Merged revisions 114275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114275 | russell | 2008-04-18 14:58:55 -0500 (Fri, 18 Apr 2008) | 2 lines

SUBDIRS_INSTALL is already listed as a subtarget for bininstall

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114276 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 19:59:17 +00:00
russell 34c9a24433 Merged revisions 114204 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114204 | russell | 2008-04-17 11:23:45 -0500 (Thu, 17 Apr 2008) | 3 lines

Fix the bininstall target to install from subdirs, as well.
(closes issue AST-8, patch from bmd at switchvox)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114205 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 16:25:29 +00:00
russell feb7712320 Ensure configure gets run on a clean checkout.
(closes issue #12197)
Reported by: juggie
Patches:
      12197.diff uploaded by juggie (license 24)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111998 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-31 17:14:58 +00:00
juggie 9fbede4952 revert something dumb, because i was running svn diff in a subfolder not the root of trunk, before doing my commit and did not see it
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110930 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26 17:28:49 +00:00
juggie fdce67d61a update documentation to reflect the changes in the way configure detects net-snmp.
(closes issue #12067)
Reported by: juggie
Patches:
      12067_snmp_doc.patch uploaded by juggie (license 24)
Tested by: juggie


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110911 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26 17:24:54 +00:00
file 3eb4aac765 Merged revisions 110628 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r110628 | file | 2008-03-25 11:37:35 -0300 (Tue, 25 Mar 2008) | 4 lines

Add an option (transmit_silence) which transmits silence during both Record() and DTMF generation. The reason this is an option is that in order to transmit silence we have to setup a translation path. This may not be needed/wanted in all cases.
(closes issue #10058)
Reported by: tracinet

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110629 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-25 14:39:45 +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 9e8ebe6a94 Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
actual problems, per se.  I also added format attributes to any printf wrapper functions I found that didn't have them.  -Wsecurity and -Wmissing-format-attribute added to --enable-dev-mode.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109447 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18 15:43:34 +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
russell fceca972ee Make sure configure is run before menuselect on a clean checkout
(closes issue #12197)
Reported by: juggie
Patches:
      12197.diff uploaded by juggie (license 24)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@108799 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14 20:14:06 +00:00
qwell be3bfd73ff Add a cmenuselect/cmenuconfig, to force curses.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106250 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-05 23:21:52 +00:00
russell 3204730ab2 Add the nmenuselect makefile targets. This is a newt menuselect interface which
was written by seanbright.  It is much sexier than my curses one.  :)

(issue #12139)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106240 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-05 22:50:00 +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
qwell 5485ea4bcc Merged revisions 104141 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104141 | qwell | 2008-02-26 12:26:12 -0600 (Tue, 26 Feb 2008) | 1 line

Add badshell to .PHONY target (thanks Kevin)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104142 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26 18:27:08 +00:00
qwell c573421645 Merged revisions 104139 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104139 | qwell | 2008-02-26 12:09:13 -0600 (Tue, 26 Feb 2008) | 2 lines

Since all shells aren't as awesome as bash, we have to fail if somebody tries to use a literal "~" in DESTDIR.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104140 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26 18:10:20 +00:00
russell 632edc61f9 Merged revisions 100922 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100922 | russell | 2008-01-29 11:21:33 -0600 (Tue, 29 Jan 2008) | 3 lines

Use GNU make magic instead of shell magic to escape spaces in the working directory.
(related to issue #11834)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100928 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 17:22:47 +00:00
russell 1ab33dc185 Merged revisions 100882 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100882 | russell | 2008-01-29 11:06:43 -0600 (Tue, 29 Jan 2008) | 6 lines

Fix building Asterisk when the working path has spaces in it.

(closes issue #11834)
Reported by: spendergrass
Patched by: me

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100900 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 17:16:34 +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
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
qwell 0313a5412f Add logging for 'make update' command (also fixes updates in some places). Issue #11766, initial patch by jmls.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98968 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-16 18:06:14 +00:00
twilson 11f6af8c7b Added a new module, res_phoneprov, which allows auto-provisioning of phones
based on configuration templates that use Asterisk dialplan function and
variable substitution.  It should be possible to create phone profiles and
templates that work for the majority of phones provisioned over http. It
is currently only intended to provision a single user account per phone.
An example profile and set of templates for Polycom phones is provided.
NOTE: Polycom firmware is not included, but should be placed in
AST_DATA_DIR/phoneprov/configs to match up with the included templates.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97634 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 21:37:26 +00:00
russell c25a66aadc If the HTML documentation exists, install it in the static-http/docs directory
so that it can be viewed through the Asterisk http server if it is turned on.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96887 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 17:09:23 +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 4aa174283d we have to *always* use a completely silent 'make' invocation for generating the module embedding rules
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96398 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 23:14:15 +00:00
kpfleming d16144aac4 there was no reason to add this define for non-Solaris platforms
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96397 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 23:01:53 +00:00
kpfleming 2733c4c4a6 add some simple infrastructure for modules to be used for testing parts of Asterisk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96272 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 20:04:30 +00:00
russell 3377f3a6cd Merged revisions 94789 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94789 | russell | 2007-12-26 11:00:03 -0600 (Wed, 26 Dec 2007) | 5 lines

List include/asterisk/version.h as a .PHONY target because we want the commands
listed for this target to be executed regardless of whether the file exists or
not.  This fixes having the version not up to date when running from svn.
(closes issue #11619, reported by plack, fixed by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94792 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 17:07:55 +00:00
rizzo 468d95b231 Two small changes:
+ document the difference between "A=foo make ..." and "make A=foo ..."
  and suggest using COPTS/LDOPTS if you need to use the second form to
  pass compiler and loader flags;

+ define only in one place the environment used to build stuff in menuselect/



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93558 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-18 08:20:17 +00:00
kpfleming 6eb087c2b3 make using PRINT_DIR a little easier
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93191 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17 16:48:01 +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 d1afe77d7d menuselect.makeopts is not a .PHONY target
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93173 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-16 19:06:31 +00:00
rizzo 85bbad5334 use a simpler idiom for 'cmp -s ...'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93162 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-16 10:34:55 +00:00
tilghman a4425cc28d Solaris compat fixes
Reported by: snuffy
Patch by: snuffy,tilghman
(Closes issue #11315)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93090 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-14 21:09:17 +00:00