summaryrefslogtreecommitdiff
path: root/autoconf/libcurl.m4
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2017-12-05 18:04:47 -0600
committerRichard Mudgett <rmudgett@digium.com>2017-12-06 15:59:53 -0600
commitf59a75c6fa1a94789425d9efdd181781b0d040d0 (patch)
treef2430bc277915b0b7748cdd1ceab848bca9152c5 /autoconf/libcurl.m4
parent8e6aedbdcde92661ac59ef383cd801f8414e229a (diff)
CDR: Fix deadlock setting some CDR values.
Setting channel variables with the AMI Originate action caused a deadlock when you set CDR(amaflags) or CDR(accountcode). This path has the channel locked when the CDR function is called. The CDR function then synchronously passes the job to a stasis thread. The stasis handling function then attempts to lock the channel. Deadlock results. * Avoid deadlock by making the CDR function handle setting amaflags and accountcode directly on the channel rather than passing it off to the CDR processing code under a stasis thread to do it. * Made the CHANNEL function and the CDR function process amaflags the same way. * Fixed referencing the wrong message type in cdr_prop_write(). ASTERISK-27460 Change-Id: I5eacb47586bc0b8f8ff76a19bd92d1dc38b75e8f
Diffstat (limited to 'autoconf/libcurl.m4')
0 files changed, 0 insertions, 0 deletions