[asterisk-bugs] [JIRA] (ASTERISK-28152) mysql two record

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Fri Nov 16 13:31:47 CST 2018


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

Kevin Harwell commented on ASTERISK-28152:
------------------------------------------

I went back to Asterisk 13.2.0 and ran a similar test. 13.2.0 exhibited the current behavior in that two CDR records were created for the given channel in the specified scenario. If two CDR records are created then both of those would propagate to any CDR backend writer.

I checked the cdr_adaptive_odbc module and nothing has changed in that since 13.2.0 that would have effected the writing of records, so I assume it would have and would still write two database records since two CDRs were created.

However based on your last comment it sounds like you are using the addons/cdr_mysql module. This module has been [deprecated since 1.8|https://wiki.asterisk.org/wiki/display/AST/MySQL+CDR+Backend]. If that is what you are using then it's possible there was a bug in that code that might have gotten fixed, and it now properly writes all propogated records.

Unfortunately there appears to be nothing for us to do for this. Given the scenario, and the log file it appears things are working as they should, so this is not a bug. If it worked before then I'd say that was the bug.

> mysql two record
> ----------------
>
>                 Key: ASTERISK-28152
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28152
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: CDR/cdr_adaptive_odbc
>    Affects Versions: 13.23.1
>            Reporter: Mesut Altürk
>            Assignee: Unassigned
>         Attachments: debug_log_123456.txt, debug_log_cdr.txt, Ekran Alıntısı.JPG
>
>
> We have updated asterisk version from 13.2.0 to 13.23.1. In the following case, double-throwing records.
> *******extensions.conf*******
> [DLPN_DialPlan1]
> exten = 630,1,Queue(630,tkXx,,,,queue-set.php,)
> [macro-stdexten-record-test]
> exten => s,1,NoOp(Test)
> *******queue-set.php*******
> #!/usr/bin/php -q
> <?php
> require_once('phpagi.php');
> require_once('phpagi-asmanager.php');
> $agi=new AGI();
> $agi->exec("Macro","stdexten-record-test");
> ?>



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



More information about the asterisk-bugs mailing list