添加呼叫队列拨打电话

This commit is contained in:
老李 2021-03-16 22:42:46 +08:00
parent 30745a06cf
commit e62c79ab0a
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class SwooleDial extends Command
{
\Swoole\Coroutine\run(function (){
$key = config('freeswitch.redis_key.dial');
while ($uuid = Redis::bPop($key)) {
while ($uuid = Redis::blpop($key)) {
$cdr = Cdr::query()->where('uuid','=',$uuid)->first();
if ($cdr == null){
Log::info(sprintf("通话记录[%s]不存在",$uuid));