]> git.ipfire.org Git - thirdparty/asterisk.git/commit
(closes issue #12318)
authorSteve Murphy <murf@digium.com>
Wed, 10 Sep 2008 21:58:17 +0000 (21:58 +0000)
committerSteve Murphy <murf@digium.com>
Wed, 10 Sep 2008 21:58:17 +0000 (21:58 +0000)
commitdca52e11c53b7853ee97bb53550526fe44aa266b
treefef45613931bd35040335a8b47208094f0e3e453
parent42e0a95c2f1b285a7e219f9deddaeb926db84d53
(closes issue #12318)
Reported by: krtorio

I made a small change to the code that handles local channel situations.
In that code, I copy the answer time from the peer cdr, to the bridge_cdr,
but I wasn't also copying the disposition from the peer cdr.

So, Now I copy the disposition, and I've tested against
these cases:

1. phone 1 never answers the phone; no cdr is generated at all.
   this should show up as a manager command failure or something.

2. phone 2 never answers. CDR is generated, says NO ANSWER

3. phone 2 is busy. CDR is generated, says BUSY

4. phone 2 answers: CDR is generated, times are correct; disposition
   is ANSWERED, which is correct. The start time is the time that
   the manager dialed the first phone. The answer time is the time
   the second phone picks up.

I purposely left the cid and src fields blank; since this call really
originates from the manager, there is no 'easy' data to put in these
fields. If you feel strongly that these fields should be filled in,
re-open this bug and I'll dig further.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@142474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_features.c