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