<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/2033/1/7/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/Function_QUEUE_VARIABLES?focusedCommentId=10649975#comment-10649975">Function_QUEUE_VARIABLES</a></h2>
    <h4>Comment edited by             <a href="https://wiki.asterisk.org/wiki/display/~shayne.alone@gmail.com">AliReza Taleghani</a>
     :</h4>
    <br/>
                        <h4>Changes (2)</h4>
                                
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-unchanged" >--solved <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;"> <br>_it seems that, it&#39;s a mistake of me! there is a great difference between Queue-MaxLen and Queue-QUEUEMAX parameters..._ <br>:) <br> <br>==== <br></td></tr>
            <tr><td class="diff-unchanged" >can you please, light my problem with this function: <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >   No Members <br>   No Callers <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;"> <br> <br> <br>it seems that, it&#39;s a mistake of me! there is a great difference between Queue-MaxLen and Queue-QUEUEMAX parameters... <br>:) <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                          <div class="notificationGreySide">
            <p>--solved</p>

<p><em>it seems that, it's a mistake of me! there is a great difference between Queue-MaxLen and Queue-QUEUEMAX parameters...</em><br/>
<img class="emoticon" src="/wiki/images/icons/emoticons/smile.gif" height="20" width="20" align="absmiddle" alt="" border="0"/></p>

<p>====<br/>
can you please, light my problem with this function:</p>

<p>i had been set QueueMax variable in configuration files, and know in dialplan wana check it some wheres... by the way do the fallowing:</p>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/wiki/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>exten =&gt; support-provinces,n,Set(err=${QUEUE_VARIABLES(support-provinces)})<br/>
exten =&gt; support-provinces,n,Noop(rtncode was ${err}, QueueMax was:${QUEUEMAX}</td></tr></table></div>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/wiki/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>and the result is:<br/>
&#8211; Executing <span class="error">&#91;support-provinces@from-as5300:5&#93;</span> Set("OOH323/AS5300-10539", "err=-1") in new stack<br/>
&#8211; Executing <span class="error">&#91;support-provinces@from-as5300:6&#93;</span> NoOp("OOH323/AS5300-10539", "rtncode was -1, QueueMax was:") in new stack</td></tr></table></div>



<p>CallCenter*CLI&gt; queue show support-provinces <br/>
support-provinces has 0 calls (<b>max 10</b>) in 'leastrecent' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 120s<br/>
   No Members<br/>
   No Callers</p>


        </div>
    
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="https://wiki.asterisk.org/wiki/users/viewnotifications.action" class="grey">Change Notification Preferences</a>
       </div>
       <a href="https://wiki.asterisk.org/wiki/display/AST/Function_QUEUE_VARIABLES?focusedCommentId=10649975#comment-10649975">View Online</a>
              |
       <a id="reply-10649975" href="https://wiki.asterisk.org/wiki/display/AST/Function_QUEUE_VARIABLES?replyToComment=10649975#comment-10649975">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>