asterisk/main
Steve Murphy 5eaf8450d6 Merged revisions 135799 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r135799 | murf | 2008-08-05 17:13:20 -0600 (Tue, 05 Aug 2008) | 34 lines

(closes issue #12982)
Reported by: bcnit
Tested by: murf

I discovered that also, in the previous bug fixes and changes,
the cdr.conf 'unanswered' option is not being obeyed, so
I fixed this.

And, yes, there are two 'answer' times involved in this
scenario, and I would agree with you, that the first 
answer time is the time that should appear in the CDR.
(the second 'answer' time is the time that the bridge
was begun).

I made the necessary adjustments, recording the first
answer time into the peer cdr, and then using that to
override the bridge cdr's value.

To get the 'unanswered' CDRs to appear, I purposely
output them, using the dial cmd to mark them as
DIALED (with a new flag), and outputting them if
they bear that flag, and you are in the right mode.

I also corrected one small mention of the Zap device
to equally consider the dahdi device.

I heavily tested 10-sec-wait macros in dial, and
without the macro call; I tested hangups while the
macro was running vs. letting the macro complete
and the bridge form. Looks OK. Removed all the
instrumentation and debug.



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-05 23:45:32 +00:00
..
db1-ast clean up assembler and preprocessor files if they are here too 2007-10-29 22:24:44 +00:00
editline Merged revisions 129343 via svnmerge from 2008-07-09 13:44:43 +00:00
stdtime Merged revisions 103845 via svnmerge from 2008-02-20 18:28:00 +00:00
Makefile make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions 2008-08-05 16:56:11 +00:00
abstract_jb.c Janitor patch to change uses of sizeof to ARRAY_LEN 2008-07-11 18:09:35 +00:00
acl.c Janitor project to convert sizeof to ARRAY_LEN macro. 2008-07-08 16:40:28 +00:00
adsistub.c remove a bunch of useless #include "options.h" 2007-11-21 23:09:02 +00:00
aescrypt.c use the OpenSSL AES implementation if it's available (unless configured not to) 2007-05-24 22:07:50 +00:00
aeskey.c use the OpenSSL AES implementation if it's available (unless configured not to) 2007-05-24 22:07:50 +00:00
aesopt.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
aestab.c use the OpenSSL AES implementation if it's available (unless configured not to) 2007-05-24 22:07:50 +00:00
alaw.c Whitespace changes only 2008-03-04 23:04:29 +00:00
app.c Merged revisions 134475 via svnmerge from 2008-07-30 18:33:12 +00:00
ast_expr2.c (closes issue #12467) 2008-04-21 21:13:02 +00:00
ast_expr2.fl Change references to doc/channelvariables.txt to 2008-06-20 16:30:18 +00:00
ast_expr2.h (closes issue #12467) 2008-04-21 21:13:02 +00:00
ast_expr2.y (closes issue #12467) 2008-04-21 21:13:02 +00:00
ast_expr2f.c Change references to doc/channelvariables.txt to 2008-06-20 16:30:18 +00:00
asterisk.c Add %u and %g to the ASTERISK_PROMPT settings, for username and group, 2008-07-30 15:30:18 +00:00
astmm.c Merged revisions 129966 via svnmerge from 2008-07-11 14:16:15 +00:00
astobj2.c Revert a previous regression in astobj2.c from merging a branch. 2008-06-17 22:24:45 +00:00
audiohook.c make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions 2008-08-05 16:56:11 +00:00
autoservice.c Merged revisions 122713 via svnmerge from 2008-06-13 21:45:21 +00:00
buildinfo.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
callerid.c Optionally build integer-based routines for FSK tone decoding (but default 2008-07-21 20:59:03 +00:00
cdr.c Merged revisions 135799 via svnmerge from 2008-08-05 23:45:32 +00:00
channel.c Merged revisions 135799 via svnmerge from 2008-08-05 23:45:32 +00:00
chanvars.c another bunch of include removals (errno.h and asterisk/logger.h) 2007-11-19 19:09:03 +00:00
cli.c Merged revisions 135597 via svnmerge from 2008-08-05 13:26:34 +00:00
config.c Add '+=' append operator to configuration files. 2008-08-05 18:25:16 +00:00
cryptostub.c Whitespace changes only 2008-03-04 23:04:29 +00:00
cygload.c Doxygen updates, formatting. 2007-12-11 22:20:22 +00:00
datastore.c make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions 2008-08-05 16:56:11 +00:00
db.c Several manager changes: 2008-01-10 00:12:35 +00:00
devicestate.c actually use the cache_cache argument 2008-07-26 15:16:20 +00:00
dial.c Convert one more delimiter to use comma. 2008-06-13 14:15:07 +00:00
dns.c Fix a bug in SRV lookups where dnsmgr would discard everything but the 2008-07-08 21:00:01 +00:00
dnsmgr.c Merged revisions 130735 via svnmerge from 2008-07-14 17:21:18 +00:00
dsp.c Janitor patch to change uses of sizeof to ARRAY_LEN 2008-07-11 18:09:35 +00:00
ecdisa.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
enum.c The following patch adds new options and alters the default behavior of the ENUM* functions. The TXCIDNAME lookup function has also gotten a 2008-05-09 19:54:45 +00:00
event.c Add an additional sanity check in case an event is passed between 2008-06-10 19:52:21 +00:00
features.c Merged revisions 135799 via svnmerge from 2008-08-05 23:45:32 +00:00
file.c Merge changes from timing branch 2008-06-13 12:45:50 +00:00
fixedjitterbuf.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
fixedjitterbuf.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
frame.c Janitor project to convert sizeof to ARRAY_LEN macro. 2008-07-08 16:40:28 +00:00
fskmodem.c (Step 2 of 2) 2008-07-21 21:00:47 +00:00
fskmodem_float.c Optionally build integer-based routines for FSK tone decoding (but default 2008-07-21 20:59:03 +00:00
fskmodem_int.c Optionally build integer-based routines for FSK tone decoding (but default 2008-07-21 20:59:03 +00:00
global_datastores.c Asterisk, when parking can drop rights a caller when a parking timeout occurs. Also, when doing built-in attended transfers, sometimes incorrectly passes rights from the transferrer to the transferee. This patch tries to fixes the parking issue and lays some groundwork for later fixing the transfer issue. 2008-03-01 01:30:37 +00:00
hashtab.c Fix magic Revision keywords in hashtab.c and change cdr_radius.c to use 2008-07-18 17:55:41 +00:00
http.c HTTP module memory leaks 2008-08-04 16:34:04 +00:00
image.c Whitespace changes only 2008-03-04 23:04:29 +00:00
indications.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
io.c Merged revisions 94977 via svnmerge from 2007-12-27 20:11:20 +00:00
jitterbuf.c Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not 2008-03-18 15:43:34 +00:00
loader.c remove remaining Zaptel references in various places 2008-07-28 16:42:00 +00:00
logger.c minor change to test automerge 2008-07-25 20:56:43 +00:00
manager.c make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions 2008-08-05 16:56:11 +00:00
md5.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
netsock.c Make OpenBSD compile again 2008-06-19 20:25:37 +00:00
pbx.c make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions 2008-08-05 16:56:11 +00:00
plc.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
poll.c Whitespace changes only 2008-03-04 23:04:29 +00:00
privacy.c remove a bunch of useless #include "options.h" 2007-11-21 23:09:02 +00:00
rtp.c Merged revisions 129436 via svnmerge from 2008-07-09 19:40:30 +00:00
say.c Merged revisions 132112 via svnmerge from 2008-07-18 19:09:39 +00:00
sched.c Oops, wrong define 2008-07-30 22:38:58 +00:00
sha1.c more header removal/normalization 2007-11-21 00:23:49 +00:00
slinfactory.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
srv.c Fix a bug in SRV lookups where dnsmgr would discard everything but the 2008-07-08 21:00:01 +00:00
strcompat.c Whitespace changes only 2008-03-04 23:04:29 +00:00
taskprocessor.c make solaris happy...pointed out by snuff-home on IRC 2008-06-23 15:24:05 +00:00
tcptls.c Fix a crash in tcp and tls connections related to reference counts. 2008-06-18 20:07:56 +00:00
tdd.c Optionally build integer-based routines for FSK tone decoding (but default 2008-07-21 20:59:03 +00:00
term.c Whitespace changes only 2008-03-04 23:04:29 +00:00
threadstorage.c Janitor patch to change uses of sizeof to ARRAY_LEN 2008-07-11 18:09:35 +00:00
timing.c - add get_max_rate timing API call 2008-06-26 15:37:01 +00:00
translate.c Convert casts to unions, to fix alignment issues on Solaris 2008-06-26 17:06:17 +00:00
udptl.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
ulaw.c another bunch of include removals (errno.h and asterisk/logger.h) 2007-11-19 19:09:03 +00:00
utils.c Merged revisions 132872 via svnmerge from 2008-07-23 16:30:18 +00:00