Files
asterisk/main
Matthew Jordan 34f18cc7f1 CDR: Improve handling of parking; resolve assertion when originating into park
This patch covers two problems:

1) Currently, when a call is transferred into a parking lot from a bridge
   (using either the blind transfer or one touch parking mechanisms), the
   application fails to be set to "Park" in the resulting CDR record for
   the parked channel. This is due to the ParkedCall message arriving before
   the BridgeEnter for the channel entering the parking bridge. The ParkedCall
   message isn't handled as the CDR for the channel has already been finalized
   (due to the channel having left its two party bridge), and the BridgeEnter -
   which creates the new CDR - doesn't have the parking information. This patch
   modifies the behavior so that reception of a ParkedCall message will - if
   not handled by a CDR chain - cause a new CDR to be created and put into the
   Parking state.

2) It fixes a FRACK that occurred when a channel is originated into a parking
   space. The DialedPending state - which occurs for both Dialed and Originated
   channels - assumed that it couldn't handle the parking transitions due to it
   having a Party B; however, Originated channels don't have a Party B. As such,
   the existing CDR needs to transition into the parking state - this patch does
   that.

Review: https://reviewboard.asterisk.org/r/2877/

(closes issue ASTERISK-22482)
Reported by: Richard Mudgett
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-09-28 20:55:48 +00:00
..
2013-08-01 17:07:52 +00:00
2013-08-29 21:37:29 +00:00
2013-08-20 15:36:10 +00:00
2013-07-19 23:30:10 +00:00
2013-07-25 04:06:32 +00:00
2013-08-17 14:39:27 +00:00
2013-09-27 14:08:23 +00:00
2013-08-28 16:09:12 +00:00
2013-09-10 18:05:47 +00:00
2013-08-30 19:22:59 +00:00
2013-07-04 13:06:15 +00:00
2013-06-29 00:18:57 +00:00
2013-08-16 17:33:21 +00:00
2013-08-17 14:39:27 +00:00
2013-07-14 02:05:04 +00:00
2013-09-10 18:05:47 +00:00
2013-08-29 21:37:29 +00:00
2013-08-16 16:26:11 +00:00
2013-09-10 18:05:47 +00:00
2013-09-06 18:53:32 +00:00
2012-12-11 22:25:21 +00:00
2013-09-20 14:26:44 +00:00
2013-08-23 21:49:47 +00:00
2013-08-16 17:33:21 +00:00
2013-08-30 19:22:59 +00:00
2013-08-16 17:33:21 +00:00
2012-12-11 22:25:21 +00:00
2013-02-14 18:47:56 +00:00
2012-12-11 22:25:21 +00:00
2013-08-30 19:22:59 +00:00
2013-08-01 17:07:52 +00:00