[asterisk-bugs] [JIRA] (ASTERISK-25152) func_cdr: Deadlock when used with ARI originated channels
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Mon Jun 8 08:50:33 CDT 2015
Joshua Colp created ASTERISK-25152:
--------------------------------------
Summary: 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