Penalty in queues. This is working?

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Penalty in queues. This is working?

Postby dimentr » Sun Dec 13, 2015 2:31 pm

Hello.
I want to change the penalty spot in the queue.
The task is simple: first caller with a penalty 1, then 1 and 2 with a penalty, and then all abonents.

There is a test queue. Queues.conf
Code: Select all
[test]
  musicclass = ny
  strategy = ringall
  announce-frequency = 0
  servicelevel=60
  timeout=25
  autofill=yes
  setinterfacevar=yes
  ringinuse = yes
  eventwhencalled=yes
  joinempty = unavailable
  monitor-format = wav
  monitor-type = MixMonitor
  periodic-announce = recordings/please-wait-for-operator
  periodic-announce-frequency=40

  member => SIP/292,2
  member => SIP/226,1
  member => SIP/610,2
  member => SIP/231,3


Part dialplan. extensions.conf
Code: Select all
  exten => s,n(push),Queue(test,t,,,7)
  exten => s,n,Set(QUEUE_MIN_PENALTY=1)
  exten => s,n,Set(QUEUE_MAX_PENALTY=3)
  exten => s,n,Goto(s,push)


According to my reasons in the second set, must ringing all abonents, but ringing only abonents with penalty 1.

QUEUE_MAX_PENALTY=0 also does not work

Help me please, what am I doing wrong?
dimentr
Newsterisk
 
Posts: 2
Joined: Thu Jun 11, 2015 5:21 am

Return to Asterisk Support

Who is online

Users browsing this forum: MSN [Bot] and 1 guest