Commit Graph

1866 Commits

Author SHA1 Message Date
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
BJ Weschke 2e8a142c85 Don't ast_request a channel structure twice when a call is being forwarded. (#7362 - twlison / vechers confirming fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 12:18:18 +00:00
Kevin P. Fleming b5a13cbef8 Merged revisions 34274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34274 | kpfleming | 2006-06-15 08:30:22 -0500 (Thu, 15 Jun 2006) | 3 lines

don't use prefixed structure names for internal structures
don't use a plural structure name for a singular object

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-15 13:35:04 +00:00
Tilghman Lesher 2ee2b192e3 Merged revisions 34242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34242 | tilghman | 2006-06-15 07:40:10 -0500 (Thu, 15 Jun 2006) | 3 lines

VoicemailMain exits on any key, when the language is set to Italian, instead of
properly handling the key (issue 7353).

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-15 12:41:24 +00:00
Kevin P. Fleming aba00b66fc use the proper named constants for checking device state, and don't treat UNKNOWN as not available in autofill mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 23:24:26 +00:00
Kevin P. Fleming 7518a91032 various coding style cleanup and minor fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 23:20:08 +00:00
Kevin P. Fleming 11dac47877 Merged revisions 34159-34160 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34159 | kpfleming | 2006-06-14 17:17:37 -0500 (Wed, 14 Jun 2006) | 2 lines

use existing dial string parser for strings supplied to iax2_devicestate, because they can be complete dial strings, not just device names

........
r34160 | kpfleming | 2006-06-14 17:22:21 -0500 (Wed, 14 Jun 2006) | 2 lines

coding style cleanups on queue interface handling code that was committed for the last release

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 22:35:49 +00:00
Kevin P. Fleming 39b9a1c945 Merged revisions 34087 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34087 | kpfleming | 2006-06-14 09:07:53 -0500 (Wed, 14 Jun 2006) | 2 lines

clarify file headers that mention disclaimer usage

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 14:12:56 +00:00
Jim Dixon 8f77de5ebd Allowed proper tx/rx signal exclusivity for simplex repeater modes
on 2 wire interfaces


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 23:46:41 +00:00
Kevin P. Fleming 0af1edefb6 Merged revisions 33841 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33841 | kpfleming | 2006-06-13 08:30:06 -0500 (Tue, 13 Jun 2006) | 2 lines

memory allocation optimizations

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 13:40:58 +00:00
Russell Bryant 883d0f7a05 destroy the loaded say.conf on module unload
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 04:40:15 +00:00
Russell Bryant 50dff0e818 fix a place where code returns without unlocking the vm users list and various
places where code returns without destroying loaded configuration


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 04:37:36 +00:00
Russell Bryant 85560a175c Merged revisions 33781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33781 | russell | 2006-06-13 00:20:10 -0400 (Tue, 13 Jun 2006) | 3 lines

add a missing close of an open fd, destroy of open config, and removal of the
calling channel from the localusers list

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 04:21:10 +00:00
Joshua Colp c311827dc9 Merged revisions 33724 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33724 | file | 2006-06-12 18:34:38 -0300 (Mon, 12 Jun 2006) | 2 lines

Greatly simply the mixmonitor thread, and move channel reference directly to spy structure so that the core can modify it.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 21:37:29 +00:00
Russell Bryant 4cef7b714e fix up some places where frames are not free'd and remove an unnecessary
unlock of the confs list where it is not possible for it to be locked


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 21:12:56 +00:00
Russell Bryant f1d5c83b8a Merged revisions 33515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33515 | russell | 2006-06-11 16:48:41 -0400 (Sun, 11 Jun 2006) | 4 lines

fix a place that would leak a frame (all of these fixes are in applications
that call ast_read() on a channel but have code paths in them that would not 
free the frame)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 20:49:16 +00:00
Russell Bryant 67cae6a0c7 Merged revisions 33513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33513 | russell | 2006-06-11 16:45:06 -0400 (Sun, 11 Jun 2006) | 2 lines

fix a couple places that would leak a frame

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 20:46:05 +00:00
Russell Bryant d13b9e74be Merged revisions 33510 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33510 | russell | 2006-06-11 16:38:39 -0400 (Sun, 11 Jun 2006) | 2 lines

fix two places that would cause a frame to be leaked

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 20:39:19 +00:00
Russell Bryant 7100403fd9 Merged revisions 33480 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33480 | russell | 2006-06-11 11:08:12 -0400 (Sun, 11 Jun 2006) | 2 lines

fix a case where an HTML frame would be leaked

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 15:09:06 +00:00
Russell Bryant e0bd903246 Merged revisions 33466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33466 | russell | 2006-06-11 11:02:40 -0400 (Sun, 11 Jun 2006) | 4 lines

Free frames read from the channel when measuring noise.  This resulted in about
9 or 10 seconds of leaked frames in both the TestClient and TestServer
applications

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 15:04:36 +00:00
Russell Bryant 558d3924ac don't leak a frame when breaking out of the loop on a timeout
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 14:52:04 +00:00
Russell Bryant b4e2138311 don't leak a frame when exiting when the user presses '#'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 14:48:25 +00:00
Russell Bryant 1ab804f0ab don't leak a frame when breaking out of the main loop of this app
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 14:44:58 +00:00
Kevin P. Fleming 3e41331bf3 get rid of some more compiler warnings (thanks tholo for making me fix the lpc10 stuff... that had been a problem for far too long)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 23:13:52 +00:00
Kevin P. Fleming 8d88bf549d there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 20:40:10 +00:00
Joshua Colp dcab298cfc Don't double check existence of a variable (issue #7300 reported by foamdino)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 19:05:30 +00:00
Joshua Colp a23af6559c Merged revisions 33294 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33294 | file | 2006-06-09 15:08:00 -0300 (Fri, 09 Jun 2006) | 2 lines

Handle hangup during recording of screened name (issue #7304 reported by kulldominique)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 18:12:46 +00:00
Joshua Colp e3fe7e1c08 Add more missing newlines (issue #7323 reported by darkskiez)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 16:36:54 +00:00
Olle Johansson 9f5aa13142 Rename ast_rtp_early_media to ast_rtp_early_bridge to avoid confusion.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 09:47:44 +00:00
Olle Johansson dfaa7fd8cf Doxygen update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 08:10:58 +00:00
Russell Bryant 43b82059a5 fix a typo in an option name in config parsing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 20:08:29 +00:00