[asterisk-bugs] [JIRA] (ASTERISK-29547) Wrong CDR(dst) after blind transfer

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue Aug 10 06:51:33 CDT 2021


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

Asterisk Team commented on ASTERISK-29547:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

Please note that by submitting data, code, or documentation to Sangoma through JIRA, you accept the Terms of Use present at [https://www.asterisk.org/terms-of-use/|https://www.asterisk.org/terms-of-use/].

> Wrong CDR(dst) after blind transfer
> -----------------------------------
>
>                 Key: ASTERISK-29547
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29547
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: CDR/General, Core/Bridging
>    Affects Versions: 13.7.0, 16.0.0, 18.0.0
>            Reporter: Miroslav Baskakov
>
> Alice <100> calls to Bob <200>
> Bob answers and he blind transfers call to Charlie <300>
> Charlie answers and she blind transfers call to David <400>
> Alice and David talk for awhile until Alice decides to hang up
> I expect the following entries in CDR (as per spec https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+CDR+Specification#Asterisk12CDRSpecification-BlindTransfer):
> {noformat}
> "","100","200","default","""Alice"" <100>","SIP/alice-00000000","SIP/bob-00000001","Dial","SIP/bob,,Tt","2021-08-10 10:32:56","2021-08-10 10:33:01","2021-08-10 10:33:08",12,7,"ANSWERED","DOCUMENTATION","1628591576.0",""
> "","100","300","default","""Alice"" <100>","SIP/alice-00000000","SIP/charlie-00000002","Dial","SIP/charlie,,Tt","2021-08-10 10:33:08","2021-08-10 10:33:08","2021-08-10 10:33:16",7,7,"ANSWERED","DOCUMENTATION","1628591576.0",""
> "","100","400","default","""Alice"" <100>","SIP/alice-00000000","SIP/david-00000003","Dial","SIP/david,,Tt","2021-08-10 10:33:16","2021-08-10 10:33:16","2021-08-10 10:33:26",10,10,"ANSWERED","DOCUMENTATION","1628591576.0",""
> {noformat}
> But now I see the wrong dst in the CDR (dst in every previous record is set to current dst):
> {noformat}
> "","100","300","default","""Alice"" <100>","SIP/alice-00000000","SIP/bob-00000001","Dial","SIP/bob,,Tt","2021-08-10 10:38:22","2021-08-10 10:38:24","2021-08-10 10:38:27",4,3,"ANSWERED","DOCUMENTATION","1628591902.0",""
> "","100","400","default","""Alice"" <100>","SIP/alice-00000000","SIP/charlie-00000002","Dial","SIP/charlie,,Tt","2021-08-10 10:38:27","2021-08-10 10:38:27","2021-08-10 10:38:32",4,4,"ANSWERED","DOCUMENTATION","1628591902.0",""
> "","100","400","default","""Alice"" <100>","SIP/alice-00000000","SIP/david-00000003","Dial","SIP/david,,Tt","2021-08-10 10:38:32","2021-08-10 10:38:32","2021-08-10 10:38:38",5,5,"ANSWERED","DOCUMENTATION","1628591902.0",""
> {noformat}
> CDR with blind transfer worked correctly up to version 13.6.0. All versions after (13.7.0, 16.0, 18.0) contain ASTERISK-25600 and CDR sets wrong dst.
> As a solution, I reverted the changes in the main/bridge_channel.c:
> {code}
> -	ast_channel_lock(bridge_channel->chan);
> -	ast_bridge_vars_set(bridge_channel->chan, NULL, NULL);
> -	ast_channel_unlock(bridge_channel->chan);
> {code}
> and CDR works as in the specification, suitable for any asterisk version.



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



More information about the asterisk-bugs mailing list