Ticket #4767 (new Feature Requests)

Opened 1 year ago

Last modified 8 months ago

Feature Code Toggle Queue Member pause/unpause

Reported by: tonyclewis Assigned to:
Priority: minor Milestone: Undetermined
Component: Queues Version: SVN-HEAD
Keywords: Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

We should add a feature code that will toggle the pause and unpause status of a member logged into a queue. I would envision dialing the feature code. It than prompts you for an extension number and queue number. If will than play back if you are currently paused or unpaused and let you dial something like a 1 to toggle the pause or unpause state for that queue.

What would be rally cool is if you could force yourself to be paused or unpaused in all queues that you are currently logged into also.

Change History

01/26/11 15:13:30 changed by p_lindheimer

  • owner changed.
  • version changed from 2.8-branch to SVN-HEAD.
  • component changed from Feature Code Admin to Queues.

02/13/11 10:22:10 changed by p_lindheimer

voip-info.org has the following example, no idea if it works but it's a good reference. Looks like designed to pause in all queues and member must make the call (no option to pause/un-pause someone else in this example).

[macro-agent-pause]

exten => s,1,Answer
exten => s,1,Wait(1)
exten => s,n,Macro(user-callerid,SKIPTTL,)
exten => s,n,Set(CALLBACKNUM=${AMPUSER})
exten => s,n,PauseQueueMember(,Local/${CALLBACKNUM}@from-internal/n)
exten => s,n,System( echo "${EPOCH}|${UNIQUEID}|NONE|Agent/${CALLBACKNUM}|AGENTPAUSED|-" >> /var/log/asterisk/queue_log )
exten => s,n,UserEvent(RefreshQueue)
exten => s,n,Wait(1)
exten => s,n,Playback(extension)
exten => s,n,SayDigits(${CALLBACKNUM})
exten => s,n,Playback(dictate/paused)
exten => s,n,Wait(1)
exten => s,n,Hangup

; end of [macro-agent-pause]

02/13/11 19:04:03 changed by p_lindheimer

  • type changed from Bugs to Feature Requests.

02/26/11 10:24:02 changed by p_lindheimer

  • milestone changed from 2.9 to 2.10.

09/17/11 20:12:25 changed by mbrevda

  • milestone changed from 2.10 to Undetermined.