<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2171/18/9/_/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/Call+Queues?focusedCommentId=10649876#comment-10649876">Call Queues</a></h2>
    <h4>Comment edited by             <a href="https://wiki.asterisk.org/wiki/display/~mdavenport">Malcolm Davenport</a>
     :</h4>
    <br/>
                        <h4>Changes (1)</h4>
                                
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >i will do my tries and report the result ASAP. <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">{note}exten =&gt; 23089000,1,Noop(Calling from $\{CALLERID(all)}.) <br>exten =&gt; 23089000,n,MYSQL(Connect connid localhost astuser astpass events_lookup) <br>exten =&gt; 23089000,n,MYSQL(Query resultid $\{connid} SELECT name FROM callers where phone = &#39;$\{CALLERID(num)}&#39;); <br>exten =&gt; 23089000,n,MYSQL(Fetch fetchid $\{resultid} CALLERID(name)) <br>exten =&gt; 23089000,n,MYSQL(Disconnect $\{connid}) <br>exten =&gt; 23089000,n,Noop(Calling from $\{CALLERID(all)}.) <br>;exten =&gt; 23089000,n,Answer() <br>;exten =&gt; 23089000,n,Dial(SIP/8552,,,www.google.com) <br>exten =&gt; 23089000,n,Gotoif($\{QUEUE_MEMBER(support-provinces,ready)}&lt;3?labeliftrue:labeliffalse) <br>exten =&gt; 23089000,n(labeliftrue),Queue(support-provinces,t,,,,,,,,1) <br>exten =&gt; 23089000,n,hangup() <br>exten =&gt; 23089000,n(labeliffalse),Queue(support-central,t,,,,,,,,1) <br>exten =&gt; 23089000,n,hangup() <br>{note} <br></td></tr>
            <tr><td class="diff-unchanged" >sorry if it&#39;s dirty dialplan <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                          <div class="notificationGreySide">
            <p>Dear Malcolm;<br/>
first of all, thanks for your hellp...<br/>
<img class="emoticon" src="/wiki/images/icons/emoticons/smile.gif" height="20" width="20" align="absmiddle" alt="" border="0"/></p>

<p>i was trying somewhat like what you told,but it's my first try, so i hope to have your help <img class="emoticon" src="/wiki/images/icons/emoticons/wink.gif" height="20" width="20" align="absmiddle" alt="" border="0"/><br/>
the following is what i did right now, and i hope to update it with queue length check today...</p>

<p>i will do my tries and report the result ASAP.</p>

<p>sorry if it's dirty dialplan</p>
        </div>
    
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;" class="grey">
                        <a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
       <a href="https://wiki.asterisk.org/wiki/display/AST/Call+Queues?focusedCommentId=10649876#comment-10649876">View Online</a>
              |
       <a id="reply-10649876" href="https://wiki.asterisk.org/wiki/display/AST/Call+Queues?replyToComment=10649876#comment-10649876">Reply To This</a>
           </div>

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