dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

511 Commits

Author SHA1 Message Date
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
rizzo cce381675e Fix the detection of modules installed from this build.
You can now add the path of local module subdirs from the command line with
   make LOCAL_MOD_SUBDIRS= ....




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92083 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-10 04:18:07 +00:00
rizzo 8cc18059de make the install target a bit less noisy
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92063 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-10 02:06:40 +00:00
rizzo f0c6161001 document usage of several exported variables
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92062 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-10 01:54:40 +00:00
rizzo 992c109dc4 Implement the outcome of a discussion on the -dev list re. the use
of DESTDIR and INSTALL_PATH - many thanks to Tzafrir Cohen and
Simon Perreault for extremely useful feedback:
 
1. comment out the [directories] section the created asterisk.conf ;
   you can set the correct defaults at build time using INSTALL_PATH,
   so the repetition here is redundant and often wrong.
   (The next step now is move asterisk.conf outside the Makefile to
   asterisk.conf.sample, because there is little if anything here
   that needs to be constructed at build/install time).
 
2. use DESTDIR?=$(INSTALL_PATH) so you only need to specify a path
   once if the two coincide. This should have no ill side effects, 
   because if you don't specify DESTDIR, you really need
   INSTALL_PATH="" to set the correct defaults, and if you specify
   DESTDIR the value is not overridden.

The second part required moving the 'export DESTDIR' right after
the assignment to prevent DESTDIR getting set by the export 
(this is documented in the Makefile).o hopefully avoid the mistake)$

With this change you can now do something like this from your source tree:

	make INSTALL_PATH=/some/place install samples

and then

	main/asterisk -vdc

which will pick up the correct config files and libraries from
/some/place - i.e. great for developers!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92002 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-09 16:47:25 +00:00
qwell 80cb3f85ab Add Makefile alias target 'pdf' which does the same thing as asterisk.pdf.
Issue 11452, reported by blitzrage.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90929 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-04 18:15:17 +00:00
russell e09e950389 make sure we check to see if the configure script has been executed on a new checkout or after a distclean
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89590 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-26 17:25:08 +00:00
rizzo e87c861cca initial makefile changes to build loadable modules under cygwin
(not complete yet - still need to sort out dependecies on res_*)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89443 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20 07:42:38 +00:00
rizzo ba23cef4c0 will i ever get precedences for windows right ?
in the meantime, use a variable to ease enabling/disabling print subdirectories.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89390 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 19:27:51 +00:00
rizzo 49ec17e59f reformulate dependencies in a more correct way
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89389 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 19:00:07 +00:00
rizzo aaec5b990e wrong variable, wrong order -> broken build.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89381 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 14:44:03 +00:00
rizzo c1f095dd97 support cygwin targets
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89376 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 11:57:52 +00:00
rizzo ed06295d0c these linker flags apply to both cygwin and mingw32
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89369 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 10:12:43 +00:00