Quantcast
Channel: FreePBX - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 17605

Dynamic Routes Question - Average Wait Time

$
0
0

Maybe @lgaetz knows…

I am trying to use a dynamic route to look at essentially the queue wait time and route the call to a different queue if it exceeds a certain threshold. If queue 7500 has a wait time greater than 3 minutes, I want to skip that queue and go to another.

I am using:
$[${QUEUE_VARIABLES(7500,QUEUEHOLDTIME)}>180]

In Asterisk Info the queue is:

7500 has 1 calls (max unlimited) in 'rrmemory' strategy (47s holdtime, 898s talktime), W:0, C:7, A:1, SL:71.4%, SL2:75.0% within 60s
Members:
test (Local/XXXXXXXXXX@from-queue/n) (ringinuse disabled) (dynamic) (paused:1 was 516 secs ago) (Not in use) has taken no calls yet (login was 537 secs ago)
Callers:
1. SIP/XXX-000e9684 (wait: 4:54, prio: 0)

When I call my dynamic route I get:
WARNING[9923][C-000900b2] app_queue.c: queue 7500,QUEUEHOLDTIME was not found

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 17605

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>