<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 17, 2016 at 11:50 AM, Annus Fictus <span dir="ltr"><<a href="mailto:annusfictus@gmail.com" target="_blank">annusfictus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>I think Device State for Agents don't work correctly<br>
</p>
<p>My configuration:<br>
</p>
<p>agents.conf</p>
<p>[general]<br>
<br>
[agent](!)<br>
autologoff=15<br>
ackcall=no<br>
acceptdtmf=#<br>
wrapuptime=5000<br>
musiconhold=default<br>
recordagentcalls=no<br>
custom_beep=beep<br>
<br>
[2000](agent)<br>
fullname=Fulano<br>
<br>
[2001](agent)<br>
fullname=Zutano<br>
<br>
[2002](agent)<br>
fullname=Mengano</p>
<p>queue.conf (Agents Related)<br>
</p>
<p>member => Agent/2000<br>
member => Agent/2001<br>
member => Agent/2002<br>
member => PJSIP/1000</p></div></blockquote><div><div>You didn't state which Asterisk version you are using. However, since you reference a PJSIP<br>channel and are using the new agent.conf syntax, you must be using Asterisk 12+. The<br>syntax for using an agent in queue.conf is has also changed since chan_agent no longer exists<br>in Asterisk 12+.<br><br></div><div>See <a href="https://www.asterisk-blog.com/2016/02/10/converting-from-chan_agent-to-app_agent_pool/">https://www.asterisk-blog.com/2016/02/10/converting-from-chan_agent-to-app_agent_pool/</a><br><br></div><div>Richard<br></div></div></div></div></div>