[asterisk-bugs] [JIRA] (ASTERISK-16194) [patch] In agent calls recording, CDR userfield is not updated when the call is transferred

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Mar 27 15:32:35 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-16194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225666#comment-225666 ] 

Matt Jordan commented on ASTERISK-16194:
----------------------------------------

While I know this issue is slightly old, we're going to close this out as "Won't Fix" - although really, this has already been fixed (or at least broken in new and creative ways) in some branches and (hopefully) permanently fixed in other branches.

First, the code where this patch was originally applied no longer exists. That makes it rather difficult to diagnose whether or not the patch is still needed.

Second, the code where this would go now attempts to handle transfers by swapping/caching CDRs around. Whether or not it handles the userfield correctly is unclear - my suspicion (given issues like ASTERISK-20010) is that it doesn't. Unfortunately, the code in {{features.c}} that does handle this is so horribly brittle that merely looking at it sideways is most likely going to cause CDRs to explode. I'm not confident that touching it - particularly with a 'desperate' fixup - is going to yield anything but pain and suffering.

Finally, in Asterisk 12, we re-did all of CDRs. Since bridging is now sane, transfers became sane, which lent some semblance of sanity to the insanity that are CDRs. At the very least, they are broken in new and more creative ways. They do, however, have functional userfields in transfer scenarios.

Ergo, closing this out as "Won't Fix".

> [patch] In agent calls recording, CDR userfield is not updated when the call is transferred
> -------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-16194
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-16194
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_agent
>            Reporter: Miguel Molina
>            Severity: Minor
>         Attachments: issue_17447_full_log, patch_issue_17447_1.6.2.9-rc2.diff
>
>
> When using agent calls recording, if the call is transferred the userfield on the CDR is not updated with the recording filename.
> Steps to reproduce:
> 1. Enable agent call recording on agents.conf
> 2. Configure a test queue on queues.conf and transfer extension on dialplan along with the dialplan 
> 3. Make a call to the queue as a customer, and have it answered with an agent.
> 4. Finish the call without transferring, the CDR userfield will have the recording filename.
> 5. Repeat the call but this time make the agent transfer the call to the extension you configured. The CDR won't have the recording filename on the CDR.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list