[svn-commits] twilson: branch group/manager_http_auth r161913 - in /team/group/manager_http...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Dec 8 17:34:09 CST 2008


Author: twilson
Date: Mon Dec  8 17:34:07 2008
New Revision: 161913

URL: http://svn.digium.com/view/asterisk?view=rev&rev=161913
Log:
This doesn't build yet, I'm getting a weird infinite loop in menuselect, but I'm not sure why.

Added:
    team/group/manager_http_auth/autoconf/
      - copied from r161830, trunk/autoconf/
    team/group/manager_http_auth/autoconf/acx_pthread.m4
      - copied unchanged from r161830, trunk/autoconf/acx_pthread.m4
    team/group/manager_http_auth/autoconf/ast_c_compile_check.m4
      - copied unchanged from r161830, trunk/autoconf/ast_c_compile_check.m4
    team/group/manager_http_auth/autoconf/ast_c_define_check.m4
      - copied unchanged from r161830, trunk/autoconf/ast_c_define_check.m4
    team/group/manager_http_auth/autoconf/ast_check_gnu_make.m4
      - copied unchanged from r161830, trunk/autoconf/ast_check_gnu_make.m4
    team/group/manager_http_auth/autoconf/ast_check_mandatory.m4
      - copied unchanged from r161830, trunk/autoconf/ast_check_mandatory.m4
    team/group/manager_http_auth/autoconf/ast_check_openh323.m4
      - copied unchanged from r161830, trunk/autoconf/ast_check_openh323.m4
    team/group/manager_http_auth/autoconf/ast_check_pwlib.m4
      - copied unchanged from r161830, trunk/autoconf/ast_check_pwlib.m4
    team/group/manager_http_auth/autoconf/ast_ext_lib.m4
      - copied unchanged from r161830, trunk/autoconf/ast_ext_lib.m4
    team/group/manager_http_auth/autoconf/ast_ext_tool_check.m4
      - copied unchanged from r161830, trunk/autoconf/ast_ext_tool_check.m4
    team/group/manager_http_auth/autoconf/ast_func_fork.m4
      - copied unchanged from r161830, trunk/autoconf/ast_func_fork.m4
    team/group/manager_http_auth/autoconf/ast_gcc_attribute.m4
      - copied unchanged from r161830, trunk/autoconf/ast_gcc_attribute.m4
    team/group/manager_http_auth/autoconf/ast_prog_egrep.m4
      - copied unchanged from r161830, trunk/autoconf/ast_prog_egrep.m4
    team/group/manager_http_auth/autoconf/ast_prog_ld.m4
      - copied unchanged from r161830, trunk/autoconf/ast_prog_ld.m4
    team/group/manager_http_auth/autoconf/ast_prog_ld_gnu.m4
      - copied unchanged from r161830, trunk/autoconf/ast_prog_ld_gnu.m4
    team/group/manager_http_auth/autoconf/ast_prog_sed.m4
      - copied unchanged from r161830, trunk/autoconf/ast_prog_sed.m4
    team/group/manager_http_auth/build_tools/get_documentation
      - copied unchanged from r161830, trunk/build_tools/get_documentation
    team/group/manager_http_auth/doc/appdocsxml.dtd
      - copied unchanged from r161830, trunk/doc/appdocsxml.dtd
    team/group/manager_http_auth/funcs/func_sprintf.c
      - copied unchanged from r161830, trunk/funcs/func_sprintf.c
    team/group/manager_http_auth/include/asterisk/buildinfo.h
      - copied unchanged from r161830, trunk/include/asterisk/buildinfo.h
    team/group/manager_http_auth/include/asterisk/optional_api.h
      - copied unchanged from r161830, trunk/include/asterisk/optional_api.h
    team/group/manager_http_auth/include/asterisk/xml.h
      - copied unchanged from r161830, trunk/include/asterisk/xml.h
    team/group/manager_http_auth/include/asterisk/xmldoc.h
      - copied unchanged from r161830, trunk/include/asterisk/xmldoc.h
    team/group/manager_http_auth/main/xml.c
      - copied unchanged from r161830, trunk/main/xml.c
Removed:
    team/group/manager_http_auth/acinclude.m4
Modified:
    team/group/manager_http_auth/   (props changed)
    team/group/manager_http_auth/CHANGES
    team/group/manager_http_auth/Makefile
    team/group/manager_http_auth/UPGRADE.txt   (contents, props changed)
    team/group/manager_http_auth/agi/Makefile
    team/group/manager_http_auth/agi/eagi-sphinx-test.c
    team/group/manager_http_auth/agi/eagi-test.c
    team/group/manager_http_auth/apps/app_adsiprog.c
    team/group/manager_http_auth/apps/app_alarmreceiver.c
    team/group/manager_http_auth/apps/app_amd.c
    team/group/manager_http_auth/apps/app_authenticate.c
    team/group/manager_http_auth/apps/app_cdr.c
    team/group/manager_http_auth/apps/app_chanisavail.c
    team/group/manager_http_auth/apps/app_channelredirect.c
    team/group/manager_http_auth/apps/app_chanspy.c
    team/group/manager_http_auth/apps/app_controlplayback.c
    team/group/manager_http_auth/apps/app_dahdibarge.c
    team/group/manager_http_auth/apps/app_dahdiras.c
    team/group/manager_http_auth/apps/app_dahdiscan.c
    team/group/manager_http_auth/apps/app_db.c
    team/group/manager_http_auth/apps/app_dial.c
    team/group/manager_http_auth/apps/app_dictate.c
    team/group/manager_http_auth/apps/app_directed_pickup.c
    team/group/manager_http_auth/apps/app_directory.c
    team/group/manager_http_auth/apps/app_disa.c
    team/group/manager_http_auth/apps/app_dumpchan.c
    team/group/manager_http_auth/apps/app_echo.c
    team/group/manager_http_auth/apps/app_exec.c
    team/group/manager_http_auth/apps/app_externalivr.c
    team/group/manager_http_auth/apps/app_fax.c
    team/group/manager_http_auth/apps/app_festival.c
    team/group/manager_http_auth/apps/app_flash.c
    team/group/manager_http_auth/apps/app_followme.c
    team/group/manager_http_auth/apps/app_forkcdr.c
    team/group/manager_http_auth/apps/app_getcpeid.c
    team/group/manager_http_auth/apps/app_ices.c
    team/group/manager_http_auth/apps/app_image.c
    team/group/manager_http_auth/apps/app_ivrdemo.c
    team/group/manager_http_auth/apps/app_jack.c
    team/group/manager_http_auth/apps/app_macro.c
    team/group/manager_http_auth/apps/app_meetme.c
    team/group/manager_http_auth/apps/app_milliwatt.c
    team/group/manager_http_auth/apps/app_minivm.c
    team/group/manager_http_auth/apps/app_mixmonitor.c
    team/group/manager_http_auth/apps/app_morsecode.c
    team/group/manager_http_auth/apps/app_mp3.c
    team/group/manager_http_auth/apps/app_nbscat.c
    team/group/manager_http_auth/apps/app_osplookup.c
    team/group/manager_http_auth/apps/app_page.c
    team/group/manager_http_auth/apps/app_parkandannounce.c
    team/group/manager_http_auth/apps/app_playback.c
    team/group/manager_http_auth/apps/app_privacy.c
    team/group/manager_http_auth/apps/app_queue.c
    team/group/manager_http_auth/apps/app_read.c
    team/group/manager_http_auth/apps/app_readexten.c
    team/group/manager_http_auth/apps/app_readfile.c
    team/group/manager_http_auth/apps/app_record.c
    team/group/manager_http_auth/apps/app_rpt.c
    team/group/manager_http_auth/apps/app_sayunixtime.c
    team/group/manager_http_auth/apps/app_senddtmf.c
    team/group/manager_http_auth/apps/app_sendtext.c
    team/group/manager_http_auth/apps/app_setcallerid.c
    team/group/manager_http_auth/apps/app_skel.c
    team/group/manager_http_auth/apps/app_sms.c
    team/group/manager_http_auth/apps/app_softhangup.c
    team/group/manager_http_auth/apps/app_speech_utils.c
    team/group/manager_http_auth/apps/app_stack.c
    team/group/manager_http_auth/apps/app_system.c
    team/group/manager_http_auth/apps/app_talkdetect.c
    team/group/manager_http_auth/apps/app_test.c
    team/group/manager_http_auth/apps/app_transfer.c
    team/group/manager_http_auth/apps/app_url.c
    team/group/manager_http_auth/apps/app_userevent.c
    team/group/manager_http_auth/apps/app_verbose.c
    team/group/manager_http_auth/apps/app_voicemail.c
    team/group/manager_http_auth/apps/app_waitforring.c
    team/group/manager_http_auth/apps/app_waitforsilence.c
    team/group/manager_http_auth/apps/app_waituntil.c
    team/group/manager_http_auth/apps/app_while.c
    team/group/manager_http_auth/apps/app_zapateller.c
    team/group/manager_http_auth/bootstrap.sh
    team/group/manager_http_auth/build_tools/cflags-devmode.xml
    team/group/manager_http_auth/build_tools/make_buildopts_h
    team/group/manager_http_auth/build_tools/make_version
    team/group/manager_http_auth/build_tools/menuselect-deps.in
    team/group/manager_http_auth/channels/   (props changed)
    team/group/manager_http_auth/channels/Makefile
    team/group/manager_http_auth/channels/chan_agent.c
    team/group/manager_http_auth/channels/chan_alsa.c
    team/group/manager_http_auth/channels/chan_console.c
    team/group/manager_http_auth/channels/chan_dahdi.c
    team/group/manager_http_auth/channels/chan_features.c
    team/group/manager_http_auth/channels/chan_h323.c
    team/group/manager_http_auth/channels/chan_iax2.c
    team/group/manager_http_auth/channels/chan_local.c
    team/group/manager_http_auth/channels/chan_mgcp.c
    team/group/manager_http_auth/channels/chan_misdn.c
    team/group/manager_http_auth/channels/chan_oss.c
    team/group/manager_http_auth/channels/chan_phone.c
    team/group/manager_http_auth/channels/chan_sip.c
    team/group/manager_http_auth/channels/chan_skinny.c
    team/group/manager_http_auth/channels/chan_usbradio.c
    team/group/manager_http_auth/channels/chan_vpb.cc
    team/group/manager_http_auth/channels/iax2-provision.c
    team/group/manager_http_auth/channels/misdn/   (props changed)
    team/group/manager_http_auth/channels/misdn/Makefile
    team/group/manager_http_auth/channels/misdn/ie.c
    team/group/manager_http_auth/channels/misdn/isdn_lib.c
    team/group/manager_http_auth/channels/misdn/isdn_lib.h
    team/group/manager_http_auth/channels/misdn/isdn_lib_intern.h
    team/group/manager_http_auth/channels/misdn_config.c
    team/group/manager_http_auth/channels/xpmr/xpmr.c
    team/group/manager_http_auth/configure
    team/group/manager_http_auth/configure.ac
    team/group/manager_http_auth/doc/   (props changed)
    team/group/manager_http_auth/doc/tex/asterisk-conf.tex
    team/group/manager_http_auth/doc/tex/channelvariables.tex
    team/group/manager_http_auth/doc/valgrind.txt
    team/group/manager_http_auth/funcs/Makefile
    team/group/manager_http_auth/funcs/func_base64.c
    team/group/manager_http_auth/funcs/func_blacklist.c
    team/group/manager_http_auth/funcs/func_callerid.c
    team/group/manager_http_auth/funcs/func_cdr.c
    team/group/manager_http_auth/funcs/func_channel.c
    team/group/manager_http_auth/funcs/func_config.c
    team/group/manager_http_auth/funcs/func_cut.c
    team/group/manager_http_auth/funcs/func_db.c
    team/group/manager_http_auth/funcs/func_devstate.c
    team/group/manager_http_auth/funcs/func_dialgroup.c
    team/group/manager_http_auth/funcs/func_dialplan.c
    team/group/manager_http_auth/funcs/func_enum.c
    team/group/manager_http_auth/funcs/func_env.c
    team/group/manager_http_auth/funcs/func_extstate.c
    team/group/manager_http_auth/funcs/func_global.c
    team/group/manager_http_auth/funcs/func_groupcount.c
    team/group/manager_http_auth/funcs/func_iconv.c
    team/group/manager_http_auth/funcs/func_lock.c
    team/group/manager_http_auth/funcs/func_logic.c
    team/group/manager_http_auth/funcs/func_math.c
    team/group/manager_http_auth/funcs/func_md5.c
    team/group/manager_http_auth/funcs/func_module.c
    team/group/manager_http_auth/funcs/func_odbc.c
    team/group/manager_http_auth/funcs/func_rand.c
    team/group/manager_http_auth/funcs/func_realtime.c
    team/group/manager_http_auth/funcs/func_sha1.c
    team/group/manager_http_auth/funcs/func_shell.c
    team/group/manager_http_auth/funcs/func_speex.c
    team/group/manager_http_auth/funcs/func_strings.c
    team/group/manager_http_auth/funcs/func_timeout.c
    team/group/manager_http_auth/funcs/func_uri.c
    team/group/manager_http_auth/funcs/func_version.c
    team/group/manager_http_auth/funcs/func_vmcount.c
    team/group/manager_http_auth/funcs/func_volume.c
    team/group/manager_http_auth/include/asterisk.h
    team/group/manager_http_auth/include/asterisk/_private.h
    team/group/manager_http_auth/include/asterisk/agi.h
    team/group/manager_http_auth/include/asterisk/app.h
    team/group/manager_http_auth/include/asterisk/astmm.h
    team/group/manager_http_auth/include/asterisk/astobj2.h
    team/group/manager_http_auth/include/asterisk/autoconfig.h.in
    team/group/manager_http_auth/include/asterisk/channel.h
    team/group/manager_http_auth/include/asterisk/cli.h
    team/group/manager_http_auth/include/asterisk/compat.h
    team/group/manager_http_auth/include/asterisk/compiler.h
    team/group/manager_http_auth/include/asterisk/config.h
    team/group/manager_http_auth/include/asterisk/devicestate.h
    team/group/manager_http_auth/include/asterisk/dial.h
    team/group/manager_http_auth/include/asterisk/dlinkedlists.h
    team/group/manager_http_auth/include/asterisk/dsp.h
    team/group/manager_http_auth/include/asterisk/dundi.h
    team/group/manager_http_auth/include/asterisk/enum.h
    team/group/manager_http_auth/include/asterisk/extconf.h
    team/group/manager_http_auth/include/asterisk/features.h
    team/group/manager_http_auth/include/asterisk/file.h
    team/group/manager_http_auth/include/asterisk/frame.h
    team/group/manager_http_auth/include/asterisk/indications.h
    team/group/manager_http_auth/include/asterisk/linkedlists.h
    team/group/manager_http_auth/include/asterisk/lock.h
    team/group/manager_http_auth/include/asterisk/logger.h
    team/group/manager_http_auth/include/asterisk/manager.h
    team/group/manager_http_auth/include/asterisk/module.h
    team/group/manager_http_auth/include/asterisk/pbx.h
    team/group/manager_http_auth/include/asterisk/res_odbc.h
    team/group/manager_http_auth/include/asterisk/sched.h
    team/group/manager_http_auth/include/asterisk/stringfields.h
    team/group/manager_http_auth/include/asterisk/strings.h
    team/group/manager_http_auth/include/asterisk/tcptls.h
    team/group/manager_http_auth/include/asterisk/term.h
    team/group/manager_http_auth/include/asterisk/timing.h
    team/group/manager_http_auth/include/asterisk/utils.h
    team/group/manager_http_auth/include/jitterbuf.h
    team/group/manager_http_auth/main/Makefile
    team/group/manager_http_auth/main/app.c
    team/group/manager_http_auth/main/ast_expr2.c
    team/group/manager_http_auth/main/ast_expr2f.c
    team/group/manager_http_auth/main/asterisk.c
    team/group/manager_http_auth/main/astmm.c
    team/group/manager_http_auth/main/astobj2.c
    team/group/manager_http_auth/main/buildinfo.c
    team/group/manager_http_auth/main/cdr.c
    team/group/manager_http_auth/main/channel.c
    team/group/manager_http_auth/main/cli.c
    team/group/manager_http_auth/main/config.c
    team/group/manager_http_auth/main/db.c
    team/group/manager_http_auth/main/db1-ast/Makefile
    team/group/manager_http_auth/main/db1-ast/btree/   (props changed)
    team/group/manager_http_auth/main/db1-ast/db/   (props changed)
    team/group/manager_http_auth/main/db1-ast/hash/   (props changed)
    team/group/manager_http_auth/main/db1-ast/hash/hash_page.c
    team/group/manager_http_auth/main/db1-ast/mpool/   (props changed)
    team/group/manager_http_auth/main/db1-ast/recno/   (props changed)
    team/group/manager_http_auth/main/devicestate.c
    team/group/manager_http_auth/main/dial.c
    team/group/manager_http_auth/main/dns.c
    team/group/manager_http_auth/main/dsp.c
    team/group/manager_http_auth/main/event.c
    team/group/manager_http_auth/main/features.c
    team/group/manager_http_auth/main/frame.c
    team/group/manager_http_auth/main/http.c
    team/group/manager_http_auth/main/indications.c
    team/group/manager_http_auth/main/manager.c
    team/group/manager_http_auth/main/rtp.c
    team/group/manager_http_auth/main/stdtime/   (props changed)
    team/group/manager_http_auth/main/stdtime/Makefile
    team/group/manager_http_auth/main/taskprocessor.c
    team/group/manager_http_auth/main/term.c
    team/group/manager_http_auth/main/translate.c
    team/group/manager_http_auth/main/udptl.c
    team/group/manager_http_auth/main/utils.c
    team/group/manager_http_auth/pbx/Makefile
    team/group/manager_http_auth/pbx/ael/   (props changed)
    team/group/manager_http_auth/pbx/pbx_ael.c
    team/group/manager_http_auth/pbx/pbx_config.c
    team/group/manager_http_auth/pbx/pbx_dundi.c
    team/group/manager_http_auth/pbx/pbx_lua.c
    team/group/manager_http_auth/pbx/pbx_realtime.c
    team/group/manager_http_auth/pbx/pbx_spool.c
    team/group/manager_http_auth/phoneprov/polycom_line.xml

Propchange: team/group/manager_http_auth/
            ('svnmerge-integrated' removed)

Modified: team/group/manager_http_auth/CHANGES
URL: http://svn.digium.com/view/asterisk/team/group/manager_http_auth/CHANGES?view=diff&rev=161913&r1=161912&r2=161913
==============================================================================
--- team/group/manager_http_auth/CHANGES (original)
+++ team/group/manager_http_auth/CHANGES Mon Dec  8 17:34:07 2008
@@ -1,3 +1,13 @@
+======================================================================
+===
+=== This file documents the new and/or enhanced functionality added in
+=== the Asterisk versions listed below. This file does NOT include
+=== changes in behavior that would not be backwards compatible with
+=== previous versions; for that information see the UPGRADE.txt file
+=== and the other UPGRADE files for older releases.
+===
+======================================================================
+
 ------------------------------------------------------------------------------
 --- Functionality changes from Asterisk 1.6.1 to Asterisk 1.6.2  -------------
 ------------------------------------------------------------------------------
@@ -9,12 +19,28 @@
    subscribed to.
  * Added support for subscribing to a voice mailbox on a remote server and
    making the new/old message count available to local devices.
+ * Added support for setting the domain in the URI for caller of an
+   outbound call by using the SIPFROMDOMAIN channel variable.
+ * Added a new configuration option "remotesecret" for authentication to
+   remote services. For backwards compatibility, "secret" still has the
+   same function as before, but now you can configure both a remote secret and a
+   local secret for mutual authentication.
+ * Added a new 'faxdetect=yes|no' configuration option to sip.conf.  When this
+   option is enabled, a SIP channel will go to the fax extension (if it exists)
+   after T38 is negotiated.  This option is disabled by default.
+ * If ATTENDED_TRANSFER_COMPLETE_SOUND is set, the sound will be played to the
+   target of an attended transfer
 
 Skinny Changes
 --------------
  * The configuration file now holds seperate sections for devices and lines.
    Please have a look at configs/skinny.conf.sample and change your skinny.conf
    accordingly.
+
+DAHDI Changes
+-------------
+ * The UK option waitfordialtone has been added for use with BT analog
+   lines.
 
 Dialplan Functions
 ------------------
@@ -23,6 +49,17 @@
    cookies, proxies, connection timeouts, passwords, etc.
  * Permit the syntax and synopsis fields of the corresponding dialplan
    functions to be individually set from func_odbc.conf.
+ * Added debugging CLI functions to func_odbc, 'odbc read' and 'odbc write'.
+ * func_odbc now may specify an insert query to execute, when the write query
+   affects 0 rows (usually indicating that no such row exists).
+ * Added a new dialplan function, LISTFILTER, which permits removing elements
+   from a set list, by name.  Uses the same general syntax as the existing CUT
+   and FIELDQTY dialplan functions, which also manage lists.
+ * Added REALTIME_FIELD and REALTIME_HASH, which should aid users in better
+   obtaining realtime data from the dialplan.
+ * Added LOCAL_PEEK, which I have no idea how to use, but Leif Madsen wanted it.
+   Russell says it's, like, a scope resolution function for LOCAL variables.
+   Totally.  Hopefully, that means more to you than it does to me.
 
 Applications
 ------------
@@ -30,6 +67,9 @@
    using MeetMeAdmin.
  * app_authenticate now gives the ability to select a prompt other than
    the default.
+ * app_directory now pays attention to the searchcontexts setting in
+   voicemail.conf and will look through all contexts, if no context is
+   specified in the initial argument.
 
 Miscellaneous
 -------------
@@ -43,6 +83,23 @@
      same  =>     n,SomethingElse()
  * musiconhold.conf classes of type 'files' can now use relative directory paths,
    which are interpreted as relative to the astvarlibdir setting in asterisk.conf.
+ * All deprecated CLI commands are removed from the sourcecode. They are now handled
+   by the new clialiases module. See cli_aliases.conf.sample file.
+
+Asterisk Manager Interface
+--------------------------
+ * When using the AMI over HTTP, you can now include a 'SuppressEvents' header (with
+   a non-empty value) in your request. If you do this, any pending AMI events will
+   *not* be included in the response to your request as they would normally, but
+   will be left in the event queue for the next request you make to retrieve. For
+   some applications, this will allow you to guarantee that you will only see
+   events in responses to 'WaitEvent' actions, and can better know when to expect them.
+   To know whether the Asterisk server supports this header or not, your client can
+   inspect the first response back from the server to see if it includes this header:
+
+   Pragma: SuppressEvents
+
+   If this is included, the server supports event suppression.
 
 ------------------------------------------------------------------------------
 --- Functionality changes from Asterisk 1.6.0 to Asterisk 1.6.1  -------------
@@ -353,6 +410,12 @@
 
 CLI Changes
 -----------
+  * Added CLI permissions, config file: cli_permissions.conf
+     default is to allow all commands for every local user/group.
+     Also this new feature added three new CLI commands:
+      - cli check permissions {<username>|@<groupname>|<username>@<groupname>} [<command>]
+      - cli reload permissions
+      - cli show permissions
   * New CLI command "core show hint" (usage: core show hint <exten>)
   * New CLI command "core show settings"
   * Added 'core show channels count' CLI command.
@@ -677,6 +740,7 @@
      WaitForRing() now takes floating pt timeout arg.
      SpeechBackground() -- clarified in the docstrings that the timeout is an integer seconds.
   * Added 's' option to Page application.
+  * Added an optional timeout argument to the Page application.
   * Added 'E', 'V', and 'P' commands to ExternalIVR.
   * Added 'o' and 'X' options to Chanspy.
   * Added a new dialplan application, Bridge, which allows you to bridge the
@@ -763,6 +827,7 @@
      the first one available.
   * Added cli command 'features reload' to reload call features from features.conf
   * Moved into core asterisk binary.
+  * Changed the default setting for featuredigittimeout to 2000 ms from 500 ms.
 
 Language Support Changes
 ------------------------
@@ -912,3 +977,11 @@
     consoles, you may want to try using this option. This option is enabled by default
     on Darwin systems since it is known that the Darwin poll() implementation has
     odd issues.
+
+Timer Changes
+--------------------
+* In addition to timing from DAHDI, there is a new timing module called
+  res_timing_timerfd. In order to use this, you must be running Linux with
+  a kernel version 2.6.25 or newer as well as glibc 2.8 or newer. The configure
+  script will be able to tell if you have the requirements. From menuselect, select
+  res_timing_timerfd from the Resource Modules menu.

Modified: team/group/manager_http_auth/Makefile
URL: http://svn.digium.com/view/asterisk/team/group/manager_http_auth/Makefile?view=diff&rev=161913&r1=161912&r2=161913
==============================================================================
--- team/group/manager_http_auth/Makefile (original)
+++ team/group/manager_http_auth/Makefile Mon Dec  8 17:34:07 2008
@@ -92,6 +92,7 @@
 export AWK
 export GREP
 export ID
+export MD5
 
 # even though we could use '-include makeopts' here, use a wildcard
 # lookup anyway, so that make won't try to build makeopts if it doesn't
@@ -104,6 +105,9 @@
 # CFLAGS and LDFLAGS in the COPTS and LDOPTS variables.
 ASTCFLAGS+=$(COPTS)
 ASTLDFLAGS+=$(LDOPTS)
+
+# libxml2 cflags
+ASTCFLAGS+=$(LIBXML2_INCLUDE)
 
 #Uncomment this to see all build commands instead of 'quiet' output
 #NOISY_BUILD=yes
@@ -233,7 +237,13 @@
 ASTCFLAGS+=-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG)
 
 ifeq ($(AST_DEVMODE),yes)
-  ASTCFLAGS+=-Werror -Wunused -Wundef $(AST_DECLARATION_AFTER_STATEMENT) -Wmissing-format-attribute -Wformat-security #-Wformat=2
+  ASTCFLAGS+=-Werror
+  ASTCFLAGS+=-Wunused
+  ASTCFLAGS+=$(AST_DECLARATION_AFTER_STATEMENT)
+  ASTCFLAGS+=$(AST_FORTIFY_SOURCE)
+  ASTCFLAGS+=-Wundef 
+  ASTCFLAGS+=-Wmissing-format-attribute
+  ASTCFLAGS+=-Wformat=2
 endif
 
 ifneq ($(findstring BSD,$(OSARCH)),)
@@ -348,7 +358,7 @@
 	@echo " +               $(mK) install               +"  
 	@echo " +-------------------------------------------+"  
 
-_all: cleantest makeopts $(SUBDIRS)
+_all: cleantest makeopts $(SUBDIRS) doc/core-en_US.xml
 
 makeopts: configure
 	@echo "****"
@@ -437,7 +447,9 @@
 $(SUBDIRS_DIST_CLEAN):
 	@$(SUBMAKE) -C $(@:-dist-clean=) dist-clean
 
-clean: $(SUBDIRS_CLEAN)
+clean: $(SUBDIRS_CLEAN) _clean
+
+_clean:
 	rm -f defaults.h
 	rm -f include/asterisk/build.h
 	rm -f main/version.c
@@ -447,7 +459,7 @@
 
 dist-clean: distclean
 
-distclean: $(SUBDIRS_DIST_CLEAN) clean
+distclean: $(SUBDIRS_DIST_CLEAN) _clean
 	@$(MAKE) -C menuselect dist-clean
 	@$(MAKE) -C sounds dist-clean
 	rm -f menuselect.makeopts makeopts menuselect-tree menuselect.makedeps
@@ -480,6 +492,29 @@
 	done
 	mkdir -p $(DESTDIR)$(AGI_DIR)
 	$(MAKE) -C sounds install
+
+doc/core-en_US.xml: $(foreach dir,$(MOD_SUBDIRS),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) 
+	@echo -n "Building Documentation For: "
+	@echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" > $@
+	@echo "<!DOCTYPE docs SYSTEM \"appdocsxml.dtd\">" >> $@
+	@echo "<docs>" >> $@
+	@for x in $(MOD_SUBDIRS); do \
+		echo -n "$$x " ; \
+		for i in $$x/*.c; do \
+			$(AWK) -f build_tools/get_documentation $$i >> $@ ; \
+		done ; \
+	done
+	@echo
+	@echo "</docs>" >> $@
+
+validate-docs: doc/core-en_US.xml
+ifeq ($(XMLSTARLET),:)
+	@echo "---------------------------------------------------------------"
+	@echo "--- Please install xmlstarlet to validate the documentation ---"
+	@echo "---------------------------------------------------------------"
+else
+	$(XMLSTARLET) val -d doc/appdocsxml.dtd $<
+endif
 
 update: 
 	@if [ -d .svn ]; then \
@@ -529,12 +564,16 @@
 	if [ -n "$(OLDHEADERS)" ]; then \
 		rm -f $(addprefix $(DESTDIR)$(ASTHEADERDIR)/,$(OLDHEADERS)) ;\
 	fi
+	mkdir -p $(DESTDIR)$(ASTDATADIR)/documentation
+	mkdir -p $(DESTDIR)$(ASTDATADIR)/documentation/thirdparty
 	mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-csv
 	mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-custom
 	mkdir -p $(DESTDIR)$(ASTDATADIR)/keys
 	mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware
 	mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware/iax
 	mkdir -p $(DESTDIR)$(ASTMANDIR)/man8
+	$(INSTALL) -m 644 doc/core-*.xml $(DESTDIR)$(ASTDATADIR)/documentation
+	$(INSTALL) -m 644 doc/appdocsxml.dtd $(DESTDIR)$(ASTVARLIBDIR)/documentation
 	$(INSTALL) -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys
 	$(INSTALL) -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys
 	$(INSTALL) -m 644 doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
@@ -656,7 +695,7 @@
 		echo "astrundir => $(ASTVARRUNDIR)" ; \
 		echo "astlogdir => $(ASTLOGDIR)" ; \
 		echo "" ; \
-		echo ";[options]" ; \
+		echo "[options]" ; \
 		echo ";verbose = 3" ; \
 		echo ";debug = 3" ; \
 		echo ";alwaysfork = yes ; same as -F at startup" ; \
@@ -686,6 +725,7 @@
 		echo ";runuser = asterisk ; The user to run as" ; \
 		echo ";rungroup = asterisk ; The group to run as" ; \
 		echo ";lightbackground = yes ; If your terminal is set for a light-colored background" ; \
+		echo "documentation_language = en_US ; Set the Language you want Documentation displayed in. Value is in the same format as locale names" ; \
 		echo "" ; \
 		echo "; Changing the following lines may compromise your security." ; \
 		echo ";[files]" ; \
@@ -778,6 +818,8 @@
 		elif [ -f /etc/SuSE-release -o -f /etc/novell-release ]; then \
 			$(INSTALL) -m 755 contrib/init.d/rc.suse.asterisk $(DESTDIR)/etc/init.d/asterisk; \
 			if [ -z "$(DESTDIR)" ]; then /sbin/chkconfig --add asterisk; fi; \
+		elif [ -f /etc/arch-release -o -f /etc/arch-release ]; then \
+			$(INSTALL) -m 755 contrib/init.d/rc.archlinux.asterisk $(DESTDIR)/etc/rc.d/asterisk; \
 		elif [ -f /etc/slackware-version ]; then \
 			echo "Slackware is not currently supported, although an init script does exist for it." \
 		else \
@@ -902,7 +944,7 @@
 asterisk.pdf:
 	$(MAKE) -C doc/tex asterisk.pdf
 
-.PHONY: menuselect menuselect.makeopts main sounds clean dist-clean distclean all prereqs cleantest uninstall _uninstall uninstall-all pdf dont-optimize $(SUBDIRS_INSTALL) $(SUBDIRS_DIST_CLEAN) $(SUBDIRS_CLEAN) $(SUBDIRS_UNINSTALL) $(SUBDIRS) $(MOD_SUBDIRS_EMBED_LDSCRIPT) $(MOD_SUBDIRS_EMBED_LDFLAGS) $(MOD_SUBDIRS_EMBED_LIBS) badshell installdirs
+.PHONY: menuselect menuselect.makeopts main sounds clean dist-clean distclean all prereqs cleantest uninstall _uninstall uninstall-all pdf dont-optimize $(SUBDIRS_INSTALL) $(SUBDIRS_DIST_CLEAN) $(SUBDIRS_CLEAN) $(SUBDIRS_UNINSTALL) $(SUBDIRS) $(MOD_SUBDIRS_EMBED_LDSCRIPT) $(MOD_SUBDIRS_EMBED_LDFLAGS) $(MOD_SUBDIRS_EMBED_LIBS) badshell installdirs validate-docs _clean
 
 FORCE:
 

Modified: team/group/manager_http_auth/UPGRADE.txt
URL: http://svn.digium.com/view/asterisk/team/group/manager_http_auth/UPGRADE.txt?view=diff&rev=161913&r1=161912&r2=161913
==============================================================================
--- team/group/manager_http_auth/UPGRADE.txt (original)
+++ team/group/manager_http_auth/UPGRADE.txt Mon Dec  8 17:34:07 2008
@@ -1,262 +1,62 @@
-=========================================================
-=== Information for upgrading from Asterisk 1.4 to 1.6
+===========================================================
 ===
+=== Information for upgrading between Asterisk 1.6 versions
+===
+=== These files document all the changes that MUST be taken
+=== into account when upgrading between the Asterisk
+=== versions listed below. These changes may require that
+=== you modify your configuration files, dialplan or (in
+=== some cases) source code if you have your own Asterisk
+=== modules or patches. These files also includes advance
+=== notice of any functionality that has been marked as
+=== 'deprecated' and may be removed in a future release,
+=== along with the suggested replacement functionality.
 ===
 === UPGRADE-1.2.txt -- Upgrade info for 1.0 to 1.2
 === UPGRADE-1.4.txt -- Upgrade info for 1.2 to 1.4
-=== UPGRADE.txt     -- Upgrade info for 1.4 to 1.6
-=========================================================
+=== UPGRADE-1.6.txt -- Upgrade info for 1.4 to 1.6
+===
+===========================================================
 
-AEL:
+From 1.6.0.1 to 1.6.1:
 
-* Macros are now implemented underneath with the Gosub() application.
-  Heaven Help You if you wrote code depending on any aspect of this!
-  Previous to 1.6, macros were implemented with the Macro() app, which
-  provided a nice feature of auto-returning. The compiler will do its
-  best to insert a Return() app call at the end of your macro if you did
-  not include it, but really, you should make sure that all execution
-  paths within your macros end in "return;".
+* The ast_agi_register_multiple() and ast_agi_unregister_multiple()
+  API calls were added in 1.6.0, so that modules that provide multiple
+  AGI commands could register/unregister them all with a single
+  step. However, these API calls were not implemented properly, and did
+  not allow the caller to know whether registration or unregistration
+  succeeded or failed. They have been redefined to now return success
+  or failure, but this means any code using these functions will need
+  be recompiled after upgrading to a version of Asterisk containing
+  these changes. In addition, the source code using these functions
+  should be reviewed to ensure it can properly react to failure
+  of registration or unregistration of its API commands.
 
-* The conf2ael program is 'introduced' in this release; it is in a rather
-  crude state, but deemed useful for making a first pass at converting
-  extensions.conf code into AEL. More intelligence will come with time.
+* The ast_agi_fdprintf() API call has been renamed to ast_agi_send()
+  to better match what it really does, and the argument order has been
+  changed to be consistent with other API calls that perform similar
+  operations.
 
-Core:
+From 1.6.0.x to 1.6.1:
 
-* The 'languageprefix' option in asterisk.conf is now deprecated, and
-  the default sound file layout for non-English sounds is the 'new
-  style' layout introduced in Asterisk 1.4 (and used by the automatic
-  sound file installer in the Makefile).
-
-* The ast_expr2 stuff has been modified to handle floating-point numbers.
-  Numbers of the format D.D are now acceptable input for the expr parser, 
-  Where D is a string of base-10 digits. All math is now done in "long double",
-  if it is available on your compiler/architecture. This was half-way between
-  a bug-fix (because the MATH func returns fp by default), and an enhancement.
-  Also, for those counting on, or needing, integer operations, a series of
-  'functions' were also added to the expr language, to allow several styles
-  of rounding/truncation, along with a set of common floating point operations,
-  like sin, cos, tan, log, pow, etc. The ability to call external functions
-  like CDR(), etc. was also added, without having to use the ${...} notation.
- 
-* The delimiter passed to applications has been changed to the comma (','), as
-  that is what people are used to using within extensions.conf.  If you are
-  using realtime extensions, you will need to translate your existing dialplan
-  to use this separator.  To use a literal comma, you need merely to escape it
-  with a backslash ('\').  Another possible side effect is that you may need to
-  remove the obscene level of backslashing that was necessary for the dialplan
-  to work correctly in 1.4 and previous versions.  This should make writing
-  dialplans less painful in the future, albeit with the pain of a one-time
-  conversion.  If you would like to avoid this conversion immediately, set
-  pbx_realtime=1.4 in the [compat] section of asterisk.conf.  After
-  transitioning, set pbx_realtime=1.6 in the same section.
-
-* For the same purpose as above, you may set res_agi=1.4 in the [compat]
-  section of asterisk.conf to continue to use the '|' delimiter in the EXEC
-  arguments of AGI applications.  After converting to use the ',' delimiter,
-  change this option to res_agi=1.6.
-
-* The logger.conf option 'rotatetimestamp' has been deprecated in favor of
-  'rotatestrategy'.  This new option supports a 'rotate' strategy that more
-  closely mimics the system logger in terms of file rotation.
-
-* The concise versions of various CLI commands are now deprecated. We recommend
-  using the manager interface (AMI) for application integration with Asterisk.
-
-* The following core commands dealing with dialplan has been deprecated: 'core
+* The following core commands dealing with dialplan have been deprecated: 'core
   show globals', 'core set global' and 'core set chanvar'. Use the equivalent
   'dialplan show globals', 'dialplan set global' and 'dialplan set chanvar'
   instead.
 
-* The silencethreshold used for various applications is now settable via a
-  centralized config option in dsp.conf.
-
-* The logical value of spaces immediately preceding a standalone 0 previously
-  evaluated to true.  It now evaluates to false.  This has confused a good
-  many people in the past (typically because they failed to realize the space
-  had any significance).  Since this violates the Principle of Least Surprise,
-  it has been changed.
-
-* The default console now will use colors according to the default background
-  color, instead of forcing the background color to black.  If you are using a
-  light colored background for your console, you may wish to use the option
-  flag '-W' to present better color choices for the various messages.  However,
-  if you'd prefer the old method of forcing colors to white text on a black
-  background, the compatiblity option -B is provided for this purpose.
-
-Voicemail:
-
-* The voicemail configuration values 'maxmessage' and 'minmessage' have
-  been changed to 'maxsecs' and 'minsecs' to clarify their purpose and
-  to make them more distinguishable from 'maxmsgs', which sets folder
-  size.  The old variables will continue to work in this version, albeit
-  with a deprecation warning.
-
-* If you use any interface for modifying voicemail aside from the built in
-  dialplan applications, then the option "pollmailboxes" *must* be set in
-  voicemail.conf for message waiting indication (MWI) to work properly.  This
-  is because Voicemail notification is now event based instead of polling
-  based.  The channel drivers are no longer responsible for constantly manually
-  checking mailboxes for changes so that they can send MWI information to users.
-  Examples of situations that would require this option are web interfaces to
-  voicemail or an email client in the case of using IMAP storage.
-
-* The externnotify script should accept an additional (last) parameter
-  containing the number of urgent messages in the INBOX.
-
-Applications:
-
-* SendImage() no longer hangs up the channel on transmission error or on
-  another type of error; in those cases, a FAILURE status is stored in 
-  SENDIMAGESTATUS and dialplan execution continues.  The possible return values
-  stored in SENDIMAGESTATUS are: SUCCESS, FAILURE, and UNSUPPORTED. ('OK' has
-  been replaced with 'SUCCESS', and 'NOSUPPORT' has been replaced with
-  'UNSUPPORTED').  This change makes the SendImage application more consistent
-  with other applications.
-
-* ChanIsAvail() now has a 't' option, which allows the specified device
-  to be queried for state without consulting the channel drivers. This
-  performs mostly a 'ChanExists' sort of function.
-
-* ChannelRedirect() will not terminate the channel that fails to do a
-  channelredirect as it has done previously. Instead CHANNELREDIRECT_STATUS
-  will reflect if the attempt was successful of not.
-
-* SetCallerPres() has been replaced with the CALLERPRES() dialplan function
-  and is now deprecated.
-
-* DISA()'s fifth argument is now an options argument.  If you have previously
-  used 'NOANSWER' in this argument, you'll need to convert that to the new
-  option 'n'.
-
-* Macro() is now deprecated.  If you need subroutines, you should use the
-  Gosub()/Return() applications.  To replace MacroExclusive(), we have
-  introduced dialplan functions LOCK(), TRYLOCK(), and UNLOCK().  You may use
-  these functions in any location where you desire to ensure that only one
-  channel is executing that path at any one time.  The Macro() applications
-  are deprecated for performance reasons.  However, since Macro() has been
-  around for a long time and so many dialplans depend heavily on it, for the
-  sake of backwards compatibility it will not be removed .  It is also worth
-  noting that using both Macro() and GoSub() at the same time is _heavily_
-  discouraged.
-
-* Read() now sets a READSTATUS variable on exit.  It does NOT automatically
-  return -1 (and hangup) anymore on error.  If you want to hangup on error,
-  you need to do so explicitly in your dialplan.
-
-* Privacy() no longer uses privacy.conf, so any options must be specified
-  directly in the application arguments.
-
-* MusicOnHold application now has duration parameter which allows specifying
-  timeout in seconds.
-
-* WaitMusicOnHold application is now deprecated in favor of extended MusicOnHold.
-

[... 30565 lines stripped ...]



More information about the svn-commits mailing list