[asterisk-bugs] [JIRA] (ASTERISK-25152) func_cdr: Deadlock when used with ARI originated channels

Joshua Colp (JIRA) noreply at issues.asterisk.org
Sun Dec 17 15:25:07 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp closed ASTERISK-25152.
----------------------------------

    Resolution: Fixed

> func_cdr: Deadlock when used with ARI originated channels
> ---------------------------------------------------------
>
>                 Key: ASTERISK-25152
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25152
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/func_cdr
>    Affects Versions: 13.3.2
>            Reporter: Joshua Colp
>            Severity: Minor
>
> Using the following deprecated methods of setting CDR fields causes a deadlock when used with ARI origination:
> CDR(accountcode)
> CDR(amaflags)
> This is due to the ARI origination thread holding the channel lock while the CDR dispatch thread attempts to acquire it. This results in a deadlock.
> Using the preferred CHANEL() mechanism does not result in this problem happening as the operations occur within the ARI origination thread.
> I've marked this issue minor as a result of this.



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



More information about the asterisk-bugs mailing list