dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

561 Commits

Author SHA1 Message Date
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