cdrs: Check for applications to lock onto during dial begin handling
authorMatthew Jordan <mjordan@digium.com>
Mon, 3 Feb 2014 01:31:53 +0000 (01:31 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 3 Feb 2014 01:31:53 +0000 (01:31 +0000)
commit01af8d6e12b4ff76a7b234bf2a78d3e0c27cd657
tree3dc4d256945318ea4035da0c5a09a963febf89f0
parente5899852cc61a3f0a53707c2099ba35380198c69
cdrs: Check for applications to lock onto during dial begin handling

This patch brings CDR processing further in line with r407085. During some dial
operations, the application would not be locked to the Dial application and
would instead continue to show the previously known application. In particular,
this would occur when a Parked call would time out. This was due to a previous
snapshot already locking the application to Park - processing this in a Dial
Begin allows the Dial application to reassert its rightful place.

(CDRs. Ugh.)

But hooray for the Parked Call tests for catching this in the Asterisk Test
Suite.
........

Merged revisions 407166 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@407169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/cdr.c