Summary: | ASTERISK-25152: func_cdr: Deadlock when used with ARI originated channels | ||
Reporter: | Joshua C. Colp (jcolp) | Labels: | |
Date Opened: | 2015-06-08 08:50:14 | Date Closed: | 2017-12-17 15:23:13.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Functions/func_cdr |
Versions: | 13.3.2 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | 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. | ||
Comments: |