<div dir="ltr">Opa, já consegui resolver... não me atentei a opção &quot;option&quot; do comando AddQueueMember.<div><br></div><div><a href="http://www.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/asterisk-APP-B-3.html">http://www.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/asterisk-APP-B-3.html</a><br></div><div><br></div><div>foi só adicionar mais uma virgula:</div><div><br></div><div><span style="font-size:12.8000001907349px">same =&gt; n,AddQueueMember(teste,SIP/${</span><span style="font-size:12.8000001907349px">CUT(CUT(CHANNEL,-,1),/,2)},30,,</span><span style="font-size:12.8000001907349px">${AGENT_USERID})</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Valeu!</span></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><b style="background-color:rgb(255,255,255)"><font color="#0000ff">att</font></b><div><b style="background-color:rgb(255,255,255)"><font color="#0000ff">Danilo Almeida</font></b></div></div></div></div>
<br><div class="gmail_quote">Em 26 de agosto de 2015 11:34, Danilo Almeida <span dir="ltr">&lt;<a href="mailto:daniloricalmeida@gmail.com" target="_blank">daniloricalmeida@gmail.com</a>&gt;</span> escreveu:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Bom dia, Pessoal!!!<div><br></div><div>Estou fazendo um login com agentes dinamicos no asterisk.</div><div><br></div><div>O problema é, que quando logo o agente na fila:</div><div><br></div><div>same =&gt; n,AddQueueMember(teste,SIP/${CUT(CUT(CHANNEL,-,1),/,2)},30,${AGENT_USERID})<br></div><div><br></div><div>O ramal é logado, porém, o membro fica sendo o próprio ramal que logo.</div><div><br></div><div><div>*CLI&gt; queue show teste</div><div>teste has 0 calls (max unlimited) in &#39;ringall&#39; strategy (0s holdtime, 0s talktime), W:2, C:0, A:0, SL:0.0% within 60s</div><div>   Members:</div><div>      SIP/8888 with penalty 30 (dynamic) (Not in use) has taken no calls yet</div><div>   No Callers</div></div><div><br></div><div>Se eu deixo o mesmo ramal logado estaticamente, consigo o resultado desejado:</div><div><br></div><div>member =&gt; SIP/8888,0,1000</div><div><br></div><div><div>*CLI&gt; queue show teste</div><div>teste has 0 calls (max unlimited) in &#39;ringall&#39; strategy (0s holdtime, 0s talktime), W:2, C:0, A:0, SL:0.0% within 60s</div><div>   Members:</div><div>      SIP/8888 with penalty 30 (dynamic) (Not in use) has taken no calls yet</div><div>      1000 (SIP/8888) (Not in use) has taken no calls yet</div><div>   No Callers</div></div><div><br></div><div>reparem que tenho o mesmo agente logado dinamicamente e estaticamente.... gostaria de obter o mesmo resultado logando o agente dinamicamente.</div><div><br></div><div>Alguém tem alguma ideia?</div><div><br></div><div>Valeu!</div><div><br clear="all"><div><div><div dir="ltr"><b style="background-color:rgb(255,255,255)"><font color="#0000ff">att</font></b><span class="HOEnZb"><font color="#888888"><div><b style="background-color:rgb(255,255,255)"><font color="#0000ff">Danilo Almeida</font></b></div></font></span></div></div></div>
</div></div>
</blockquote></div><br></div>