[svn-commits] oej: branch oej/kill-the-user r110640 - in /team/oej/kill-the-user: ./ apps/ ...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 25 11:26:05 CDT 2008


Author: oej
Date: Tue Mar 25 11:26:03 2008
New Revision: 110640

URL: http://svn.digium.com/view/asterisk?view=rev&rev=110640
Log:
Reset, resolve

Added:
    team/oej/kill-the-user/build_tools/cflags-devmode.xml
      - copied unchanged from r110625, trunk/build_tools/cflags-devmode.xml
    team/oej/kill-the-user/build_tools/make_version_h
      - copied unchanged from r110625, trunk/build_tools/make_version_h
    team/oej/kill-the-user/configs/dbsep.conf.sample
      - copied unchanged from r110625, trunk/configs/dbsep.conf.sample
    team/oej/kill-the-user/configs/dsp.conf.sample
      - copied unchanged from r110625, trunk/configs/dsp.conf.sample
    team/oej/kill-the-user/contrib/scripts/dbsep.cgi
      - copied unchanged from r110625, trunk/contrib/scripts/dbsep.cgi
    team/oej/kill-the-user/doc/janitor-projects.txt
      - copied unchanged from r110625, trunk/doc/janitor-projects.txt
    team/oej/kill-the-user/funcs/func_config.c
      - copied unchanged from r110625, trunk/funcs/func_config.c
    team/oej/kill-the-user/include/asterisk/ast_version.h
      - copied unchanged from r110625, trunk/include/asterisk/ast_version.h
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/
      - copied from r110625, trunk/pbx/ael/ael-test/ael-ntest23/
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/extensions.ael
      - copied unchanged from r110625, trunk/pbx/ael/ael-test/ael-ntest23/extensions.ael
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/qq.ael
      - copied unchanged from r110625, trunk/pbx/ael/ael-test/ael-ntest23/qq.ael
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/t1/
      - copied from r110625, trunk/pbx/ael/ael-test/ael-ntest23/t1/
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/t1/a.ael
      - copied unchanged from r110625, trunk/pbx/ael/ael-test/ael-ntest23/t1/a.ael
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/t1/b.ael
      - copied unchanged from r110625, trunk/pbx/ael/ael-test/ael-ntest23/t1/b.ael
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/t1/c.ael
      - copied unchanged from r110625, trunk/pbx/ael/ael-test/ael-ntest23/t1/c.ael
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/t2/
      - copied from r110625, trunk/pbx/ael/ael-test/ael-ntest23/t2/
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/t2/d.ael
      - copied unchanged from r110625, trunk/pbx/ael/ael-test/ael-ntest23/t2/d.ael
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/t2/e.ael
      - copied unchanged from r110625, trunk/pbx/ael/ael-test/ael-ntest23/t2/e.ael
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/t2/f.ael
      - copied unchanged from r110625, trunk/pbx/ael/ael-test/ael-ntest23/t2/f.ael
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/t3/
      - copied from r110625, trunk/pbx/ael/ael-test/ael-ntest23/t3/
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/t3/g.ael
      - copied unchanged from r110625, trunk/pbx/ael/ael-test/ael-ntest23/t3/g.ael
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/t3/h.ael
      - copied unchanged from r110625, trunk/pbx/ael/ael-test/ael-ntest23/t3/h.ael
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/t3/i.ael
      - copied unchanged from r110625, trunk/pbx/ael/ael-test/ael-ntest23/t3/i.ael
    team/oej/kill-the-user/pbx/ael/ael-test/ael-ntest23/t3/j.ael
      - copied unchanged from r110625, trunk/pbx/ael/ael-test/ael-ntest23/t3/j.ael
    team/oej/kill-the-user/pbx/ael/ael-test/ref.ael-ntest23
      - copied unchanged from r110625, trunk/pbx/ael/ael-test/ref.ael-ntest23
Removed:
    team/oej/kill-the-user/include/asterisk/version.h
    team/oej/kill-the-user/main/minimime/
Modified:
    team/oej/kill-the-user/   (props changed)
    team/oej/kill-the-user/CHANGES
    team/oej/kill-the-user/Makefile
    team/oej/kill-the-user/Makefile.rules
    team/oej/kill-the-user/UPGRADE.txt
    team/oej/kill-the-user/acinclude.m4
    team/oej/kill-the-user/apps/app_amd.c
    team/oej/kill-the-user/apps/app_authenticate.c
    team/oej/kill-the-user/apps/app_channelredirect.c
    team/oej/kill-the-user/apps/app_chanspy.c
    team/oej/kill-the-user/apps/app_dial.c
    team/oej/kill-the-user/apps/app_directory.c
    team/oej/kill-the-user/apps/app_dumpchan.c
    team/oej/kill-the-user/apps/app_externalivr.c
    team/oej/kill-the-user/apps/app_festival.c
    team/oej/kill-the-user/apps/app_followme.c
    team/oej/kill-the-user/apps/app_meetme.c
    team/oej/kill-the-user/apps/app_minivm.c
    team/oej/kill-the-user/apps/app_mixmonitor.c
    team/oej/kill-the-user/apps/app_page.c
    team/oej/kill-the-user/apps/app_queue.c
    team/oej/kill-the-user/apps/app_record.c
    team/oej/kill-the-user/apps/app_rpt.c
    team/oej/kill-the-user/apps/app_sms.c
    team/oej/kill-the-user/apps/app_speech_utils.c
    team/oej/kill-the-user/apps/app_talkdetect.c
    team/oej/kill-the-user/apps/app_voicemail.c
    team/oej/kill-the-user/apps/app_waitforsilence.c
    team/oej/kill-the-user/apps/app_zapras.c
    team/oej/kill-the-user/build_tools/cflags.xml
    team/oej/kill-the-user/build_tools/make_buildopts_h
    team/oej/kill-the-user/build_tools/make_version_c
    team/oej/kill-the-user/build_tools/menuselect-deps.in
    team/oej/kill-the-user/build_tools/strip_nonapi
    team/oej/kill-the-user/cdr/cdr_adaptive_odbc.c
    team/oej/kill-the-user/cdr/cdr_odbc.c
    team/oej/kill-the-user/cdr/cdr_pgsql.c
    team/oej/kill-the-user/cdr/cdr_sqlite3_custom.c
    team/oej/kill-the-user/channels/Makefile
    team/oej/kill-the-user/channels/chan_agent.c
    team/oej/kill-the-user/channels/chan_alsa.c
    team/oej/kill-the-user/channels/chan_console.c
    team/oej/kill-the-user/channels/chan_gtalk.c
    team/oej/kill-the-user/channels/chan_h323.c
    team/oej/kill-the-user/channels/chan_iax2.c
    team/oej/kill-the-user/channels/chan_jingle.c
    team/oej/kill-the-user/channels/chan_local.c
    team/oej/kill-the-user/channels/chan_mgcp.c
    team/oej/kill-the-user/channels/chan_misdn.c
    team/oej/kill-the-user/channels/chan_oss.c
    team/oej/kill-the-user/channels/chan_phone.c
    team/oej/kill-the-user/channels/chan_sip.c
    team/oej/kill-the-user/channels/chan_skinny.c
    team/oej/kill-the-user/channels/chan_unistim.c
    team/oej/kill-the-user/channels/chan_usbradio.c
    team/oej/kill-the-user/channels/chan_vpb.cc
    team/oej/kill-the-user/channels/chan_zap.c
    team/oej/kill-the-user/channels/console_gui.c
    team/oej/kill-the-user/channels/h323/ast_h323.cxx
    team/oej/kill-the-user/channels/misdn/chan_misdn_config.h
    team/oej/kill-the-user/channels/misdn/ie.c
    team/oej/kill-the-user/channels/misdn/isdn_lib.c
    team/oej/kill-the-user/channels/misdn/isdn_lib.h
    team/oej/kill-the-user/channels/misdn/isdn_msg_parser.c
    team/oej/kill-the-user/channels/misdn/portinfo.c
    team/oej/kill-the-user/codecs/Makefile
    team/oej/kill-the-user/codecs/codec_g722.c
    team/oej/kill-the-user/codecs/gsm/Makefile
    team/oej/kill-the-user/codecs/log2comp.h
    team/oej/kill-the-user/configs/queues.conf.sample
    team/oej/kill-the-user/configs/res_ldap.conf.sample
    team/oej/kill-the-user/configs/sip.conf.sample
    team/oej/kill-the-user/configs/sip_notify.conf.sample
    team/oej/kill-the-user/configs/smdi.conf.sample
    team/oej/kill-the-user/configs/vpb.conf.sample
    team/oej/kill-the-user/configs/zapata.conf.sample
    team/oej/kill-the-user/configure
    team/oej/kill-the-user/configure.ac
    team/oej/kill-the-user/contrib/init.d/rc.debian.asterisk
    team/oej/kill-the-user/contrib/init.d/rc.suse.asterisk
    team/oej/kill-the-user/contrib/scripts/iax-friends.sql
    team/oej/kill-the-user/contrib/scripts/sip-friends.sql
    team/oej/kill-the-user/doc/CODING-GUIDELINES
    team/oej/kill-the-user/doc/externalivr.txt
    team/oej/kill-the-user/doc/manager_1_1.txt
    team/oej/kill-the-user/doc/siptls.txt
    team/oej/kill-the-user/doc/smdi.txt
    team/oej/kill-the-user/doc/tex/imapstorage.tex
    team/oej/kill-the-user/doc/tex/realtime.tex
    team/oej/kill-the-user/doc/voicemail_odbc_postgresql.txt
    team/oej/kill-the-user/formats/format_pcm.c
    team/oej/kill-the-user/funcs/func_cdr.c
    team/oej/kill-the-user/funcs/func_channel.c
    team/oej/kill-the-user/funcs/func_devstate.c
    team/oej/kill-the-user/funcs/func_enum.c
    team/oej/kill-the-user/funcs/func_global.c
    team/oej/kill-the-user/funcs/func_odbc.c
    team/oej/kill-the-user/funcs/func_strings.c
    team/oej/kill-the-user/funcs/func_version.c
    team/oej/kill-the-user/include/asterisk/   (props changed)
    team/oej/kill-the-user/include/asterisk/_private.h
    team/oej/kill-the-user/include/asterisk/aes.h
    team/oej/kill-the-user/include/asterisk/app.h
    team/oej/kill-the-user/include/asterisk/astmm.h
    team/oej/kill-the-user/include/asterisk/astobj.h
    team/oej/kill-the-user/include/asterisk/audiohook.h
    team/oej/kill-the-user/include/asterisk/autoconfig.h.in
    team/oej/kill-the-user/include/asterisk/cdr.h
    team/oej/kill-the-user/include/asterisk/channel.h
    team/oej/kill-the-user/include/asterisk/config.h
    team/oej/kill-the-user/include/asterisk/dnsmgr.h
    team/oej/kill-the-user/include/asterisk/dsp.h
    team/oej/kill-the-user/include/asterisk/extconf.h
    team/oej/kill-the-user/include/asterisk/frame.h
    team/oej/kill-the-user/include/asterisk/global_datastores.h
    team/oej/kill-the-user/include/asterisk/http.h
    team/oej/kill-the-user/include/asterisk/lock.h
    team/oej/kill-the-user/include/asterisk/manager.h
    team/oej/kill-the-user/include/asterisk/module.h
    team/oej/kill-the-user/include/asterisk/netsock.h
    team/oej/kill-the-user/include/asterisk/pbx.h
    team/oej/kill-the-user/include/asterisk/pval.h
    team/oej/kill-the-user/include/asterisk/rtp.h
    team/oej/kill-the-user/include/asterisk/sched.h
    team/oej/kill-the-user/include/asterisk/slinfactory.h
    team/oej/kill-the-user/include/asterisk/smdi.h
    team/oej/kill-the-user/include/asterisk/strings.h
    team/oej/kill-the-user/include/asterisk/tcptls.h
    team/oej/kill-the-user/include/asterisk/time.h
    team/oej/kill-the-user/include/asterisk/utils.h
    team/oej/kill-the-user/include/jitterbuf.h
    team/oej/kill-the-user/main/Makefile
    team/oej/kill-the-user/main/alaw.c
    team/oej/kill-the-user/main/app.c
    team/oej/kill-the-user/main/ast_expr2f.c
    team/oej/kill-the-user/main/asterisk.c
    team/oej/kill-the-user/main/astobj2.c
    team/oej/kill-the-user/main/audiohook.c
    team/oej/kill-the-user/main/autoservice.c
    team/oej/kill-the-user/main/callerid.c
    team/oej/kill-the-user/main/cdr.c
    team/oej/kill-the-user/main/channel.c
    team/oej/kill-the-user/main/cli.c
    team/oej/kill-the-user/main/config.c
    team/oej/kill-the-user/main/cryptostub.c
    team/oej/kill-the-user/main/dial.c
    team/oej/kill-the-user/main/dlfcn.c
    team/oej/kill-the-user/main/dns.c
    team/oej/kill-the-user/main/dsp.c
    team/oej/kill-the-user/main/editline/Makefile.in
    team/oej/kill-the-user/main/editline/readline.c
    team/oej/kill-the-user/main/enum.c
    team/oej/kill-the-user/main/event.c
    team/oej/kill-the-user/main/features.c
    team/oej/kill-the-user/main/file.c
    team/oej/kill-the-user/main/frame.c
    team/oej/kill-the-user/main/fskmodem.c
    team/oej/kill-the-user/main/global_datastores.c
    team/oej/kill-the-user/main/hashtab.c
    team/oej/kill-the-user/main/http.c
    team/oej/kill-the-user/main/image.c
    team/oej/kill-the-user/main/jitterbuf.c
    team/oej/kill-the-user/main/loader.c
    team/oej/kill-the-user/main/logger.c
    team/oej/kill-the-user/main/manager.c
    team/oej/kill-the-user/main/netsock.c
    team/oej/kill-the-user/main/pbx.c
    team/oej/kill-the-user/main/poll.c
    team/oej/kill-the-user/main/rtp.c
    team/oej/kill-the-user/main/say.c
    team/oej/kill-the-user/main/slinfactory.c
    team/oej/kill-the-user/main/stdtime/localtime.c
    team/oej/kill-the-user/main/strcompat.c
    team/oej/kill-the-user/main/tcptls.c
    team/oej/kill-the-user/main/tdd.c
    team/oej/kill-the-user/main/term.c
    team/oej/kill-the-user/main/translate.c
    team/oej/kill-the-user/main/udptl.c
    team/oej/kill-the-user/main/utils.c
    team/oej/kill-the-user/makeopts.in
    team/oej/kill-the-user/pbx/pbx_ael.c
    team/oej/kill-the-user/pbx/pbx_config.c
    team/oej/kill-the-user/res/Makefile
    team/oej/kill-the-user/res/ael/ael.flex
    team/oej/kill-the-user/res/ael/ael.tab.c
    team/oej/kill-the-user/res/ael/ael.tab.h
    team/oej/kill-the-user/res/ael/ael.y
    team/oej/kill-the-user/res/ael/ael_lex.c
    team/oej/kill-the-user/res/ael/pval.c
    team/oej/kill-the-user/res/res_agi.c
    team/oej/kill-the-user/res/res_config_curl.c
    team/oej/kill-the-user/res/res_config_ldap.c
    team/oej/kill-the-user/res/res_config_odbc.c
    team/oej/kill-the-user/res/res_config_pgsql.c
    team/oej/kill-the-user/res/res_config_sqlite.c
    team/oej/kill-the-user/res/res_indications.c
    team/oej/kill-the-user/res/res_jabber.c
    team/oej/kill-the-user/res/res_monitor.c
    team/oej/kill-the-user/res/res_musiconhold.c
    team/oej/kill-the-user/res/res_phoneprov.c
    team/oej/kill-the-user/res/res_realtime.c
    team/oej/kill-the-user/res/res_smdi.c
    team/oej/kill-the-user/res/snmp/agent.c
    team/oej/kill-the-user/sounds/Makefile
    team/oej/kill-the-user/sounds/sounds.xml
    team/oej/kill-the-user/utils/Makefile
    team/oej/kill-the-user/utils/ael_main.c
    team/oej/kill-the-user/utils/astcanary.c
    team/oej/kill-the-user/utils/astman.c
    team/oej/kill-the-user/utils/check_expr.c
    team/oej/kill-the-user/utils/conf2ael.c
    team/oej/kill-the-user/utils/extconf.c
    team/oej/kill-the-user/utils/frame.c

Propchange: team/oej/kill-the-user/
------------------------------------------------------------------------------
    automerge = http://www.codename-pineapple.org/

Propchange: team/oej/kill-the-user/
------------------------------------------------------------------------------
Binary property 'branch-1.4-blocked' - no diff available.

Propchange: team/oej/kill-the-user/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Propchange: team/oej/kill-the-user/
------------------------------------------------------------------------------
--- svn:externals (original)
+++ svn:externals Tue Mar 25 11:26:03 2008
@@ -1,1 +1,1 @@
-menuselect https://origsvn.digium.com/svn/menuselect/branches/1.0
+menuselect https://origsvn.digium.com/svn/menuselect/trunk

Propchange: team/oej/kill-the-user/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Mar 25 11:26:03 2008
@@ -1,1 +1,1 @@
-/trunk:1-103360
+/trunk:1-110626

Modified: team/oej/kill-the-user/CHANGES
URL: http://svn.digium.com/view/asterisk/team/oej/kill-the-user/CHANGES?view=diff&rev=110640&r1=110639&r2=110640
==============================================================================
--- team/oej/kill-the-user/CHANGES (original)
+++ team/oej/kill-the-user/CHANGES Tue Mar 25 11:26:03 2008
@@ -1,6 +1,34 @@
 ------------------------------------------------------------------------------
---- Functionality changes since Asterisk 1.4-beta was branched ----------------
--------------------------------------------------------------------------------
+--- Functionality changes from Asterisk 1.6.0 to Asterisk 1.6.1  -------------
+------------------------------------------------------------------------------
+
+Dialplan Functions
+------------------
+ * Added a new dialplan function, AST_CONFIG(), which allows you to access
+   variables from an Asterisk configuration file.
+
+Zaptel channel driver (chan_zap) Changes
+----------------------------------------
+ * Channels can now be configured using named sections in zapata.conf, just
+   like other channel drivers, including the use of templates.
+
+PBX Changes
+-----------
+ * It is now possible to specify a pattern match as a hint. Once a phone subscribes
+   to something that matches the pattern a hint will be created using the contents
+   and variables evaluated.
+
+Application Changes
+-------------------
+ * Directory now permits both first and last names to be matched at the same
+   time.  In addition, the number of digits to enter of the name can be set in
+   the arguments to Directory; previously, you could enter only 3, regardless
+   of how many names are in your company.  For large companies, this should be
+   quite helpful.
+
+------------------------------------------------------------------------------
+--- Functionality changes from Asterisk 1.4.X to Asterisk 1.6.0  -------------
+------------------------------------------------------------------------------
 
 AMI - The manager (TCP/TLS/HTTP)
 --------------------------------
@@ -47,6 +75,12 @@
   * Added new action insert to add new variable to category at specified line.
   * Updated action newcat to allow new category to be inserted in file above another
     existing category.
+  * Added new event "JitterBufStats" in the IAX2 channel
+  * Originate now requires the Originate privilege and, if you want to call out
+    to a subshell, it requires the System privilege, as well.  This was done to
+    enhance manager security.
+  * New command: Atxfer. See doc/manager_1_1.txt for more details or 
+    manager show command Atxfer from the CLI
 
 Dialplan functions
 ------------------
@@ -93,6 +127,9 @@
   * New CLI command: "core set chanvar" to set a channel variable from the CLI.
   * Added an easy way to execute Asterisk CLI commands at startup.  Any commands
     listed in the startup_commands section of cli.conf will get executed.
+  * Added a CLI command, "devstate change", which allows you to set custom device
+     states from the func_devstate module that provides the DEVICE_STATE() function
+     and handling of the "Custom:" devices.
 
 SIP changes
 -----------
@@ -142,8 +179,11 @@
   * Added SIP Session Timers support (RFC 4028).  This prevents stuck SIP sessions that
      were not properly torn down due to network or endpoint failures during an established
      SIP session.
-  * Added TCP and TLS support for SIP.  See doc/siptls.txt and configs/sip.conf.sample for
-     more information on how it is used.
+  * Added experimental TCP and TLS support for SIP.  See doc/siptls.txt and 
+     configs/sip.conf.sample for more information on how it is used.
+  * Added a new configuration option "authfailureevents" that enables manager events when
+    a peer can't authenticate properly. 
+  * Added DNS manager support to registrations not referencing a peer entry.
 
 IAX2 changes
 ------------
@@ -277,6 +317,12 @@
      lockfile will not work, such as on SMB/CIFS mounts.
   * Added the ability to backup deleted messages, to ease recovery in the case
      that a user accidentally deletes a message, and discovers that they need it.
+  * Reworked the SMDI interface in Asterisk.  The new way to access SMDI information
+     is through the new functions, SMDI_MSG_RETRIEVE() and SMDI_MSG().  The file
+     smdi.conf can now be configured with options to map SMDI station IDs to Asterisk
+     voicemail boxes.  The SMDI interface can also poll for MWI changes when some
+     outside entity is modifying the state of the mailbox (such as IMAP storage or
+     a web interface of some kind).
 
 Queue changes
 -------------
@@ -308,6 +354,9 @@
   * Added a new parameter for member definition, called state_interface. This may be
     used so that a member may be called via one interface but have a different interface's
     device state reported.
+  * New configuration option: randomperiodicannounce. If a list of periodic announcements is
+    specified by the periodic-announce option, then one will be chosen randomly when it is time
+	to play a periodic announcment
 
 MeetMe Changes
 --------------
@@ -364,6 +413,14 @@
      direct options to the app.
   * AMD() has a new "maximum word length" option. "show application AMD" from the CLI
      for more details
+  * GotoIfTime() now may branch based on a "false" condition, like other Goto-related applications
+  * The ChannelRedirect application no longer exits the dialplan if the given channel
+     does not exist. It will now set the CHANNELREDIRECT_STATUS variable to SUCCESS upon success
+     or NOCHANNEL if the given channel was not found.
+  * The silencethreshold setting that was previously configurable in multiple
+     applications is now settable globally via dsp.conf.
+  * Added ability to communicate over a TCP socket instead of forking a child process for the 
+    ExternalIVR application.
 
 Music On Hold Changes
 ---------------------
@@ -441,6 +498,31 @@
      rotatestrategry=rotate, to allow a limit on the number of logfiles kept
      and to ensure that the oldest log file gets deleted.
   * Added realtime support for the queue log
+
+Call Detail Records 
+-------------------
+  * The cdr_manager module has a [mappings] feature, like cdr_custom,
+    to add fields to the manager event from the CDR variables.
+  * Added cdr_adaptive_odbc, a new module that adapts to the structure of your
+     backend database CDR table.  Specifically, additional, non-standard
+     columns are supported, merely by setting the corresponding CDR variable in
+     your dialplan.  In addition, you may alias any column to another name (for
+     example, if you want the 'src' CDR variable to be column 'ANI' in the DB,
+     simply "alias src => ANI" in the configuration file).  Records may be
+     posted to more than one backend, simply by specifying multiple categories
+     in the configuration file.  And finally, you may filter which CDRs get
+     posted to each backend, by specifying a filter (which the record must
+     match) for the particular category.  Filters are additive (meaning all
+     rules must match to post that CDR).
+  * The Postgres CDR module now supports some features of the cdr_adaptive_odbc
+     module.  Specifically, you may add additional columns into the table and
+     they will be set, if you set the corresponding CDR variable name.  Also,
+     if you omit columns in your database table, they will be silently skipped
+     (but a record will still be inserted, based on what columns remain).  Note
+     that the other two features from cdr_adaptive_odbc (alias and filter) are
+     not currently supported.
+  * The ResetCDR application now has an 'e' option that re-enables a CDR if it
+     has been disabled using the NoCDR application.
 
 Miscellaneous New Modules
 -------------------------
@@ -486,8 +568,6 @@
   * Added maxfiles option to options section of asterisk.conf which allows you to specify
      what Asterisk should set as the maximum number of open files when it loads.
   * Added the jittertargetextra configuration option.
-  * The cdr_manager module has a [mappings] feature, like cdr_custom,
-    to add fields to the manager event from the CDR variables.
   * Added support for setting the CoS for VLAN traffic (802.1p).  See the sample
      configuration files for the IP channel drivers.  The new option is "cos".
      This information is also documented in doc/qos.tex, or the IP Quality of Service
@@ -512,3 +592,7 @@
      do not come from the remote party.
   * Added the 'n' option to the SpeechBackground application to tell it to not
      answer the channel if it has not already been answered.
+  * Added a compiler flag, CHANNEL_TRACE, which permits channel tracing to be
+     turned on, via the CHANNEL(trace) dialplan function.  Could be useful for
+     dialplan debugging.
+

Modified: team/oej/kill-the-user/Makefile
URL: http://svn.digium.com/view/asterisk/team/oej/kill-the-user/Makefile?view=diff&rev=110640&r1=110639&r2=110640
==============================================================================
--- team/oej/kill-the-user/Makefile (original)
+++ team/oej/kill-the-user/Makefile Tue Mar 25 11:26:03 2008
@@ -229,7 +229,7 @@
 ASTCFLAGS+=-include $(ASTTOPDIR)/include/asterisk/autoconfig.h
 
 ifeq ($(AST_DEVMODE),yes)
-  ASTCFLAGS+=-Werror -Wunused -Wundef $(AST_DECLARATION_AFTER_STATEMENT)
+  ASTCFLAGS+=-Werror -Wunused -Wundef $(AST_DECLARATION_AFTER_STATEMENT) -Wmissing-format-attribute -Wformat-security #-Wformat=2
 endif
 
 ifneq ($(findstring BSD,$(OSARCH)),)
@@ -350,7 +350,7 @@
 	@echo "****"
 	@exit 1
 
-menuselect.makeopts: menuselect/menuselect menuselect-tree
+menuselect.makeopts: menuselect/menuselect menuselect-tree makeopts
 	menuselect/menuselect --check-deps $(GLOBAL_MAKEOPTS) $(USER_MAKEOPTS) menuselect.makeopts
 
 $(MOD_SUBDIRS_EMBED_LDSCRIPT):
@@ -373,7 +373,7 @@
 	@$(MAKE) $(PRINT_DIR) $(MOD_SUBDIRS_EMBED_LDFLAGS)
 	@$(MAKE) $(PRINT_DIR) $(MOD_SUBDIRS_EMBED_LIBS)
 
-$(SUBDIRS): main/version.c include/asterisk/build.h include/asterisk/buildopts.h defaults.h makeopts.embed_rules
+$(SUBDIRS): main/version.c include/asterisk/version.h include/asterisk/build.h include/asterisk/buildopts.h defaults.h makeopts.embed_rules
 
 ifeq ($(findstring $(OSARCH), mingw32 cygwin ),)
     # Non-windows:
@@ -409,6 +409,11 @@
 	@cmp -s $@.tmp $@ || mv $@.tmp $@
 	@rm -f $@.tmp
 
+include/asterisk/version.h:
+	@build_tools/make_version_h > $@.tmp
+	@cmp -s $@.tmp $@ || mv $@.tmp $@
+	@rm -f $@.tmp
+
 include/asterisk/buildopts.h: menuselect.makeopts
 	@build_tools/make_buildopts_h > $@.tmp
 	@cmp -s $@.tmp $@ || mv $@.tmp $@
@@ -429,6 +434,7 @@
 	rm -f defaults.h
 	rm -f include/asterisk/build.h
 	rm -f main/version.c
+	rm -f include/asterisk/version.h
 	@$(MAKE) -C menuselect clean
 	cp -f .cleancount .lastclean
 
@@ -439,7 +445,7 @@
 	@$(MAKE) -C sounds dist-clean
 	rm -f menuselect.makeopts makeopts menuselect-tree menuselect.makedeps
 	rm -f makeopts.embed_rules
-	rm -f config.log config.status
+	rm -f config.log config.status config.cache
 	rm -rf autom4te.cache
 	rm -f include/asterisk/autoconfig.h
 	rm -f include/asterisk/buildopts.h
@@ -558,7 +564,14 @@
 		echo " WARNING WARNING WARNING" ;\
 	fi
 
-install: datafiles bininstall $(SUBDIRS_INSTALL)
+badshell:
+ifneq ($(findstring ~,$(DESTDIR)),)
+	@echo "Your shell doesn't do ~ expansion when expected (specifically, when doing \"make install DESTDIR=~/path\")."
+	@echo "Try replacing ~ with \$$HOME, as in \"make install DESTDIR=\$$HOME/path\"."
+	@exit 1
+endif
+
+install: badshell datafiles bininstall $(SUBDIRS_INSTALL)
 	@if [ -x /usr/sbin/asterisk-post-install ]; then \
 		/usr/sbin/asterisk-post-install $(DESTDIR) . ; \
 	fi
@@ -709,7 +722,7 @@
 
 rpm: __rpm
 
-__rpm: main/version.c include/asterisk/buildopts.h spec
+__rpm: main/version.c include/asterisk/version.h include/asterisk/buildopts.h spec
 	rm -rf /tmp/asterisk ; \
 	mkdir -p /tmp/asterisk/redhat/RPMS/i386 ; \
 	$(MAKE) DESTDIR=/tmp/asterisk install ; \
@@ -798,27 +811,43 @@
 
 menuconfig: menuselect
 
+cmenuconfig: cmenuselect
+
 gmenuconfig: gmenuselect
+
+nmenuconfig: nmenuselect
 
 menuselect: menuselect/menuselect menuselect-tree
 	- at menuselect/menuselect $(GLOBAL_MAKEOPTS) $(USER_MAKEOPTS) menuselect.makeopts && (echo "menuselect changes saved!"; rm -f channels/h323/Makefile.ast main/asterisk) || echo "menuselect changes NOT saved!"
 
+cmenuselect: menuselect/cmenuselect menuselect-tree
+	- at menuselect/cmenuselect $(GLOBAL_MAKEOPTS) $(USER_MAKEOPTS) menuselect.makeopts && (echo "menuselect changes saved!"; rm -f channels/h323/Makefile.ast main/asterisk) || echo "menuselect changes NOT saved!"
+
 gmenuselect: menuselect/gmenuselect menuselect-tree
 	- at menuselect/gmenuselect $(GLOBAL_MAKEOPTS) $(USER_MAKEOPTS) menuselect.makeopts && (echo "menuselect changes saved!"; rm -f channels/h323/Makefile.ast main/asterisk) || echo "menuselect changes NOT saved!"
 
+nmenuselect: menuselect/nmenuselect menuselect-tree
+	- at menuselect/nmenuselect $(GLOBAL_MAKEOPTS) $(USER_MAKEOPTS) menuselect.makeopts && (echo "menuselect changes saved!"; rm -f channels/h323/Makefile.ast main/asterisk) || echo "menuselect changes NOT saved!"
+
 # options for make in menuselect/
 MAKE_MENUSELECT=CC="$(HOST_CC)" CXX="$(CXX)" LD="" AR="" RANLIB="" CFLAGS="" $(MAKE) -C menuselect CONFIGURE_SILENT="--silent"
 
 menuselect/menuselect: menuselect/makeopts
 	$(MAKE_MENUSELECT)
 
+menuselect/cmenuselect: menuselect/makeopts
+	$(MAKE_MENUSELECT) cmenuselect
+
 menuselect/gmenuselect: menuselect/makeopts
 	$(MAKE_MENUSELECT) gmenuselect
 
+menuselect/nmenuselect: menuselect/makeopts
+	$(MAKE_MENUSELECT) nmenuselect
+
 menuselect/makeopts:
 	$(MAKE_MENUSELECT) makeopts
 
-menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) build_tools/cflags.xml sounds/sounds.xml build_tools/embed_modules.xml configure
+menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) build_tools/cflags.xml build_tools/cflags-devmode.xml sounds/sounds.xml build_tools/embed_modules.xml configure
 	@echo "Generating input for menuselect ..."
 	@echo "<?xml version=\"1.0\"?>" > $@
 	@echo >> $@
@@ -826,6 +855,9 @@
 	@for dir in $(sort $(filter-out main,$(MOD_SUBDIRS))); do $(SUBMAKE) -C $${dir} SUBDIR=$${dir} moduleinfo >> $@; done
 	@for dir in $(sort $(filter-out main,$(MOD_SUBDIRS))); do $(SUBMAKE) -C $${dir} SUBDIR=$${dir} makeopts >> $@; done
 	@cat build_tools/cflags.xml >> $@
+	@if [ "${AST_DEVMODE}" = "yes" ]; then \
+		cat build_tools/cflags-devmode.xml >> $@; \
+	fi
 	@cat build_tools/embed_modules.xml >> $@
 	@cat sounds/sounds.xml >> $@
 	@echo "</menu>" >> $@
@@ -834,4 +866,4 @@
 asterisk.pdf:
 	$(MAKE) -C doc/tex asterisk.pdf
 
-.PHONY: menuselect 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) main/version.c
+.PHONY: menuselect 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 main/version.c include/asterisk/version.h

Modified: team/oej/kill-the-user/Makefile.rules
URL: http://svn.digium.com/view/asterisk/team/oej/kill-the-user/Makefile.rules?view=diff&rev=110640&r1=110639&r2=110640
==============================================================================
--- team/oej/kill-the-user/Makefile.rules (original)
+++ team/oej/kill-the-user/Makefile.rules Tue Mar 25 11:26:03 2008
@@ -61,7 +61,7 @@
 
 %.oo: %.cc
 	$(ECHO_PREFIX) echo "   [CXX] $< -> $@"
-	$(CMD_PREFIX) $(CXX) -o $@ -c $< $(PTHREAD_CFLAGS) $(filter-out -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations,$(ASTCFLAGS)) $(MAKE_DEPS)
+	$(CMD_PREFIX) $(CXX) -o $@ -c $< $(PTHREAD_CFLAGS) $(filter-out -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(AST_DECLARATION_AFTER_STATEMENT),$(ASTCFLAGS)) $(MAKE_DEPS)
 
 %.c: %.y
 	$(ECHO_PREFIX) echo "   [BISON] $< -> $@"

Modified: team/oej/kill-the-user/UPGRADE.txt
URL: http://svn.digium.com/view/asterisk/team/oej/kill-the-user/UPGRADE.txt?view=diff&rev=110640&r1=110639&r2=110640
==============================================================================
--- team/oej/kill-the-user/UPGRADE.txt (original)
+++ team/oej/kill-the-user/UPGRADE.txt Tue Mar 25 11:26:03 2008
@@ -56,6 +56,9 @@
 * The concise versions of various CLI commands are now deprecated. We recommend
   using the manager interface (AMI) for application integration with Asterisk.
 
+* The silencethreshold used for various applications is now settable via a
+  centralized config option in dsp.conf.
+
 Voicemail:
 
 * The voicemail configuration values 'maxmessage' and 'minmessage' have
@@ -77,6 +80,9 @@
 * 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
@@ -92,6 +98,11 @@
   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.
+* SetMusicOnHold is now deprecated. You should use Set(CHANNEL(musicclass)=...)
+  instead.
 
 Dialplan Functions:
 
@@ -149,11 +160,17 @@
   to modify modules.conf to add another "noload" line to ensure that only one of
   these three modules gets loaded.
 
+* Zap: The "msdstrip" option has been deprecated, as it provides no value over
+  the method of stripping digits in the dialplan using variable substring syntax.
+
 Configuration:
 
 * pbx_dundi.c: tos parameter changed to use new values. Old values like lowdelay,
   lowcost and other is not acceptable now. Look into qos.tex for description of 
   this parameter.
+
+* queues.conf: the queue-lessthan sound file option is no longer available, and the
+  queue-round-seconds option no longer takes '1' as a valid parameter.
 
 Manager:
 
@@ -167,3 +184,6 @@
    change your manager.conf to add the level to existing AMI users, if they
    want to see the CDR events generated.
 
+* The Originate command now requires the Originate write permission.  For
+   Originate with the Application parameter, you need the additional System
+   privilege if you want to do anything that calls out to a subshell.

Modified: team/oej/kill-the-user/acinclude.m4
URL: http://svn.digium.com/view/asterisk/team/oej/kill-the-user/acinclude.m4?view=diff&rev=110640&r1=110639&r2=110640
==============================================================================
--- team/oej/kill-the-user/acinclude.m4 (original)
+++ team/oej/kill-the-user/acinclude.m4 Tue Mar 25 11:26:03 2008
@@ -92,7 +92,7 @@
 # AST_C_DEFINE_CHECK([package], [macro name], [header file], [version])
 AC_DEFUN([AST_C_DEFINE_CHECK],
 [
-    if test "x${PBX_$1}" != "x1" -a "${USE_$1}" != "no"; then
+    if test "x${PBX_$1}" != "x1"; then
 	AC_MSG_CHECKING([for $2 in $3])
 	saved_cppflags="${CPPFLAGS}"
 	if test "x${$1_DIR}" != "x"; then
@@ -114,10 +114,11 @@
 		AC_DEFINE([HAVE_$1], 1, [Define if your system has the $1 headers.])
 		AC_DEFINE([HAVE_$1_VERSION], $4, [Define $1 headers version])
 	    ],
-	    [       AC_MSG_RESULT(no) ] 
+	    [   AC_MSG_RESULT(no) ] 
 	)
 	CPPFLAGS="${saved_cppflags}"
     fi
+    AC_SUBST(PBX_$1)
 ])
 
 
@@ -230,7 +231,10 @@
 		fi
 		CPPFLAGS="${CPPFLAGS} ${$1_INCLUDE}"
 
-		AC_COMPILE_IFELSE(
+		saved_ldflags="${LDFLAGS}"
+		LDFLAGS="${$1_LIB}"
+
+		AC_LINK_IFELSE(
 		    [ AC_LANG_PROGRAM( [ $5 ],
 				       [ $6; ]
 				       )],
@@ -240,6 +244,7 @@
 		    []
 		)
 		CPPFLAGS="${saved_cppflags}"
+		LDFLAGS="${saved_ldflags}"
 	    else
 		PBX_$1=1
 		AC_DEFINE([HAVE_$1], 1, [Define if your system has the $1 libraries.])

Modified: team/oej/kill-the-user/apps/app_amd.c
URL: http://svn.digium.com/view/asterisk/team/oej/kill-the-user/apps/app_amd.c?view=diff&rev=110640&r1=110639&r2=110640
==============================================================================
--- team/oej/kill-the-user/apps/app_amd.c (original)
+++ team/oej/kill-the-user/apps/app_amd.c Tue Mar 25 11:26:03 2008
@@ -371,6 +371,8 @@
 	struct ast_variable *var = NULL;
 	struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 };
 
+	dfltSilenceThreshold = ast_dsp_get_threshold_from_settings(THRESHOLD_SILENCE);
+
 	if (!(cfg = ast_config_load("amd.conf", config_flags))) {
 		ast_log(LOG_ERROR, "Configuration file amd.conf missing.\n");
 		return -1;

Modified: team/oej/kill-the-user/apps/app_authenticate.c
URL: http://svn.digium.com/view/asterisk/team/oej/kill-the-user/apps/app_authenticate.c?view=diff&rev=110640&r1=110639&r2=110640
==============================================================================
--- team/oej/kill-the-user/apps/app_authenticate.c (original)
+++ team/oej/kill-the-user/apps/app_authenticate.c Tue Mar 25 11:26:03 2008
@@ -159,8 +159,8 @@
 					continue;
 
 				len = strlen(buf) - 1;
-				if (buf[len - 1] == '\n')
-					buf[len - 1] = '\0';
+				if (buf[len] == '\n')
+					buf[len] = '\0';
 
 				if (ast_test_flag(&flags, OPT_MULTIPLE)) {
 					md5secret = buf;

Modified: team/oej/kill-the-user/apps/app_channelredirect.c
URL: http://svn.digium.com/view/asterisk/team/oej/kill-the-user/apps/app_channelredirect.c?view=diff&rev=110640&r1=110639&r2=110640
==============================================================================
--- team/oej/kill-the-user/apps/app_channelredirect.c (original)
+++ team/oej/kill-the-user/apps/app_channelredirect.c Tue Mar 25 11:26:03 2008
@@ -39,8 +39,10 @@
 static char *synopsis = "Redirects given channel to a dialplan target.";
 static char *descrip =
 "ChannelRedirect(channel,[[context,]extension,]priority)\n"
-"  Sends the specified channel to the specified extension priority\n";
-
+"  Sends the specified channel to the specified extension priority\n"
+"This application sets the following channel variables upon completion:\n"
+"  CHANNELREDIRECT_STATUS - Are set to the result of the redirection\n"
+"                           either NOCHANNEL or SUCCESS\n";
 
 static int asyncgoto_exec(struct ast_channel *chan, void *data)
 {
@@ -69,11 +71,12 @@
 	chan2 = ast_get_channel_by_name_locked(args.channel);
 	if (!chan2) {
 		ast_log(LOG_WARNING, "No such channel: %s\n", args.channel);
-		return -1;
+		pbx_builtin_setvar_helper(chan, "CHANNELREDIRECT_STATUS", "NOCHANNEL");
+		return 0;
 	}
 
-	res = ast_parseable_goto(chan2, args.label);
-
+	res = ast_async_parseable_goto(chan2, args.label);
+	pbx_builtin_setvar_helper(chan, "CHANNELREDIRECT_STATUS", "SUCCESS");
 	ast_channel_unlock(chan2);
 
 	return res;

Modified: team/oej/kill-the-user/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/team/oej/kill-the-user/apps/app_chanspy.c?view=diff&rev=110640&r1=110639&r2=110640
==============================================================================
--- team/oej/kill-the-user/apps/app_chanspy.c (original)
+++ team/oej/kill-the-user/apps/app_chanspy.c Tue Mar 25 11:26:03 2008
@@ -2,7 +2,7 @@
  * Asterisk -- An open source telephony toolkit.
  *
  * Copyright (C) 2005 Anthony Minessale II (anthmct at yahoo.com)
- * Copyright (C) 2005 - 2006, Digium, Inc.
+ * Copyright (C) 2005 - 2008, Digium, Inc.
  *
  * A license has been granted to Digium (via disclaimer) for the use of
  * this code.
@@ -23,6 +23,8 @@
  * \brief ChanSpy: Listen in on any channel.
  *
  * \author Anthony Minessale II <anthmct at yahoo.com>
+ * \author Joshua Colp <jcolp at digium.com>
+ * \author Russell Bryant <russell at digium.com>
  *
  * \ingroup applications
  */
@@ -222,23 +224,31 @@
 	.generate = spy_generate,
 };
 
-static int start_spying(struct ast_channel *chan, struct ast_channel *spychan, struct ast_audiohook *audiohook)
+static int start_spying(struct ast_channel *chan, const char *spychan_name, struct ast_audiohook *audiohook) 
 {
 	int res = 0;
 	struct ast_channel *peer = NULL;
 
-	ast_log(LOG_NOTICE, "Attaching %s to %s\n", spychan->name, chan->name);
+	ast_log(LOG_NOTICE, "Attaching %s to %s\n", spychan_name, chan->name);
 
 	res = ast_audiohook_attach(chan, audiohook);
 
-	if (!res && ast_test_flag(chan, AST_FLAG_NBRIDGE) && (peer = ast_bridged_channel(chan)))

[... 39656 lines stripped ...]



More information about the svn-commits mailing list