Author Topic: Agent Priority  (Read 1877 times)

gopal2k

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
    • View Profile
Agent Priority
« on: May 22, 2015, 16:16:05 »
Hi, I would like to set the agent priority, and the same is configured, which I can see that  with prioritylabel 'W' and prioritynum '1' but still the calls are getting routed even though there are free agents.

We have multiple queues, and this agent is part of multiple queue, in all queues the agent is in wrap mode also in queues.conf I have configured the last shared call as yes.

Any suggestions would be appreciated.

Regards,
Gopal.

acrisuser

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
    • Email
Re: Agent Priority
« Reply #1 on: May 28, 2015, 12:51:21 »
Hi,
in my case this was my solution:
in order to enable this feature you should slightly modify the queuemetrics'
dialplan:

1) open /etc/asterisk/extensions_queuemetrics.conf

2) find at extension 25 this line:

exten => 25,3,AddQueueMember(${QUEUENAME},Local/${AGENTCODE}@from-internal)

and replace with

exten =>
25,3,AddQueueMember(${QUEUENAME},Local/${AGENTCODE}@from-internal,${QM_AGENT_PRIONUM})

3) find at extension 35 this line:

exten => 35,4,AddQueueMember(${QUEUENAME},SIP/${QM_AGENT_LOGEXT})

and replacec with

exten =>
35,4,AddQueueMember(${QUEUENAME},SIP/${QM_AGENT_LOGEXT},${QM_AGENT_PRIONUM})

4) save the file
5) reload the asterisk's dialplan

Hope this helps you