Author Topic: Using fully dynamic members with QM 1.4 and Asterisk 1.4  (Read 2882 times)

jucha

  • Newbie
  • *
  • Posts: 24
  • Karma: 2
    • View Profile
It´s not works
What is the best way to setup it.

agents.conf
[general]
persistentagents=yes

[agents]
ackcall=no

agent => 3000,,Alice
agent => 3001,,Bob

extensions_custom.conf
; addqueuemember - 422
exten => _422XXXX,1,Answer
exten => _422XXXX,2,AddQueueMember(200,Local/${EXTEN:3})
exten => _422XXXX,3,Hangup

; removequeuemember - 423
exten => _423XXXX,1,Answer
exten => _423XXXX,2,RemoveQueueMember(200,Local/${EXTEN:3})
exten => _423XXXX,3,Hangup

; agent pause
exten => _416XXXX,1,PauseQueueMember(|Agent/${EXTEN:3})
exten => _416XXXX,n,Hangup()

; agent unpause
exten => _417XXXX,1,UnpauseQueueMember(|Agent/${EXTEN:3})
exten => _417XXXX,n,Hangup()

The queue 200 has not static.

The XXXX is a extension, but for pause is Agent.  ???


jucha

  • Newbie
  • *
  • Posts: 24
  • Karma: 2
    • View Profile
Re: Using fully dynamic members with QM 1.4 and Asterisk 1.4
« Reply #1 on: July 15, 2008, 23:27:17 »
I found a solution.
User Dial 422 + Extension + Queue

I will see if quemetrics real time works!!!!

; addqueuemember - 422
exten => _422XXXXXXX,1,Answer
exten => _422XXXXXXX,2,AddQueueMember(${EXTEN:7},Local/${EXTEN:3:4}@from-internal)
exten => _422XXXXXXX,3,Hangup

; removequeuemember - 423
exten => _423XXXXXXX,1,Answer
exten => _423XXXXXXX,2,RemoveQueueMember(${EXTEN:7},Local/${EXTEN:3:4}@from-internal)
exten => _423XXXXXXX,3,Hangup

; agent pause
exten => _416XXXX,1,PauseQueueMember(|Local/${EXTEN:3}@from-internal)
exten => _416XXXX,n,Hangup()

; agent unpause
exten => _417XXXX,1,UnpauseQueueMember(|Local/${EXTEN:3}@from-internal)
exten => _417XXXX,n,Hangup()



QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Using fully dynamic members with QM 1.4 and Asterisk 1.4
« Reply #2 on: July 22, 2008, 09:03:10 »
Looks good :)