<div dir="auto">Vanessa, vê se te ajuda esse projeto<div dir="auto"><a href="https://github.com/dsv-asterisk/Monitoring">https://github.com/dsv-asterisk/Monitoring</a><br></div><div dir="auto"><br></div><div dir="auto">Att, </div><div dir="auto">Roberto Xavier </div></div><div class="gmail_extra"><br><div class="gmail_quote">Em 02/02/2018 15:33, "Vanessa Sather" <<a href="mailto:vanessasather@bol.com.br">vanessasather@bol.com.br</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Boa tarde.</div>
<div> </div>
<div>Pessoal, estou tento um super problema para acender corretamente os leds do BLF do aparelho Yealink.</div>
<div>Ele acende mas não funciona corretamente. Observar que o problema pode vir do asterisk.</div>
<div> </div>
<div>Mesmo com o canal, por exemplo, dongle/chip-claro1 estiver desocupado e sem uso, no STATE do "core show hints" aparece como InUse</div>
<div>Se eu restarto ele volta a IDLE mas logo qndo eu faço uma chamada, ele já fica eternamente como InUSE mesmo após o hangup.</div>
<div> </div>
<div>O canal não se comporta da forma correta. Alguem já lidou com esse tipo de problema? Alguma sugestão?</div>
<div> </div>
<div>Obrigada,</div>
<div>Vanessa Sather.</div>
<div> </div>
<div> </div>
<div>
<div><span style="font-family:'courier new',courier">Asterisk 11.25.3 </span></div>
<div><span style="font-family:'courier new',courier">CentOS 7 3.10.0-693.5.2.el7.x86_64</span></div>
<div>
<div><span style="font-size:12.8px;font-family:'courier new',courier">Yealink T20P </span><span style="font-family:'courier new',courier">9.73.0.40</span></div>
</div>
<div> </div>
<div><strong><span style="font-family:'courier new',courier">extensions.conf</span></strong></div>
<div><span style="font-family:'courier new',courier">[hints]</span></div>
<div><span style="font-family:'courier new',courier">exten => *300,hint,dongle/chip-claro1</span></div>
<div><span style="font-family:'courier new',courier">exten => *a301,hint,dongle/chip-claro2</span></div>
<div> </div>
<div> </div>
<div><strong><span style="font-family:'courier new',courier">sip.conf</span></strong></div>
<div><strong><span style="font-family:'courier new',courier">[general]</span></strong></div>
<div><span style="font-family:'courier new',courier">allowsubscribe=yes</span></div>
<div><span style="font-family:'courier new',courier">subscribecontext=hints</span></div>
<div><span style="font-family:'courier new',courier">call-limit=10</span></div>
<div> </div>
<div> </div>
<div><strong><span style="font-family:'courier new',courier">ipbx*CLI> core show hints</span></strong></div>
<div> </div>
<div><span style="font-family:'courier new',courier"> -= Registered Asterisk Dial Plan Hints =-</span></div>
<div><span style="font-family:'courier new',courier"> *300@hints : dongle/chip-claro1 <strong>State:InUse </strong> Watchers 5</span></div>
<div><span style="font-family:'courier new',courier"> *301@hints : dongle/chip-claro2 State:Idle Watchers 5</span></div>
<div><span style="font-family:'courier new',courier"> 1000@demo : SIP/1000 State:Unavailable Watchers 0</span></div>
<div><span style="font-family:'courier new',courier"> 1001@demo : SIP/1001 State:Unavailable Watchers 0</span></div>
<div> </div>
<div><span style="font-family:'courier new',courier">----------------</span></div>
<div><span style="font-family:'courier new',courier">- 4 hints registered</span></div>
<div> </div>
<div> </div>
<div> </div>
<div><strong><span style="font-family:'courier new',courier">ipbx*CLI> core show channels</span></strong></div>
<div><span style="font-family:'courier new',courier">Channel Location State Application(Data)</span></div>
<div><span style="font-family:'courier new',courier">0 active channels</span></div>
<div><span style="font-family:'courier new',courier">0 active calls</span></div>
<div><span style="font-family:'courier new',courier">54 calls processed</span></div>
<div> </div>
<div> </div>
<div><span style="font-family:'courier new',courier">ipbx*CLI> dongle show devices</span></div>
<div><span style="font-family:'courier new',courier">ID Group State RSSI Mode Submode Provider Name Model Firmware </span></div>
<div><span style="font-family:'courier new',courier">chip-claro1 0 Free 14 3 2 Claro E160X 11.609.10.02.432 </span></div>
<div><span style="font-family:'courier new',courier">chip-claro2 0 Free 10 3 2 Claro E160X 11.609.10.02.432 </span></div>
<div> </div>
<div> </div>
<div> </div>
<div><strong><span style="font-family:'courier new',courier">ipbx*CLI> dongle show device state chip-claro1</span></strong></div>
<div><span style="font-family:'courier new',courier">-------------- Status -------------</span></div>
<div><span style="font-family:'courier new',courier"> Device : chip-claro1</span></div>
<div><span style="font-family:'courier new',courier"> State : Free</span></div>
<div><span style="font-family:'courier new',courier"> Audio : /dev/ttyUSB1</span></div>
<div><span style="font-family:'courier new',courier"> Data : /dev/ttyUSB2</span></div>
<div><span style="font-family:'courier new',courier"> Voice : Yes</span></div>
<div><span style="font-family:'courier new',courier"> SMS : Yes</span></div>
<div><span style="font-family:'courier new',courier"> Manufacturer : huawei</span></div>
<div><span style="font-family:'courier new',courier"> Model : E160X</span></div>
<div><span style="font-family:'courier new',courier"> Firmware : 11.609.10.02.432</span></div>
<div><span style="font-family:'courier new',courier"> IMEI : </span></div>
<div><span style="font-family:'courier new',courier"> IMSI : </span></div>
<div><span style="font-family:'courier new',courier"> GSM Registration Status : Registered, roaming</span></div>
<div><span style="font-family:'courier new',courier"> RSSI : 14, -117 dBm</span></div>
<div><span style="font-family:'courier new',courier"> Mode : GSM/GPRS</span></div>
<div><span style="font-family:'courier new',courier"> Submode : GPRS</span></div>
<div><span style="font-family:'courier new',courier"> Provider Name : Claro</span></div>
<div><span style="font-family:'courier new',courier"> Location area code : 142</span></div>
<div><span style="font-family:'courier new',courier"> Cell ID : 4E8C</span></div>
<div><span style="font-family:'courier new',courier"> Subscriber Number : </span></div>
<div><span style="font-family:'courier new',courier"> SMS Service Center : </span></div>
<div><span style="font-family:'courier new',courier"> Use UCS-2 encoding : Yes</span></div>
<div><span style="font-family:'courier new',courier"> USSD use 7 bit encoding : Yes</span></div>
<div><span style="font-family:'courier new',courier"> USSD use UCS-2 decoding : No</span></div>
<div><span style="font-family:'courier new',courier"> Tasks in queue : 0</span></div>
<div><span style="font-family:'courier new',courier"> Commands in queue : 0</span></div>
<div><span style="font-family:'courier new',courier"> Call Waiting : Disabled</span></div>
<div><span style="font-family:'courier new',courier"> Current device state : start</span></div>
<div><span style="font-family:'courier new',courier"> Desired device state : start</span></div>
<div><span style="font-family:'courier new',courier"> When change state : now</span></div>
<div><span style="font-family:'courier new',courier"> Calls/Channels : 0</span></div>
<div><span style="font-family:'courier new',courier"> Active : 0</span></div>
<div><span style="font-family:'courier new',courier"> Held : 0</span></div>
<div><span style="font-family:'courier new',courier"> Dialing : 0</span></div>
<div><span style="font-family:'courier new',courier"> Alerting : 0</span></div>
<div><span style="font-family:'courier new',courier"> Incoming : 0</span></div>
<div><span style="font-family:'courier new',courier"> Waiting : 0</span></div>
<div><span style="font-family:'courier new',courier"> Releasing : 0</span></div>
<div><span style="font-family:'courier new',courier"> Initializing : 0</span></div>
</div>
<div> </div><br>______________________________<wbr>_________________<br>
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1<br>
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7<br>
Intercomunicador e acesso remoto via rede IP e telefones IP<br>
Conheça todo o portfólio em <a href="http://www.Khomp.com" rel="noreferrer" target="_blank">www.Khomp.com</a><br>
______________________________<wbr>_________________<br>
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@<wbr>listas.asteriskbrasil.org</a><br></blockquote></div></div>