Hello list.<br><br>We just upgraded to 1.6.1.11.<br><br>We are using real time information stored on mysql databases. That is all running fine.<br><br>Now, since we upgraded, some member don&#39;t get calls from queues.<br>
In CLI: &quot;queue show&quot; shows something like:<br><div style="margin-left: 40px;">611 (Local/611@agents) with penalty 20 (realtime) (<b>In use</b>) has taken no calls yet<br></div><br><br>We use the extension 611 in different computers, in the internal network with no nat, in the external network with nat...<br>
We deleted the member 611 from mysql, and added it again, changed passwd etc...<br>We restarted asterisk several times..<br><br>The member shows always (In use) !!<br><br>Just to show that there is no channel associated with the member<br>
&quot;core show channels&quot; shows:<br><div style="margin-left: 40px;">Connected to Asterisk 1.6.1.11 currently running on perfpbxr (pid = 12955)<br>Channel              Location             State   Application(Data)             <br>
DAHDI/9-1            main@FnacSACLojas:2  Up      Playback(audio/FnacSAC/qualida<br>DAHDI/31-1           s@ZON:7              Up      BackGround(audio/ZON/prima1)  <br>SIP/209-00000570     main@agents:1        Up      AppQueue((Outgoing Line))     <br>
SIP/604-0000056e     t@agents:1           Up      AppQueue((Outgoing Line))     <br>DAHDI/5-1            main@FnacSACBilhetei Up      Queue(FnacSACBilheteira,t,,,18<br>SIP/206-0000056c     main@agents:1        Up      AppQueue((Outgoing Line))     <br>
SIP/234-0000056b     1@agents:1           Up      AppQueue((Outgoing Line))     <br>DAHDI/18-1           t@ZON:7              Up      Queue(Timeout-ZON,t,,,60)     <br>DAHDI/4-1            main@FnacSACLojas:6  Up      Queue(FnacSACLojas,t,,,180)   <br>
SIP/208-00000569     main@agents:1        Up      AppQueue((Outgoing Line))     <br>DAHDI/13-1           main@FnacSACLojas:6  Up      Queue(FnacSACLojas,t,,,180)   <br>DAHDI/30-1           1@ZON:38             Up      Queue(ZON,t,,,60)             <br>
SIP/227-00000561     t@agents:1           Up      AppQueue((Outgoing Line))     <br>DAHDI/24-1           t@HF:9               Up      Queue(Timeout-HF,t,,,60)      <br>SIP/233-00000558     t@agents:1           Up      AppQueue((Outgoing Line))     <br>
SIP/216-00000553     t@agents:1           Up      AppQueue((Outgoing Line))     <br>DAHDI/20-1           t@ZON:7              Up      Queue(Timeout-ZON,t,,,60)     <br>DAHDI/8-1            t@ZON:7              Up      Queue(Timeout-ZON,t,,,60)     <br>
SIP/236-00000545     t@agents:1           Up      AppQueue((Outgoing Line))     <br>SIP/235-00000541     t@agents:1           Up      AppQueue((Outgoing Line))     <br>DAHDI/12-1           t@ZON:7              Up      Queue(Timeout-ZON,t,,,60)     <br>
DAHDI/6-1            t@ZON:7              Up      Queue(Timeout-ZON,t,,,60)     <br>SIP/219-00000449     main@agents:1        Up      AppQueue((Outgoing Line))     <br>DAHDI/29-1           main@FnacSACLojas:6  Up      Queue(FnacSACLojas,t,,,180)   <br>
24 active channels<br>13 active calls<br>3863 calls processed<br></div><br>The ael that is processed when a queue dials 611 looks like:<br><br><div style="margin-left: 40px;">        _XXX =&gt; {               // internal dial to extensions from queue.<br>
<br>                Set(GROUP()=${EXTEN});                  // increment group count<br>                Set(CDR(accountcode)=ext${ext});        // for Phoenix<br>                Set(OUTBOUND_GROUP=${EXTEN});           // same for channel that will be created by Dial()<br>
                NoOp(GROUP_COUNT of ${EXTEN}: ${GROUP_COUNT(${EXTEN})});<br>                if (&quot;${GROUP_COUNT(${EXTEN})}&quot; = &quot;1&quot;)   // if not already in call<br>                {<br>                        Set(DIALSTART=${EPOCH});<br>
                        &amp;Queue_log(${UNIQUEID},${PARTNER},${EXTEN},DIAL,${CALLERID(name)});<br><br>                        NoOp(PCmedicInfo: Followme seria: followme/${PARTNER} - CallerID: ${CALLERID(number)} - UnID: ${UNIQUEID} - Nao ha partner?... );<br>
                        Set(NewCallMsg=followme/${PARTNER});<br>                        if (${NewCallMsg} = &quot;&quot;)<br>                        {<br>                                Set(NewCallMsg=followme/no-recording);<br>
                        }<br>                        if (${NewCallMsg} = &quot;followme/&quot;)<br>                        {<br>                                Set(NewCallMsg=followme/no-recording); // Geada - o IF anterior deveria verificar o PARNER?<br>
                                NoOp(PCmedicInfo: Corrected followme: - partner: ${PARTNER} - ${CALLERID(number)});<br>                        }<br>                        Dial(SIP/${EXTEN},7,rktgA(${NewCallMsg}));<br>                        if(&quot;${DIALSTART}&quot; != &quot;&quot;)<br>
                        {<br>                                Set(DIALEDTIME=$[${EPOCH} - ${DIALSTART}]);<br>                        }<br>                        else<br>                        {<br>                                Set(DIALEDTIME=0);<br>
                        }<br><br>                        ChanIsAvail(SIP/${EXTEN});                      //<br>                        NoOp(DIALSTATUS EXT ${EXTEN}:);                 //<br>                        NoOp(DIALSTATUS=${DIALSTATUS});                 //      Necessary for Phoenix<br>
                        NoOp(DIALEDTIME=${DIALEDTIME});                 //<br>                        NoOp(HANGUPCAUSE=${HANGUPCAUSE});               //<br>                        NoOp(AVAILSTATUS=${AVAILSTATUS});               //<br>
<br>                        if (${DIALSTATUS} = NOANSWER &amp;&amp; ${DIALEDTIME} &gt;= 7)     // make sure it actually rang<br>                        {<br>                                &amp;AutoLogout(${EXTEN},${DIALSTATUS});<br>
                        }<br>                        else if (${AVAILSTATUS} = AST_DEVICE_INVALID || ${AVAILSTATUS} = AST_DEVICE_UNAVAILABLE || ${DIALSTATUS} = CONGESTION || ${DIALSTATUS} = CHANUNAVAIL)<br>                        {<br>
                                NoOp(PCmedicInfo: partner: ${PARTNER} - DDI: ${CALLERID(number)} - TG);<br>                                Dial(SIP/${EXTEN},30,rktgA(followme/${PARTNER})M(IncrementCallCount));  // try again:<br>
<br>                                if (${AVAILSTATUS} = AST_DEVICE_INVALID || ${AVAILSTATUS} = AST_DEVICE_UNAVAILABLE || ${DIALSTATUS} = CONGESTION || ${DIALSTATUS} = CHANUNAVAIL)<br>                                {<br>
                                        &amp;AutoLogout(${EXTEN},${AVAILSTATUS} ${DIALSTATUS});<br>                                }<br>                        }<br>                }<br>                else<br>                {<br>
                        NoOp(${EXTEN} is busy. GROUP_COUNT=${GROUP_COUNT(${EXTEN})});<br>                        Busy();<br>                }<br>        }<br></div><br><br>I also tried using a Custom dvstate to apply it to the member, but with no success.<br>
&quot;devstate list&quot; shows:<br><div style="margin-left: 40px;">--- Name: &#39;Custom:notinuse&#39;  State: &#39;NOT_INUSE&#39;<br></div><br>Seems that hint only retrieves the devstate status. I didn&#39;t figure out yet how to set it.<br>
Would somebody help me figure this out??<br><br>Thanks in advance,<br><br>-<br>Tiago Lourenço Geada<br><br>