Commit Graph

1896 Commits

Author SHA1 Message Date
Kevin P. Fleming 000ba592b2 more Makefile cleanup and consistency stuff
don't reuse LIBS variable from top-level Makefile (oops)
build Asterisk binary after subdirs (preparing for embedded modules)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-15 19:59:35 +00:00
Tilghman Lesher 88a0996656 Merged revisions 37612 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37612 | tilghman | 2006-07-14 08:31:11 -0500 (Fri, 14 Jul 2006) | 2 lines

Bug 7526 - previous commit broke app_sms

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-14 13:34:25 +00:00
Tilghman Lesher 954b0dd624 Whitespace fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-14 06:03:41 +00:00
Tilghman Lesher d8ccfb6711 Whitespace fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-14 05:42:06 +00:00
Kevin P. Fleming 3e9edd2702 Merged revisions 37571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37571 | kpfleming | 2006-07-13 16:22:11 -0500 (Thu, 13 Jul 2006) | 2 lines

don't fail/abort if the message category sound file cannot be played, just generate a warning message and continue message playback

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 21:23:11 +00:00
Kevin P. Fleming dea45f3aa3 only compare the queue entry's max penalty to the member's penalty when the queue entry actually has a non-zero penalty
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 15:37:56 +00:00
Kevin P. Fleming ce8a649696 Merged revisions 37441-37442 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37441 | kpfleming | 2006-07-12 10:46:56 -0500 (Wed, 12 Jul 2006) | 3 lines

fix a case where ast_lock_path() could leave a randomly-named lock file hanging around
make ast_unlock_path actually report when unlocking fails

........
r37442 | kpfleming | 2006-07-12 10:53:53 -0500 (Wed, 12 Jul 2006) | 2 lines

fix a weird case where a lock file could be left (but would happen almost never)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 15:20:02 +00:00
Russell Bryant f8df42ad97 fix some more app_voicemail breakage
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 22:10:59 +00:00
Russell Bryant 81dc532887 fix the build options for app_voicemail
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 20:35:14 +00:00
Kevin P. Fleming 5b639e6135 Merged revisions 37419 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37419 | kpfleming | 2006-07-12 08:54:10 -0500 (Wed, 12 Jul 2006) | 2 lines

remove some more bad examples of using printf

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 14:04:16 +00:00
Mark Spencer 4c90cf59b7 Support hold/unhold in Zap, update IAX2 parser to know about modern commands, forward hold/unhold in dial, add hold device state
and implement holding in the SLA.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-08 02:24:07 +00:00
Russell Bryant 7791079219 pointer signedness warnings cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 16:01:36 +00:00
Russell Bryant 41bfcf3c57 pointer signedness warnings cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 15:58:20 +00:00
Kevin P. Fleming 3be4c8d3eb actually do proper searching for c-client and output the results so app_voicemail can be built against it
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 02:20:04 +00:00
Kevin P. Fleming bc9ed9f5c4 various minor fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 00:48:40 +00:00
Kevin P. Fleming 748431f7b6 move rules file to prepare for generic rules file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 21:04:28 +00:00
Kevin P. Fleming dbf099cdb8 update dependency information to match new names for dependencies
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 20:12:29 +00:00
Kevin P. Fleming d5b7bf2ab7 massive rework of configure script, and split of AST_EXT_LIB into separate macros, reducing code duplication
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 19:59:34 +00:00
Matt O'Gorman 76f85726aa fix a compiler warning and clean up the code a bit.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 18:45:40 +00:00
Tilghman Lesher 2127a0b7e5 Change superfluous messages to DEBUG and remove dead code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 18:08:18 +00:00
Kevin P. Fleming f761d2f6f0 prepare Asterisk for new zaptel.h/tonezone.h installation locations
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 16:44:41 +00:00
Olle Johansson ec9d4711d7 - Add notes about voicemail depending on res_adsi
- Remove obsolete modules from modules.conf.sample
  (make install will warn if those exist on the machine)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 06:06:23 +00:00
Tilghman Lesher a58afaa03b Whitespace fixes only.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 13:26:10 +00:00
Olle Johansson fea7dd0b31 Add some comments to the SLA code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 07:40:08 +00:00
Russell Bryant a4c7a1c97c reduce indentation a couple of levels
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 05:32:08 +00:00
Russell Bryant 03a277c5cc - remove an unused variable
- use ast_calloc instead of malloc + memset
- return immediately on ast_calloc failure instead of indenting the whole func
- remove a duplicate ast_strdupa


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 03:39:37 +00:00
Russell Bryant a717eef7c1 add RDNIS to the DumpChan application (issue #7432, junky)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 03:34:47 +00:00
Mark Spencer 79221df76c First pass at SLA support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-01 23:54:43 +00:00
Matt O'Gorman 109737eb1c Updates from transnexus to osplookup, removes res_osp
and puts all logic into the app, documentation provided now
in osp.txt.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-30 15:12:35 +00:00
Tilghman Lesher 1c76072e4b Merged revisions 36377 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36377 | tilghman | 2006-06-30 09:05:53 -0500 (Fri, 30 Jun 2006) | 5 lines

Bug 7349 - Directory did not work correctly when USE_ODBC_STORAGE was defined.

Note: Russell agreed that this should have worked, which is why this is
classified as a bugfix.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-30 14:10:53 +00:00
Olle Johansson f8311adcda METERMAIDS:
-----------
- Adding devicestate providers, a new architecture to add non-channel related
  device state information, like parking lots, queues, meetmes, vending machines
  and Windows 98 reboots (lots of blinking on those lights)
- Adding provider for parking lots, so you can subscribe to the status of a
  parking lot
- Adding provider for meetme, so you can have a blinking lamp for a meetme
  ( Example: exten => edvina,hint,meetme:1234 )
- Adding support for directed parking - set the PARKINGEXTEN before you manually
  call Park() and you will be parked on that space. If it's occupied, dialplan
  execution will continue.

This work was sponsored by Voop A/S - www.voop.com


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 16:43:21 +00:00
Olle Johansson 71411c6bae - Formatting
- Don't name internal static functions ast_
- Expand the buffer for variables, since I almost always hit the limit on my channels


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 08:40:30 +00:00
Kevin P. Fleming a579371f43 use new (separate) dependencies file from menuselect
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-25 08:50:14 +00:00
Kevin P. Fleming e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 19:43:31 +00:00
Kevin P. Fleming df0ba5ff8b search for Zaptel and libtonezone separately in the configure script
various other minor fixes


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 08:45:49 +00:00
BJ Weschke 0d0fadc781 Merged revisions 35669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r35669 | bweschke | 2006-06-23 06:30:17 -0500 (Fri, 23 Jun 2006) | 3 lines

 We should lock the queue before we go making changes to member interface statuses.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 11:33:02 +00:00
Russell Bryant 53a56fcfe7 remove various commands that remove old modules since they have been there a
sufficient amount of time.  Even if they happen to be still present, the main
Makefile will spit out a huge warning telling the user that modules not
installed by that run of "make install" are present in the modules directory.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 01:29:41 +00:00
Tilghman Lesher 89f6ffe1e5 Bug 6589 - option to display channel variables in queue events
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 15:43:02 +00:00
Russell Bryant 48ae9f0d4f - convert the 'uninstall' target to use separate targets to process each
subdirectory instead of a for loop
- remove the FORCE target from the main Makefile and add the couple places
  I used it to the .PHONY target.  .PHONY does the same thing and is a built-in
  more efficient way of doing it.
- add a bunch more targets to .PHONY ...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 15:38:13 +00:00
Russell Bryant 55e8a60363 - specify that 'depend' is a .PHONY target
- use separate targets instead of a for loop for doing 'make depend' for
  each sub directory


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 15:08:08 +00:00
Russell Bryant 9db0520ff9 - specify that 'all' is a .PHONY target
- add a copyright header to the build_tools Makefile
- remove 'depend' from the 'all' target in agi/ and utils/ since it is handled
  by the main Makefile already


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 14:09:18 +00:00
Russell Bryant c399a06450 add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
since they are targets that do not have resulting files and are never listed
as prerequisites to real targets.  Using .PHONY in this manner improves make
performance by never having to check for resulting files.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 11:27:03 +00:00
Joshua Colp 0224dee876 Actually allow realtime queue members to be added (issue #7408 reported by tgrman)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-21 18:39:56 +00:00
Tilghman Lesher 2c3e94f289 Bug 7399 - Sample config showed [general] as the context, so the app should look there, too.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 22:26:16 +00:00
Joshua Colp e6958d9c5e Merged revisions 34911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34911 | file | 2006-06-19 17:27:44 -0300 (Mon, 19 Jun 2006) | 2 lines

Call reset_user_pw upon changing the password using externpass (issue #7395 reported by Ryan Cumming)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 20:29:08 +00:00
Tilghman Lesher ea05183652 Merged revisions 34875 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34875 | tilghman | 2006-06-19 13:07:26 -0500 (Mon, 19 Jun 2006) | 2 lines

Issue 7357 - txt file left behind when going to operator.  Also, fix a possible file descriptor leak.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 18:11:04 +00:00
Russell Bryant 9f2a6516cf don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
is valid in some cases, such as "make clean".


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 00:14:16 +00:00
Kevin P. Fleming e49a367ecf commit russell's menuselect/buildoptions work with some changes:
reverted per-directory .cleancount support
  added ability for 'remove_on_change' to support multiple filenames
  add 'remove_on_change' support to members, not just categories
  only do 'remove_on_change' removals if the config is actually saved
  add a 'remove_on_change' entry for each module found by prep_moduledeps so that if it gets turned off any existing .o/.so files will disappear


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-18 12:52:08 +00:00
Russell Bryant 4691e6a29e remove IMAP_STORAGE from the build options list for app_voicemail since it's
not in trunk yet


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 17:53:26 +00:00
Russell Bryant 287fce05d0 add support for setting the CFLAGS for voicemail storage options in menuselect
Thanks to kpfleming for the Makefile magic :)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 16:17:43 +00:00