Summary:ASTERISK-11683: Call forwarding scenario with Playback() causes dispositions to be reversed
Reporter:Leif Madsen (lmadsen)Labels:
Date Opened:2008-03-19 00:25:31Date Closed:2011-06-07 14:08:05
Versions:Frequency of
Description:After looking at the disposition of some CDRs after doing a call forwarding scenario, it seems the dispostion of the two channels are reversed. Scenario as follows:

         |- CHAN 1 -|                             |----- CHAN 2 -----|
PSTN -> GW -> SIP -> Asterisk -> Playback() -> SIP -> Dial(SIP/GW2) -> PSTN

A dispostion of ANSWERED is always encountered on the 2nd channel CDR record, even when not ringing, but the first CDR record remains at NO ANSWER.

By removing the Playback(), both channels have the disposition of NO ANSWER.
Comments:By: Leif Madsen (lmadsen) 2008-03-19 00:27:11

It should also be noted that the scenario I'm testing is when the caller hangs up before the call forwarding destination picks up the call.

By: Jason Parker (jparker) 2008-03-31 18:35:20

Playback answers the channel.

I may be misunderstanding the issue (wouldn't be the first time), but I don't think this is a bug.  Thoughts?

By: Leif Madsen (lmadsen) 2008-03-31 20:16:07

Qwell:  correct, which is why I removed the Playback() altogether for the customer I was seeing this on, but the ANSWERED disposition seemed to be reversed.

However, this is no longer an issue for me, and since I can't seem to find the CDR records that this is bug is related to, I'm just gonna close it until I run into it again.

By: Leif Madsen (lmadsen) 2008-03-31 20:16:46

Closing until I can get a CDR record that exhibits this again.