Skip to main content

Queue_Member_Pause

Sent when the break state of a queue member (an agent) changes. This event belongs to an agent rather than to a call, so it does not carry call fields such as unique_id or customer_num.

Use it for agent availability tracking, break time reporting and staffing plans.

Sample body

scenario: Queue_Member_Pause
{
"queue_name": "8501234567-queue-destek",
"pbx_num": "8501234567",
"reason": "Kisa Mola",
"paused": "true",
"lastpaused": "1767225590",
"scenario": "Queue_Member_Pause",
"member": "100",
"interface": "Local/100-8501234567@direct-dial-extensions",
"timestamp": "1767225590000"
}
Send this body to your own address

The sample body above is sent to the address below as a POST request. The request goes from your browser, so the response cannot be read if the receiving endpoint sends no CORS header; the request itself still arrives. Use the cURL equivalent to try it from the server side.

cURL equivalent:

curl -X POST 'https://your-address.example/webhook' \
-H 'Content-Type: application/json' \
-d '{"queue_name":"8501234567-queue-destek","pbx_num":"8501234567","reason":"Kisa Mola","paused":"true","lastpaused":"1767225590","scenario":"Queue_Member_Pause","member":"100","interface":"Local/100-8501234567@direct-dial-extensions","timestamp":"1767225590000"}'

Fields

FieldTypeDescription
scenariostringAlways Queue_Member_Pause.
queue_namestringFull name of the queue the membership belongs to.
pbx_numstringYour PBX number.
memberstringExtension number of the agent.
interfacestringChannel address of the agent on the PBX. The member field is usually enough.
pausedstring"true" paused, "false" back from the break.
reasonstringBreak reason (the name of the break type). May arrive empty when coming back.
lastpausedstringStart of the last break as a Unix epoch in seconds.
timestampstringEvent time (milliseconds, Unix epoch).
Two different time units

In this scenario lastpaused is in seconds while timestamp is in milliseconds. Convert them to the same unit before comparing.

paused is a string

The field arrives as the text "true"/"false", not as a JSON boolean. Do not use it directly in a boolean context; since every non empty string is truthy, "false" would also count as true.

An agent has one membership per queue. If the same agent is a member of several queues, you receive a separate event for each queue.