Anyone ever noticed that the reported holdtime is wrong when there are
different priorities? Also talktime is 0, but for the moment I don't
care.

"queue show test" reports:
test has 23 calls (max unlimited) in 'ringall' strategy (193s holdtime,
0s talktime)
[...]
   Callers: 
      1. Local/3...@default-8828;2 (wait: 3:32, prio: 15)
      2. Local/3...@default-8361;2 (wait: 3:32, prio: 15)
[...]
      6. Local/1...@default-b575;2 (wait: 9:25, prio: 10)
      7. Local/1...@default-fce5;2 (wait: 9:21, prio: 10)
[...]
      22. Local/3...@default-89fb;2 (wait: 6:45, prio: 5)
      23. Local/3...@default-7264;2 (wait: 0:08, prio: 5)

The reported holdtime to the caller is 3 minutes! The wait time of
caller number 1, instead of the 9 minutes holdtime of caller number 6.
This is a realtime Queue on 1.6.2.13.


Also can the priority be changed dynamically (using AMI)? For now I'm 
using:
  exten => s,n,Set(QUEUE_PRIO=5)
  exten => s,n,Queue(test,twrC,,,900)
  exten => s,n,Set(QUEUE_PRIO=15)
  exten => s,n,Queue(test,twr,,,3600)
some callers and 
  exten => s,n,Set(QUEUE_PRIO=10)
  exten => s,n,Queue(test,twr,,,3600)
for all others. Changing the the priority dynamically depending on
context and waittime should avoid the wrong reported holdtime.

-- 

   Daniel Tryba

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to