{"id":2537,"date":"2025-04-27T19:45:23","date_gmt":"2025-04-27T19:45:23","guid":{"rendered":"https:\/\/wiki.xontel.com\/?post_type=manual_documentation&#038;p=2537"},"modified":"2025-09-12T18:25:58","modified_gmt":"2025-09-12T18:25:58","slug":"queue","status":"publish","type":"manual_documentation","link":"https:\/\/wiki.xontel.com\/ar\/documentation\/pbx\/pbx-v-1-x-x\/pbx\/call-features\/queue\/","title":{"rendered":"Queue"},"content":{"rendered":"<p>Queues are a system feature designed to hold incoming calls in a queue until an available agent (extension) can respond. Unlike Ring Groups, which distribute calls to extensions based on a set strategy, Queues offer more advanced call management capabilities, allowing for greater flexibility in routing and prioritization of calls.<\/p>\n\n\n\n<p><strong>Example:<\/strong><br>All agents are currently assisting other callers. Please hold, and someone will be with you shortly.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large image-border\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"352\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/image-45-1024x352.png\" alt=\"\" class=\"wp-image-4322\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/image-45-1024x352.png 1024w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/image-45-300x103.png 300w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/image-45-768x264.png 768w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/image-45.png 1312w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p style=\"font-size:30px\"><strong>Add Queue<\/strong><\/p>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-5d082f924e09d68a566989a74c325ba2\" style=\"color:#4e7188;font-size:25px\"><strong>Basic<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large image-border\"><img decoding=\"async\" width=\"895\" height=\"1024\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/image-76-895x1024.png\" alt=\"\" class=\"wp-image-7925\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/image-76-895x1024.png 895w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/image-76-262x300.png 262w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/image-76-768x878.png 768w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/image-76-1343x1536.png 1343w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/image-76-10x12.png 10w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/image-76.png 1533w\" sizes=\"(max-width: 895px) 100vw, 895px\" \/><\/figure>\n\n\n\n<p><strong>Queue Title<\/strong>: Assign a brief, descriptive name to this queue to help identify it.<\/p>\n\n\n\n<p><strong>Queue Number<\/strong>: Enter the number used to dial into the queue or transfer callers into the queue.<\/p>\n\n\n\n<p><strong>CID Name Prefix<\/strong>: Optionally, add a prefix to the Caller ID name for callers in this queue. For example, prefixing with \u201cSales:\u201d would display a call from John Doe as \u201cSales: John Doe\u201d on the agent&#8217;s extensions.<\/p>\n\n\n\n<p><strong>Autofill<\/strong>: When enabled, Asterisk will distribute calls to available agents one at a time, based on the selected ring strategy. If disabled, the system will hold calls until an agent becomes available, prioritizing the call at the front of the queue.<\/p>\n\n\n\n<p><strong>Ring Strategy<\/strong>: Define the ringing strategy for this queue. Available strategies include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Ring All<\/strong>: Rings all available agents simultaneously.<\/li>\n\n\n\n<li><strong>Least Recent<\/strong>: Routes the call to the agent who has been idle the longest.<\/li>\n\n\n\n<li><strong>Fewest Calls<\/strong>: Assigns the call to the agent with the fewest handled calls.<\/li>\n\n\n\n<li><strong>Random<\/strong>: Distributes calls randomly among agents.<\/li>\n\n\n\n<li><strong>Memory<\/strong>: Distributes calls sequentially, remembering the last agent the call was routed to.<\/li>\n\n\n\n<li><strong>Round Robin<\/strong>: Distributes calls in a loop to available agents.<\/li>\n<\/ul>\n\n\n\n<p><strong>Skip Busy Agent<\/strong>: Enable this option to skip agents who are currently on another call, treating their line as busy. This ensures that calls are routed to available agents.<\/p>\n\n\n\n<p><strong>Join Announcement<\/strong>: Specify an announcement to be played to callers before they join the queue.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-vivid-red-color has-text-color has-link-color wp-elements-53e076c3b64e318366fd724d975c0464\"><em>Note: To add custom recordings, use the \u201cSystem Prompts\u201d menu.<\/em><\/li>\n<\/ul>\n\n\n\n<p><strong>Music On Hold Type<\/strong>: Choose the music or tone played to callers while they wait in the queue. Options include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Default<\/strong>: Plays the default music on hold for this queue.<\/li>\n\n\n\n<li><strong>MOH Only<\/strong>: Plays the selected music on hold playlist for this queue.<\/li>\n\n\n\n<li><strong>Agent Ringing<\/strong>: Plays a ringing tone instead of music on hold while the caller waits.<\/li>\n<\/ul>\n\n\n\n<p><strong>Agent Timeout (s)<\/strong>: Define the number of seconds an agent&#8217;s phone will ring before the system considers the call as timed out. Customize this value if necessary.<\/p>\n\n\n\n<p><strong>Max Waiting Time (s)<\/strong>: Set the maximum amount of time a caller can wait in the queue before being routed to the failover destination. Enter &#8216;0&#8217; for unlimited wait time.<\/p>\n\n\n\n<p><strong>Retry (s)<\/strong>: Specify the number of seconds to wait before retrying all agents in the queue.<\/p>\n\n\n\n<p><strong>Wrap Up Time (s)<\/strong>: Determine the amount of time to wait after a successful call before routing another call to an available agent. The default value is 0 seconds.<\/p>\n\n\n\n<p><strong>Static Extensions<\/strong>: Select the agents (extensions) that are part of this queue.<\/p>\n\n\n\n<p><strong>Failover Destination<\/strong>: Define the destination for calls when they exceed the maximum wait time or cannot be answered within the designated parameters.<\/p>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-63cc77eb67f70b121f7a901b12b2f9ce\" style=\"color:#4e7188;font-size:25px\"><strong>Caller Announcement<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large image-border\"><img decoding=\"async\" width=\"1024\" height=\"380\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/q3-1024x380.png\" alt=\"\" class=\"wp-image-2540\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/q3-1024x380.png 1024w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/q3-300x111.png 300w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/q3-768x285.png 768w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/q3.png 1051w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Periodic Announcement<\/strong>: Choose a prompt file to be played periodically to the caller while they are in the queue or on hold.<\/p>\n\n\n\n<p><strong>Repeat<\/strong>: Enable this option to activate the periodic announcement feature.<\/p>\n\n\n\n<p><strong>Repeat Timeout<\/strong>: Define the frequency (in seconds) at which the announcement will be played to the caller.<\/p>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-23b4a85bfb3ee9627320d0b632525d30\" style=\"color:#4e7188;font-size:25px\"><strong>Capacity Options<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large image-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"395\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/q4-1024x395.png\" alt=\"\" class=\"wp-image-2541\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/q4-1024x395.png 1024w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/q4-300x116.png 300w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/q4-768x296.png 768w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/04\/q4.png 1058w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Max Callers<\/strong>: Define the maximum number of callers that can wait in the queue at any given time. Set to &#8220;0&#8221; for unlimited callers.<\/p>\n\n\n\n<p><strong>Join Empty<\/strong>: This option determines whether new callers will be admitted to the queue when no agents are available. The available options include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Yes<\/strong>: Always allows the caller to join the queue.<\/li>\n\n\n\n<li><strong>Strict<\/strong>: Allows callers to join the queue only if agents are available or currently ringing another call. If no agents can answer, the caller will not be admitted.<\/li>\n\n\n\n<li><strong>Ultra Strict<\/strong>: Similar to &#8220;Strict,&#8221; but more stringent. A queue member must be available to answer immediately, meaning agents who are currently engaged or ringing for another call are considered unavailable.<\/li>\n\n\n\n<li><strong>No<\/strong>: Callers will not be admitted if all agents are paused, in an invalid state, or have penalty values less than the <code>QUEUE_MAX_PENALTY<\/code> (if not defined in the FreePBX dialplan).<\/li>\n\n\n\n<li><strong>Loose<\/strong>: Similar to &#8220;No,&#8221; but callers will be admitted if paused agents are available to answer.<\/li>\n<\/ul>\n\n\n\n<p><strong>Leave When Empty<\/strong>: Determines whether callers should be exited from the queue when it appears no agents are available to take the call. The options include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Yes<\/strong>: Callers will exit the queue if all agents are paused, in an invalid state, or have penalty values less than the <code>QUEUE_MAX_PENALTY<\/code>.<\/li>\n\n\n\n<li><strong>Strict<\/strong>: Same as &#8220;Yes,&#8221; but more strict. If no agent can answer, the caller will leave the queue. If agents are engaged with other calls, the caller will remain in the queue.<\/li>\n\n\n\n<li><strong>Ultra Strict<\/strong>: Similar to &#8220;Strict,&#8221; but more stringent. Callers will leave the queue if no agent is available to answer the call immediately, even if other agents are available but currently busy.<\/li>\n\n\n\n<li><strong>Loose<\/strong>: Similar to &#8220;Yes,&#8221; but callers will remain in the queue if paused agents could potentially become available.<\/li>\n\n\n\n<li><strong>No<\/strong>: Callers will never leave the queue until the maximum wait time has expired.<\/li>\n<\/ul>\n\n\n\n<p><\/p>","protected":false},"author":1,"featured_media":0,"parent":2525,"menu_order":0,"template":"","manualdocumentationcategory":[16],"manual_doc_tag":[],"class_list":["post-2537","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-doc-demo-articles"],"_links":{"self":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/2537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":9,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/2537\/revisions"}],"predecessor-version":[{"id":7927,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/2537\/revisions\/7927"}],"up":[{"embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/2525"}],"wp:attachment":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/media?parent=2537"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manualdocumentationcategory?post=2537"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_doc_tag?post=2537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}