From 3c64c026215fedc6e1c4703b4cf082e1f30f4019 Mon Sep 17 00:00:00 2001 From: Nicolas Gudino Date: Fri, 5 Jul 2024 15:54:26 -0400 Subject: [PATCH] Fix macro-user-callerid to resume correctly and setting cnum, cnam and checking concurrency limit. Bug introduced whean adding registering transfers in queue_log --- core/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/functions.inc.php b/core/functions.inc.php index d3d0516c..c9ffbb3e 100644 --- a/core/functions.inc.php +++ b/core/functions.inc.php @@ -3813,7 +3813,7 @@ function core_do_get_config($engine) { if ($amp_conf['QUEUES_LOG_TRANSFERS'] !== false) { // Log TRANSFER in queue_log if a BLINDTRANSFER is detected from a queue call $ext->add($context, $exten, '', new ext_gotoif('$["${BLINDTRANSFER}" != "" & "${FROMQ}" != ""]', 'trq')); - $ext->add($context, $exten, '', new ext_goto('1','resume')); + $ext->add($context, $exten, '', new ext_gotoif('$["x" = "x"]', 'resume')); $ext->add($context, $exten, 'trq', new ext_gotoif('$["x${NODEST}" = "x"]', 'resume')); $ext->add($context, $exten, '', new ext_set('AGCHAN', '${CUT(BLINDTRANSFER,-,1)}')); $ext->add($context, $exten, '', new ext_set('VIRTUAL', '${CUT(AGCHAN,/,2)}'));