[svn-commits] branch oej/aum-trunk - r7672 in /team/oej/aum-trunk: ./ apps/ build_tools/ cd...

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Dec 30 04:21:47 CST 2005


Author: oej
Date: Fri Dec 30 04:21:09 2005
New Revision: 7672

URL: http://svn.digium.com/view/asterisk?rev=7672&view=rev
Log:
Merged revisions 7481,7494,7496,7498,7509,7511-7512,7514,7516,7518,7520,7522,7524,7528,7538-7542,7547-7548,7551,7554,7556,7565-7570,7573-7576,7578-7579,7583,7587,7589-7590,7594,7600,7602,7604,7607,7609,7613-7620,7627,7633,7635-7636,7638-7640,7642-7643,7646-7649,7655-7662,7664,7666-7668 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r7481 | bweschke | 2005-12-15 03:49:17 +0100 (Thu, 15 Dec 2005) | 3 lines

 Bug #6003 - Don't free the channel structure until after having sent the manager event.


................
r7494 | tilghman | 2005-12-15 18:31:52 +0100 (Thu, 15 Dec 2005) | 2 lines

Make sure the functions CUT and SORT are built.

................
r7496 | tilghman | 2005-12-15 20:05:41 +0100 (Thu, 15 Dec 2005) | 2 lines

Properly move these functions over to the funcs directory (since they no longer contain apps)

................
r7498 | tilghman | 2005-12-16 01:55:39 +0100 (Fri, 16 Dec 2005) | 3 lines

First field was truncated.
(Don't kill me; this attempted merge didn't work because the paths changed.)

................
r7509 | tilghman | 2005-12-17 02:07:44 +0100 (Sat, 17 Dec 2005) | 3 lines

Merged revisions 7508 via svnmerge from
/branches/1.2

................
r7511 | kpfleming | 2005-12-17 03:21:36 +0100 (Sat, 17 Dec 2005) | 2 lines

block a commit to a module that no longer exists in trunk

................
r7512 | kpfleming | 2005-12-17 03:22:24 +0100 (Sat, 17 Dec 2005) | 10 lines

Merged revision 7510 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7510 | kpfleming | 2005-12-16 20:20:04 -0600 (Fri, 16 Dec 2005) | 2 lines

fix some buglet when building team branch version strings

........

................
r7514 | kpfleming | 2005-12-17 04:45:25 +0100 (Sat, 17 Dec 2005) | 10 lines

Merged revisions 7513 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7513 | kpfleming | 2005-12-16 21:44:30 -0600 (Fri, 16 Dec 2005) | 2 lines

forcibly expire previous subscriptions from a peer when they resubscribe (keeps them from building up and waiting for expiration, and stops us sending unwanted NOTIFY messages to devices)

........

................
r7516 | kpfleming | 2005-12-17 04:59:27 +0100 (Sat, 17 Dec 2005) | 10 lines

Merged revisions 7515 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7515 | kpfleming | 2005-12-16 21:59:05 -0600 (Fri, 16 Dec 2005) | 2 lines

Max-Forwards headers must only be present on requests, not responses

........

................
r7518 | tilghman | 2005-12-17 18:22:24 +0100 (Sat, 17 Dec 2005) | 3 lines

Merged revisions 7517 via svnmerge from
/branches/1.2

................
r7520 | tilghman | 2005-12-17 19:58:57 +0100 (Sat, 17 Dec 2005) | 3 lines

Merged revisions 7519 via svnmerge from
/branches/1.2

................
r7522 | tilghman | 2005-12-19 06:42:55 +0100 (Mon, 19 Dec 2005) | 3 lines

Merged revisions 7521 via svnmerge from
/branches/1.2

................
r7524 | tilghman | 2005-12-19 20:08:42 +0100 (Mon, 19 Dec 2005) | 3 lines

Merged revisions 7523 via svnmerge from
/branches/1.2

................
r7528 | russell | 2005-12-20 00:41:53 +0100 (Tue, 20 Dec 2005) | 4 lines

- add note on required values of sip_methods struct
- remove duplicate function prototype
- remove duplicate ast_mutex_lock (issue #6025)

................
r7538 | russell | 2005-12-20 08:45:05 +0100 (Tue, 20 Dec 2005) | 3 lines

allow forcing the build to exclude PRI support using WITHOUT_PRI, similar to
how we already have WITHOUT_ZAPTEL (issue #5985)

................
r7539 | russell | 2005-12-20 09:16:53 +0100 (Tue, 20 Dec 2005) | 2 lines

use the system libgsm if available (issue #5434, modified to still work with builtin libgsm)

................
r7540 | markster | 2005-12-20 10:39:31 +0100 (Tue, 20 Dec 2005) | 2 lines

Fix reload of peer contexts (bug #6007)

................
r7541 | markster | 2005-12-20 10:56:55 +0100 (Tue, 20 Dec 2005) | 2 lines

Fix segfault on directed pickup when no CDR is available (bug #5998)

................
r7542 | markster | 2005-12-20 11:26:53 +0100 (Tue, 20 Dec 2005) | 2 lines

Fix choppy audio with > 20ms audio frames (bug #5697)

................
r7547 | markster | 2005-12-20 14:07:02 +0100 (Tue, 20 Dec 2005) | 3 lines

Major peformance improvements to meetme


................
r7548 | markster | 2005-12-20 15:14:01 +0100 (Tue, 20 Dec 2005) | 2 lines

Don't bother decode on muted participants

................
r7551 | markster | 2005-12-20 18:52:31 +0100 (Tue, 20 Dec 2005) | 3 lines

Major RTP fixes for using inbound SDP on outbound connection, get rid of 
old local rtp stuff...

................
r7554 | russell | 2005-12-20 20:56:52 +0100 (Tue, 20 Dec 2005) | 2 lines

add AGENT function, similar to SIPPEER or IAXPEER (issue #5531)

................
r7556 | russell | 2005-12-20 21:20:04 +0100 (Tue, 20 Dec 2005) | 7 lines

- move the string join() function to utils.c since it is used in both cli.c and res_agi.c
- reimplement ast_join to be of linear effieciency instead of quadratic
- remove some useless checks for "if (e)"
- reorder checks for strings starting with '_' to avoid a useless call to ast_join()
- check array bounds when parsing arguments to AGI
(issue #5868)

................
r7565 | markster | 2005-12-21 00:36:22 +0100 (Wed, 21 Dec 2005) | 2 lines

Avoid multiple free 

................
r7566 | jdixon | 2005-12-21 00:41:59 +0100 (Wed, 21 Dec 2005) | 2 lines

New version, including half/semi-half duplex modes and system announcements

................
r7567 | jdixon | 2005-12-21 00:53:26 +0100 (Wed, 21 Dec 2005) | 2 lines

Added docs for new features (duplex mode & tailmessages)

................
r7568 | russell | 2005-12-21 09:44:51 +0100 (Wed, 21 Dec 2005) | 4 lines

- change the default value of the global priority jumping option to 'off'
- update the UPGRADE.txt file to reflect this change
- remove old information from UPGRADE.txt

................
r7569 | russell | 2005-12-21 09:51:44 +0100 (Wed, 21 Dec 2005) | 4 lines

add a header to indicate who the call was parked by to the ParkedCall manager
events generated when parking status is requested.  This header was already
in the events that are generated when the call is first parked. (issue #5883)

................
r7570 | russell | 2005-12-21 10:33:41 +0100 (Wed, 21 Dec 2005) | 2 lines

add Log application for generating custom log messages from the dialplan (issue #5287)

................
r7573 | tilghman | 2005-12-21 16:16:08 +0100 (Wed, 21 Dec 2005) | 2 lines

Bug 5734 - add status variables indicating the success or failure of the realtime apps

................
r7574 | russell | 2005-12-21 17:36:48 +0100 (Wed, 21 Dec 2005) | 2 lines

move heading to the top of the file

................
r7575 | tilghman | 2005-12-21 18:09:54 +0100 (Wed, 21 Dec 2005) | 2 lines

Bug 5440 - Add STAT() dialplan function

................
r7576 | tilghman | 2005-12-21 19:43:10 +0100 (Wed, 21 Dec 2005) | 2 lines

Bug 5055 - Simple SQL commands from the dialplan

................
r7578 | tilghman | 2005-12-21 20:24:56 +0100 (Wed, 21 Dec 2005) | 3 lines

Merged revisions 7577 via svnmerge from
/branches/1.2

................
r7579 | bweschke | 2005-12-21 20:44:51 +0100 (Wed, 21 Dec 2005) | 3 lines

 Bug #6040 - Documentation correction


................
r7583 | tilghman | 2005-12-21 21:02:36 +0100 (Wed, 21 Dec 2005) | 3 lines

Merged revisions 7582 via svnmerge from
/branches/1.2

................
r7587 | russell | 2005-12-22 03:20:44 +0100 (Thu, 22 Dec 2005) | 7 lines

- construct the difference and have only one call to snprintf in build_via
- convert some while loops to for loops
- localize some variables and remove unneeded initializations
- store result of get_header locally so it only has to be called once
- remove some duplicate calls to strcasecmp by storing result
(issue #5955)

................
r7589 | kpfleming | 2005-12-22 04:49:41 +0100 (Thu, 22 Dec 2005) | 2 lines

don't try to build func_odbc when ODBC headers/libraries are not present

................
r7590 | kpfleming | 2005-12-22 04:50:44 +0100 (Thu, 22 Dec 2005) | 2 lines

forward-port per-peer videosupport changes from branches/1.2

................
r7594 | russell | 2005-12-22 17:14:38 +0100 (Thu, 22 Dec 2005) | 2 lines

remove stray unlock (issue #5955)

................
r7600 | russell | 2005-12-22 21:38:43 +0100 (Thu, 22 Dec 2005) | 11 lines

Merged revisions 7599 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7599 | russell | 2005-12-22 15:36:47 -0500 (Thu, 22 Dec 2005) | 3 lines

revert changes to videosupport to allow per-peer setting, since it isn't quite
complete and there is not an obvious fix at this point

........

................
r7602 | tilghman | 2005-12-22 23:06:35 +0100 (Thu, 22 Dec 2005) | 3 lines

Merged revisions 7601 via svnmerge from
/branches/1.2

................
r7604 | bweschke | 2005-12-23 00:59:13 +0100 (Fri, 23 Dec 2005) | 3 lines

 Another app documentation tweak.


................
r7607 | kpfleming | 2005-12-23 04:04:38 +0100 (Fri, 23 Dec 2005) | 11 lines

Merged revisions 7606 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7606 | kpfleming | 2005-12-22 21:01:24 -0600 (Thu, 22 Dec 2005) | 3 lines

add license reference to copyright notice displayed when CLI session begins
add 'show warranty' and 'show license' CLI commands (still need a complete list of non-GPL components included in Asterisk)

........

................
r7609 | tilghman | 2005-12-23 07:39:44 +0100 (Fri, 23 Dec 2005) | 3 lines

Merged revisions 7608 via svnmerge from
/branches/1.2

................
r7613 | tilghman | 2005-12-23 21:43:11 +0100 (Fri, 23 Dec 2005) | 2 lines

Make the English language of date format 'Q' and 'q' sound a little bit more natural

................
r7614 | tilghman | 2005-12-23 22:03:25 +0100 (Fri, 23 Dec 2005) | 2 lines

Bug 5327 - new function FILTER and optional argument to CALLERID

................
r7615 | tilghman | 2005-12-23 23:47:26 +0100 (Fri, 23 Dec 2005) | 2 lines

Alphabetize the functions list

................
r7616 | tilghman | 2005-12-24 00:42:58 +0100 (Sat, 24 Dec 2005) | 2 lines

Bug 5759 - Remove unused datetime code (current DateTime app is in app_sayunixtime)

................
r7617 | russell | 2005-12-24 06:18:40 +0100 (Sat, 24 Dec 2005) | 5 lines

minor cleanups ...
- use for loops instead of while loops for basic list traversals
- remove an unused 'res' variable
- formatting tweaks

................
r7618 | russell | 2005-12-24 07:23:36 +0100 (Sat, 24 Dec 2005) | 7 lines

minor cleanups ...
- use for loops instead of while loops for basic list traversals
- only calculate word length one time in CLI complete functions
- use calloc instead of malloc + memset
- remove some unnecessary casts
- formatting tweaks 

................
r7619 | tilghman | 2005-12-25 01:25:41 +0100 (Sun, 25 Dec 2005) | 2 lines

Bug 5727 - reduce duplicate code

................
r7620 | markster | 2005-12-25 02:27:47 +0100 (Sun, 25 Dec 2005) | 2 lines

Fix multiple free of a frame (bug #6058)

................
r7627 | markster | 2005-12-26 01:47:28 +0100 (Mon, 26 Dec 2005) | 3 lines

Add "local channel" variation so that we don't read/write to the same 
channel...  (bug #6058)

................
r7633 | tilghman | 2005-12-26 17:48:12 +0100 (Mon, 26 Dec 2005) | 2 lines

Bug 6057 - Deprecate builtins that have been replaced by functions

................
r7635 | russell | 2005-12-26 19:35:28 +0100 (Mon, 26 Dec 2005) | 10 lines

Merged revisions 7634 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7634 | russell | 2005-12-26 13:19:12 -0500 (Mon, 26 Dec 2005) | 2 lines

cast time_t to an int in printf/scanf (issue #5635)

........

................
r7636 | jdixon | 2005-12-26 21:01:35 +0100 (Mon, 26 Dec 2005) | 3 lines

Added support for Feature Group C CAMA trunks (both DP and MF), and support
for Feature Group D Tamdem trunks inbound (outbound was already there)

................
r7638 | tilghman | 2005-12-26 21:34:46 +0100 (Mon, 26 Dec 2005) | 3 lines

Merged revisions 7637 via svnmerge from
/branches/1.2

................
r7639 | russell | 2005-12-26 22:38:50 +0100 (Mon, 26 Dec 2005) | 5 lines

- normalize some loops
- simplify and reduce code by keeping track of return value
- replace some simple if/then sections with conditional expressions
(issue #6065)

................
r7640 | markster | 2005-12-27 00:56:44 +0100 (Tue, 27 Dec 2005) | 2 lines

Don't do DTMF detect on pseudo's!

................
r7642 | tilghman | 2005-12-27 03:02:23 +0100 (Tue, 27 Dec 2005) | 2 lines

Add SQL_ESC to allow single ticks to be escaped

................
r7643 | tilghman | 2005-12-27 03:05:56 +0100 (Tue, 27 Dec 2005) | 2 lines

Reduce warnings on signedness conversions

................
r7646 | tilghman | 2005-12-27 07:24:28 +0100 (Tue, 27 Dec 2005) | 2 lines

Bug 5183 - Inline stack backtraces

................
r7647 | tilghman | 2005-12-27 07:42:29 +0100 (Tue, 27 Dec 2005) | 2 lines

Bug 5854 - Allow quotation of the second field in extconfig, for the purpose of including commas (for LDAP configuration)

................
r7648 | tilghman | 2005-12-27 07:50:25 +0100 (Tue, 27 Dec 2005) | 2 lines

Bug 5906 - ARRAY dialplan function

................
r7649 | tilghman | 2005-12-27 08:13:37 +0100 (Tue, 27 Dec 2005) | 2 lines

Bug 5382 - Allow VM_CATEGORY in voicemail emails

................
r7655 | russell | 2005-12-27 18:24:54 +0100 (Tue, 27 Dec 2005) | 3 lines

when doing tab completion, iterate the list of matches to count how many there
are instead of having the list of matches generated twice (issue #6066)

................
r7656 | tilghman | 2005-12-27 18:53:48 +0100 (Tue, 27 Dec 2005) | 2 lines

Bug 5237 - Optional filename argument

................
r7657 | russell | 2005-12-27 19:18:41 +0100 (Tue, 27 Dec 2005) | 3 lines

avoid repeated calls to strlen in command completion functions and normalize
some loops

................
r7658 | tilghman | 2005-12-27 20:13:13 +0100 (Tue, 27 Dec 2005) | 2 lines

Bug 4880 - add priority label matching and dialplan function retrieval

................
r7659 | russell | 2005-12-27 20:48:44 +0100 (Tue, 27 Dec 2005) | 2 lines

avoid unneeded calls to strlen in iax2 completion functions

................
r7660 | russell | 2005-12-27 20:59:09 +0100 (Tue, 27 Dec 2005) | 3 lines

avoid duplicate strlen calls for the command completion functions for
'show application' and 'show applications'

................
r7661 | russell | 2005-12-27 21:03:07 +0100 (Tue, 27 Dec 2005) | 2 lines

minor cleanups for another cli completion function ...

................
r7662 | russell | 2005-12-27 22:03:18 +0100 (Tue, 27 Dec 2005) | 2 lines

fix permissions of created recordings (issue #6067)

................
r7664 | russell | 2005-12-28 18:31:12 +0100 (Wed, 28 Dec 2005) | 2 lines

restore alphabetical order for builtin cli commands (issue #6073)

................
r7666 | russell | 2005-12-28 18:37:35 +0100 (Wed, 28 Dec 2005) | 10 lines

Merged revisions 7665 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7665 | russell | 2005-12-28 12:35:56 -0500 (Wed, 28 Dec 2005) | 2 lines

fix memory leak in build_rpid (issue #6070)

........

................
r7667 | russell | 2005-12-29 09:15:48 +0100 (Thu, 29 Dec 2005) | 2 lines

avoid multiple strlen calls in complete_queue

................
r7668 | russell | 2005-12-29 09:25:06 +0100 (Thu, 29 Dec 2005) | 2 lines

normalize a loop and avoid multiple strlen calls when completing voicemail users

................

Added:
    team/oej/aum-trunk/configs/func_odbc.conf.sample
      - copied unchanged from r7668, trunk/configs/func_odbc.conf.sample
    team/oej/aum-trunk/funcs/func_cut.c
      - copied unchanged from r7668, trunk/funcs/func_cut.c
    team/oej/aum-trunk/funcs/func_odbc.c
      - copied unchanged from r7668, trunk/funcs/func_odbc.c
Removed:
    team/oej/aum-trunk/apps/app_cut.c
    team/oej/aum-trunk/apps/app_datetime.c
Modified:
    team/oej/aum-trunk/   (props changed)
    team/oej/aum-trunk/Makefile
    team/oej/aum-trunk/UPGRADE.txt
    team/oej/aum-trunk/apps/Makefile
    team/oej/aum-trunk/apps/app_chanspy.c
    team/oej/aum-trunk/apps/app_dial.c
    team/oej/aum-trunk/apps/app_dictate.c
    team/oej/aum-trunk/apps/app_directed_pickup.c
    team/oej/aum-trunk/apps/app_externalivr.c
    team/oej/aum-trunk/apps/app_hasnewvoicemail.c
    team/oej/aum-trunk/apps/app_meetme.c
    team/oej/aum-trunk/apps/app_queue.c
    team/oej/aum-trunk/apps/app_realtime.c
    team/oej/aum-trunk/apps/app_rpt.c
    team/oej/aum-trunk/apps/app_sms.c
    team/oej/aum-trunk/apps/app_verbose.c
    team/oej/aum-trunk/apps/app_voicemail.c
    team/oej/aum-trunk/apps/app_waitforsilence.c
    team/oej/aum-trunk/asterisk.c
    team/oej/aum-trunk/build_tools/make_svn_branch_name
    team/oej/aum-trunk/cdr.c
    team/oej/aum-trunk/cdr/cdr_tds.c
    team/oej/aum-trunk/channel.c
    team/oej/aum-trunk/channels/Makefile
    team/oej/aum-trunk/channels/chan_agent.c
    team/oej/aum-trunk/channels/chan_alsa.c
    team/oej/aum-trunk/channels/chan_iax2.c
    team/oej/aum-trunk/channels/chan_mgcp.c
    team/oej/aum-trunk/channels/chan_sip.c
    team/oej/aum-trunk/channels/chan_zap.c
    team/oej/aum-trunk/channels/iax2-provision.c
    team/oej/aum-trunk/cli.c
    team/oej/aum-trunk/codecs/Makefile
    team/oej/aum-trunk/codecs/codec_gsm.c
    team/oej/aum-trunk/config.c
    team/oej/aum-trunk/configs/agents.conf.sample
    team/oej/aum-trunk/configs/extconfig.conf.sample
    team/oej/aum-trunk/configs/rpt.conf.sample
    team/oej/aum-trunk/configs/sip.conf.sample
    team/oej/aum-trunk/configs/zapata.conf.sample
    team/oej/aum-trunk/doc/README.ael
    team/oej/aum-trunk/file.c
    team/oej/aum-trunk/frame.c
    team/oej/aum-trunk/funcs/Makefile
    team/oej/aum-trunk/funcs/func_callerid.c
    team/oej/aum-trunk/funcs/func_env.c
    team/oej/aum-trunk/funcs/func_strings.c
    team/oej/aum-trunk/include/asterisk/channel.h
    team/oej/aum-trunk/include/asterisk/frame.h
    team/oej/aum-trunk/include/asterisk/linkedlists.h
    team/oej/aum-trunk/include/asterisk/logger.h
    team/oej/aum-trunk/include/asterisk/pbx.h
    team/oej/aum-trunk/include/asterisk/rtp.h
    team/oej/aum-trunk/include/asterisk/strings.h
    team/oej/aum-trunk/logger.c
    team/oej/aum-trunk/manager.c
    team/oej/aum-trunk/pbx.c
    team/oej/aum-trunk/pbx/pbx_ael.c
    team/oej/aum-trunk/pbx/pbx_dundi.c
    team/oej/aum-trunk/res/res_agi.c
    team/oej/aum-trunk/res/res_features.c
    team/oej/aum-trunk/res/res_monitor.c
    team/oej/aum-trunk/rtp.c
    team/oej/aum-trunk/say.c
    team/oej/aum-trunk/utils.c

Propchange: team/oej/aum-trunk/
------------------------------------------------------------------------------
    svnmerge-blocked = /branches/1.2:7497

Propchange: team/oej/aum-trunk/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri Dec 30 04:21:09 2005
@@ -1,1 +1,1 @@
-/trunk:1-7473
+/trunk:1-7671

Modified: team/oej/aum-trunk/Makefile
URL: http://svn.digium.com/view/asterisk/team/oej/aum-trunk/Makefile?rev=7672&r1=7671&r2=7672&view=diff
==============================================================================
--- team/oej/aum-trunk/Makefile (original)
+++ team/oej/aum-trunk/Makefile Fri Dec 30 04:21:09 2005
@@ -45,6 +45,11 @@
 
 #Tell gcc to optimize the code
 OPTIMIZE+=-O6
+else
+  # Stack backtraces, while useful for debugging, are incompatible with optimizations
+  ifeq (${OSARCH},Linux)
+    CFLAGS+=-DSTACK_BACKTRACES
+  endif
 endif
 
 #Overwite config files on "make samples"
@@ -332,7 +337,10 @@
 ASTCFLAGS+= $(MALLOC_DEBUG)
 ASTCFLAGS+= $(BUSYDETECT)
 ASTCFLAGS+= $(OPTIONS)
+ifneq ($(findstring dont-optimize,$(MAKECMDGOALS)),dont-optimize)
 ASTCFLAGS+= -fomit-frame-pointer 
+endif
+
 SUBDIRS=res channels pbx apps codecs formats agi cdr funcs utils stdtime
 
 OBJS=io.o sched.o logger.o frame.o loader.o config.o channel.o \

Modified: team/oej/aum-trunk/UPGRADE.txt
URL: http://svn.digium.com/view/asterisk/team/oej/aum-trunk/UPGRADE.txt?rev=7672&r1=7671&r2=7672&view=diff
==============================================================================
--- team/oej/aum-trunk/UPGRADE.txt (original)
+++ team/oej/aum-trunk/UPGRADE.txt Fri Dec 30 04:21:09 2005
@@ -1,205 +1,28 @@
 Information for Upgrading From Previous Asterisk Releases
 =========================================================
 
-Compiling:
-
-* The Asterisk 1.2 source code now uses C language features
-  supported only by 'modern' C compilers.  Generally, this means GCC
-  version 3.0 or higher, although some GCC 2.96 releases will also
-  work.  Some non-GCC compilers that support C99 and the common GCC
-  extensions (including anonymous structures and unions) will also
-  work.  All releases of GCC 2.95 do _not_ have the requisite feature
-  support; systems using that compiler will need to be upgraded to
-  a more recent compiler release.
-
-Dialplan Expressions:
-
-* The dialplan expression parser (which handles $[ ... ] constructs)
-  has gone through a major upgrade, but has one incompatible change:
-  spaces are no longer required around expression operators, including
-  string comparisons. However, you can now use quoting to keep strings
-  together for comparison. For more details, please read the
-  doc/README.variables file, and check over your dialplan for possible
-  problems.
-
-Agents:
-
-* The default for ackcall has been changed to "no" instead of "yes" 
-  because of a bug which caused the "yes" behavior to generally act like
-  "no".  You may need to adjust the value if your agents behave 
-  differently than you expect with respect to acknowledgement.
-
-* The AgentCallBackLogin application now requires a second '|' before
-  specifying an extension at context.  This is to distinguish the options
-  string from the extension, so that they do not conflict.  See
-  'show application AgentCallbackLogin' for more details.
-
-Parking:
-
-* Parking behavior has changed slightly; when a parked call times out,
-  Asterisk will attempt to deliver the call back to the extension that
-  parked it, rather than the 's' extension. If that extension is busy
-  or unavailable, the parked call will be lost.
-
-Dialing:
-
-* The Caller*ID of the outbound leg is now the extension that was 
-  called, rather than the Caller*ID of the inbound leg of the call.  The 
-  "o" flag for Dial can be used to restore the original behavior if 
-  desired.  Note that if you are looking for the originating callerid
-  from the manager event, there is a new manager event "Dial" which 
-  provides the source and destination channels and callerid.
-
-IAX: 
-
-* The naming convention for IAX channels has changed in two ways: 
-   1. The call number follows a "-" rather than a "/" character.
-   2. The name of the channel has been simplified to IAX2/peer-callno,
-   rather than IAX2/peer at peer-callno or even IAX2/peer at peer/callno.
-
-SIP:
-
-* The global option "port" in 1.0.X that is used to set which port to
-  bind to has been changed to "bindport" to be more consistent with
-  the other channel drivers and to avoid confusion with the "port"
-  option for users/peers.
-
-* The "Registry" event now uses "Username" rather than "User" for 
-  consistency with IAX.
-
 Applications:
 
-* With the addition of dialplan functions (which operate similarly
-  to variables), the SetVar application has been renamed to Set.
+* In previous Asterisk releases, many applications would jump to priority n+101
+  to indicate some kind of status or error condition.  This functionality was
+  marked deprecated in Asterisk 1.2.  An option to disable it was provided with
+  the default value set to 'on'.  The default value for the global priority
+  jumping option is now 'off'.
 
-* The CallerPres application has been removed.  Use SetCallerPres 
-  instead.  It accepts both numeric and symbolic names.
+* The applications Cut, Sort, DBGet, DBPut, SetCIDNum, SetCIDName, SetRDNIS,
+  AbsoluteTimeout, DigitTimeout, ResponseTimeout, SetLanguage, GetGroupCount,
+  and GetGroupMatchCount were all deprecated in version 1.2, and therefore have
+  been removed in this version.  You should use the equivalent dialplan
+  function in places where you have previously used one of these applications.
 
-* The applications GetGroupCount, GetGroupMatchCount, SetGroup, and
-  CheckGroup have been deprecated in favor of functions.  Here is a
-  table of their replacements:
+* The application SetVar has been renamed to Set.  The syntax SetVar was marked
+  deprecated in version 1.2 and is no longer recognized in this version.
 
-  GetGroupCount([groupname][@category]	       GROUP_COUNT([groupname][@category])	Set(GROUPCOUNT=${GROUP_COUNT()})
-  GroupMatchCount(groupmatch[@category])       GROUP_MATCH_COUNT(groupmatch[@category])	Set(GROUPCOUNT=${GROUP_MATCH_COUNT(SIP/.*)})
-  SetGroup(groupname[@category])	       GROUP([category])=groupname		Set(GROUP()=test)
-  CheckGroup(max[@category])		       N/A					GotoIf($[ ${GROUP_COUNT()} > 5 ]?103)
+Variables:
 
-  Note that CheckGroup does not have a direct replacement.  There is
-  also a new function called GROUP_LIST() which will return a space
-  separated list of all of the groups set on a channel.  The GROUP()
-  function can also return the name of the group set on a channel when
-  used in a read environment.
+* The builtin variables ${CALLERID}, ${CALLERIDNAME}, ${CALLERIDNUM},
+  ${CALLERANI}, ${DNID}, ${RDNIS}, ${DATETIME}, ${TIMESTAMP}, ${ACCOUNTCODE},
+  and ${LANGUAGE} have all been deprecated in favor of their related dialplan
+  functions.  You are encouraged to move towards the associated dialplan
+  function, as these variables will be removed in a future release.
 
-* The applications DBGet and DBPut have been deprecated in favor of
-  functions.  Here is a table of their replacements:
-
-  DBGet(foo=family/key)        Set(foo=${DB(family/key)})
-  DBPut(family/key=${foo})     Set(DB(family/key)=${foo})
-
-* The application SetLanguage has been deprecated in favor of the
-  function LANGUAGE().
-
-  SetLanguage(fr)		Set(LANGUAGE()=fr)
-
-  The LANGUAGE function can also return the currently set language:
-
-  Set(MYLANG=${LANGUAGE()})
-
-* The applications AbsoluteTimeout, DigitTimeout, and ResponseTimeout
-  have been deprecated in favor of the function TIMEOUT(timeouttype):
-
-  AbsoluteTimeout(300)		Set(TIMEOUT(absolute)=300)
-  DigitTimeout(15)		Set(TIMEOUT(digit)=15)
-  ResponseTimeout(15)		Set(TIMEOUT(response)=15)
-
-  The TIMEOUT() function can also return the currently set timeouts:
-
-  Set(DTIMEOUT=${TIMEOUT(digit)})
-
-* The applications SetCIDName, SetCIDNum, and SetRDNIS have been
-  deprecated in favor of the CALLERID(datatype) function:
-
-  SetCIDName(Joe Cool)		Set(CALLERID(name)=Joe Cool)
-  SetCIDNum(2025551212)		Set(CALLERID(number)=2025551212)
-  SetRDNIS(2024561414)		Set(CALLERID(RDNIS)=2024561414)
-
-* The application Record now uses the period to separate the filename
-  from the format, rather than the colon.
-
-* The application VoiceMail now supports a 'temporary' greeting for each
-  mailbox. This greeting can be recorded by using option 4 in the
-  'mailbox options' menu, and 'change your password' option has been
-  moved to option 5.
-
-* The application VoiceMailMain now only matches the 'default' context if
-  none is specified in the arguments.  (This was the previously 
-  documented behavior, however, we didn't follow that behavior.)  The old
-  behavior can be restored by setting searchcontexts=yes in voicemail.conf.
-
-Queues:
-
-* A queue is now considered empty not only if there are no members but if
-  none of the members are available (e.g. agents not logged on).  To
-  restore the original behavior, use "leavewhenempty=strict" or 
-  "joinwhenempty=strict" instead of "=yes" for those options.
-
-* It is now possible to use multi-digit extensions in the exit context
-  for a queue (although you should not have overlapping extensions,
-  as there is no digit timeout). This means that the EXITWITHKEY event
-  in queue_log can now contain a key field with more than a single
-  character in it.
-
-Extensions:
-
-* By default, there is a new option called "autofallthrough" in
-  extensions.conf that is set to yes.  Asterisk 1.0 (and earlier) 
-  behavior was to wait for an extension to be dialed after there were no 
-  more extensions to execute.  "autofallthrough" changes this behavior
-  so that the call will immediately be terminated with BUSY,
-  CONGESTION, or HANGUP based on Asterisk's best guess.  If you are
-  writing an extension for IVR, you must use the WaitExten application
-  if "autofallthrough" is set to yes.
-
-AGI:
-
-* AGI scripts did not always get SIGHUP at the end, previously.  That 
-  behavior has been fixed.  If you do not want your script to terminate 
-  at the end of AGI being called (e.g. on a hangup) then set SIGHUP to 
-  be ignored within your application.
-
-* CallerID is reported with agi_callerid and agi_calleridname instead
-  of a single parameter holding both.
-
-Music On Hold:
-
-* The preferred format for musiconhold.conf has changed; please see the
-  sample configuration file for the new format. The existing format
-  is still supported but will generate warnings when the module is loaded.
-
-chan_modem:
-
-* All the chan_modem channel drivers (aopen, bestdata and i4l) are deprecated
-  in this release, and will be removed in the next major Asterisk release.
-  Please migrate to chan_misdn for ISDN interfaces; there is no upgrade
-  path for aopen and bestdata modem users.
-
-MeetMe:
-
-* The conference application now allows users to increase/decrease their
-  speaking volume and listening volume (independently of each other and 
-  other users); the 'admin' and 'user' menus have changed, and new sound 
-  files are included with this release. However, if a user calling in 
-  over a Zaptel channel that does NOT have hardware DTMF detection 
-  increases their speaking volume, it is likely they will no longer be 
-  able to enter/exit the menu or make any further adjustments, as the  
-  software DTMF detector will not be able to recognize the DTMF coming 
-  from their device.
-
-GetVar Manager Action:
-
-* Previously, the behavior of the GetVar manager action reported the value
-  of a variable in the following manner:
-   > name: value
-  This has been changed to a manner similar to the SetVar action and is now
-   > Variable: name
-   > Value: value

Modified: team/oej/aum-trunk/apps/Makefile
URL: http://svn.digium.com/view/asterisk/team/oej/aum-trunk/apps/Makefile?rev=7672&r1=7671&r2=7672&view=diff
==============================================================================
--- team/oej/aum-trunk/apps/Makefile (original)
+++ team/oej/aum-trunk/apps/Makefile Fri Dec 30 04:21:09 2005
@@ -91,6 +91,7 @@
 
 install: all
 	for x in $(APPS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done
+	rm -f $(DESTDIR)$(MODULES_DIR)/app_cut.so
 	rm -f $(DESTDIR)$(MODULES_DIR)/app_datetime.so
 	rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so
 

Modified: team/oej/aum-trunk/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/team/oej/aum-trunk/apps/app_chanspy.c?rev=7672&r1=7671&r2=7672&view=diff
==============================================================================
--- team/oej/aum-trunk/apps/app_chanspy.c (original)
+++ team/oej/aum-trunk/apps/app_chanspy.c Fri Dec 30 04:21:09 2005
@@ -439,8 +439,8 @@
 
 	if (recbase) {
 		char filename[512];
-		snprintf(filename,sizeof(filename),"%s/%s.%ld.raw",ast_config_AST_MONITOR_DIR, recbase, time(NULL));
-		if ((fd = open(filename, O_CREAT | O_WRONLY, O_TRUNC)) <= 0) {
+		snprintf(filename,sizeof(filename),"%s/%s.%d.raw",ast_config_AST_MONITOR_DIR, recbase, (int)time(NULL));
+		if ((fd = open(filename, O_CREAT | O_WRONLY | O_TRUNC, 0644)) <= 0) {
 			ast_log(LOG_WARNING, "Cannot open %s for recording\n", filename);
 			fd = 0;
 		}
@@ -482,7 +482,7 @@
 					}
 				}
 				
-				if (igrp && (!spec || ((strlen(spec) < strlen(peer->name) &&
+				if (igrp && (!spec || ((strlen(spec) <= strlen(peer->name) &&
 							!strncasecmp(peer->name, spec, strlen(spec)))))) {
 					if (peer && (!bronly || ast_bridged_channel(peer)) &&
 					    !ast_check_hangup(peer) && !ast_test_flag(peer, AST_FLAG_SPYING)) {

Modified: team/oej/aum-trunk/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/team/oej/aum-trunk/apps/app_dial.c?rev=7672&r1=7671&r2=7672&view=diff
==============================================================================
--- team/oej/aum-trunk/apps/app_dial.c (original)
+++ team/oej/aum-trunk/apps/app_dial.c Fri Dec 30 04:21:09 2005
@@ -53,6 +53,7 @@
 #include "asterisk/utils.h"
 #include "asterisk/app.h"
 #include "asterisk/causes.h"
+#include "asterisk/rtp.h"
 #include "asterisk/manager.h"
 #include "asterisk/privacy.h"
 
@@ -310,7 +311,7 @@
 } while (0)
 
 
-static int onedigit_goto(struct ast_channel *chan, char *context, char exten, int pri) 
+static int onedigit_goto(struct ast_channel *chan, const char *context, char exten, int pri) 
 {
 	char rexten[2] = { exten, '\0' };
 
@@ -380,7 +381,7 @@
 	int pos;
 	int single;
 	struct ast_channel *winner;
-	char *context = NULL;
+	const char *context = NULL;
 	char cidname[AST_MAX_EXTENSION];
 
 	single = (outgoing && !outgoing->next && !ast_test_flag(outgoing, OPT_MUSICBACK | OPT_RINGBACK));
@@ -475,6 +476,7 @@
 						ast_clear_flag(o, DIAL_STILLGOING);	
 						HANDLE_CAUSE(cause, in);
 					} else {
+						ast_rtp_make_compatible(o->chan, in);
 						if (o->chan->cid.cid_num)
 							free(o->chan->cid.cid_num);
 						o->chan->cid.cid_num = NULL;
@@ -744,16 +746,17 @@
 	long timelimit = 0;
 	long play_warning = 0;
 	long warning_freq=0;
-	char *warning_sound=NULL;
-	char *end_sound=NULL;
-	char *start_sound=NULL;
+	const char *warning_sound=NULL;
+	const char *end_sound=NULL;
+	const char *start_sound=NULL;
 	char *dtmfcalled=NULL, *dtmfcalling=NULL;
-	char *var;
+	const char *var;
 	char status[256];
 	int play_to_caller=0,play_to_callee=0;
 	int sentringing=0, moh=0;
-	char *outbound_group = NULL;
-	char *macro_result = NULL, *macro_transfer_dest = NULL;
+	const char *outbound_group = NULL;
+	const char *macro_result = NULL;
+	char *macro_transfer_dest = NULL;
 	int digit = 0, result = 0;
 	time_t start_time, answer_time, end_time;
 	struct ast_app *app = NULL;
@@ -1052,6 +1055,9 @@
 			}
 		}
 
+		/* Setup outgoing SDP to match incoming one */
+		ast_rtp_make_compatible(tmp->chan, chan);
+		
 		/* Inherit specially named variables from parent channel */
 		ast_channel_inherit_variables(chan, tmp->chan);
 
@@ -1190,7 +1196,7 @@
 		if (peer->name)
 			pbx_builtin_setvar_helper(chan, "DIALEDPEERNAME", peer->name);
 
-		number = pbx_builtin_getvar_helper(peer, "DIALEDPEERNUMBER");
+		number = (char *)pbx_builtin_getvar_helper(peer, "DIALEDPEERNUMBER");
 		if (!number)
 			number = numsubst;
 		pbx_builtin_setvar_helper(chan, "DIALEDPEERNUMBER", number);
@@ -1602,7 +1608,8 @@
 
 static int retrydial_exec(struct ast_channel *chan, void *data)
 {
-	char *announce = NULL, *context = NULL, *dialdata = NULL;
+	char *announce = NULL, *dialdata = NULL;
+	const char *context = NULL;
 	int sleep = 0, loops = 0, res = 0;
 	struct localuser *u;
 	struct ast_flags peerflags;

Modified: team/oej/aum-trunk/apps/app_dictate.c
URL: http://svn.digium.com/view/asterisk/team/oej/aum-trunk/apps/app_dictate.c?rev=7672&r1=7671&r2=7672&view=diff
==============================================================================
--- team/oej/aum-trunk/apps/app_dictate.c (original)
+++ team/oej/aum-trunk/apps/app_dictate.c Fri Dec 30 04:21:09 2005
@@ -47,7 +47,7 @@
 static char *tdesc = "Virtual Dictation Machine";
 static char *app = "Dictate";
 static char *synopsis = "Virtual Dictation Machine";
-static char *desc = "  Dictate([<base_dir>])\n"
+static char *desc = "  Dictate([<base_dir>[|<filename>]])\n"
 "Start dictation machine using optional base dir for files.\n";
 
 
@@ -80,7 +80,7 @@
 
 static int dictate_exec(struct ast_channel *chan, void *data)
 {
-	char *mydata, *argv[2], *path = NULL, filein[256];
+	char *mydata, *argv[3], *path = NULL, filein[256], *filename = "";
 	char dftbase[256];
 	char *base;
 	struct ast_flags flags = {0};
@@ -112,7 +112,9 @@
 	} else {
 		base = dftbase;
 	}
-
+	if (argc && argv[1]) {
+		filename = argv[1];
+	} 
 	oldr = chan->readformat;
 	if ((res = ast_set_read_format(chan, AST_FORMAT_SLINEAR)) < 0) {
 		ast_log(LOG_WARNING, "Unable to set to linear mode.\n");
@@ -122,13 +124,17 @@
 
 	ast_answer(chan);
 	ast_safe_sleep(chan, 200);
-	for(res = 0; !res;) {
-		if (ast_app_getdata(chan, "dictate/enter_filename", filein, sizeof(filein), 0) || 
-			ast_strlen_zero(filein)) {
-			res = -1;
-			break;
+	for (res = 0; !res;) {
+		if (ast_strlen_zero(filename)) {
+			if (ast_app_getdata(chan, "dictate/enter_filename", filein, sizeof(filein), 0) || 
+				ast_strlen_zero(filein)) {
+				res = -1;
+				break;
+			}
+		} else {
+			ast_copy_string(filein, filename, sizeof(filein));
+			filename = "";
 		}
-		
 		mkdir(base, 0755);
 		len = strlen(base) + strlen(filein) + 2;
 		if (!path || len > maxlen) {

Modified: team/oej/aum-trunk/apps/app_directed_pickup.c
URL: http://svn.digium.com/view/asterisk/team/oej/aum-trunk/apps/app_directed_pickup.c?rev=7672&r1=7671&r2=7672&view=diff
==============================================================================
--- team/oej/aum-trunk/apps/app_directed_pickup.c (original)
+++ team/oej/aum-trunk/apps/app_directed_pickup.c Fri Dec 30 04:21:09 2005
@@ -77,7 +77,7 @@
 
 	/* Find a channel to pickup */
 	origin = ast_get_channel_by_exten_locked(exten, context);
-	if (origin) {
+	if (origin && origin->cdr) {
 		ast_cdr_getvar(origin->cdr, "dstchannel", &tmp, workspace,
 			       sizeof(workspace), 0);
 		if (tmp) {
@@ -89,6 +89,8 @@
 		}
 		ast_mutex_unlock(&origin->lock);
 	} else {
+		if (origin)
+			ast_mutex_unlock(&origin->lock);
 		ast_log(LOG_DEBUG, "No originating channel found.\n");
 	}
 	

Modified: team/oej/aum-trunk/apps/app_externalivr.c
URL: http://svn.digium.com/view/asterisk/team/oej/aum-trunk/apps/app_externalivr.c?rev=7672&r1=7671&r2=7672&view=diff
==============================================================================
--- team/oej/aum-trunk/apps/app_externalivr.c (original)
+++ team/oej/aum-trunk/apps/app_externalivr.c Fri Dec 30 04:21:09 2005
@@ -94,9 +94,9 @@
 	char tmp[256];
 
 	if (!data) {
-		snprintf(tmp, sizeof(tmp), "%c,%10ld", event, time(NULL));
+		snprintf(tmp, sizeof(tmp), "%c,%10d", event, (int)time(NULL));
 	} else {
-		snprintf(tmp, sizeof(tmp), "%c,%10ld,%s", event, time(NULL), data);
+		snprintf(tmp, sizeof(tmp), "%c,%10d,%s", event, (int)time(NULL), data);
 	}
 
 	fprintf(handle, "%s\n", tmp);

Modified: team/oej/aum-trunk/apps/app_hasnewvoicemail.c
URL: http://svn.digium.com/view/asterisk/team/oej/aum-trunk/apps/app_hasnewvoicemail.c?rev=7672&r1=7671&r2=7672&view=diff
==============================================================================
--- team/oej/aum-trunk/apps/app_hasnewvoicemail.c (original)
+++ team/oej/aum-trunk/apps/app_hasnewvoicemail.c Fri Dec 30 04:21:09 2005
@@ -90,7 +90,6 @@
 		while ((vment = readdir(vmdir))) {
 			if (!strncmp(vment->d_name + 7, ".txt", 4)) {
 				count++;
-				break;
 			}
 		}
 		closedir(vmdir);

Modified: team/oej/aum-trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/team/oej/aum-trunk/apps/app_meetme.c?rev=7672&r1=7671&r2=7672&view=diff
==============================================================================
--- team/oej/aum-trunk/apps/app_meetme.c (original)
+++ team/oej/aum-trunk/apps/app_meetme.c Fri Dec 30 04:21:09 2005
@@ -54,6 +54,8 @@

[... 9570 lines stripped ...]


More information about the svn-commits mailing list