[AsteriskBrasil] Problemas com hint/BLF com canal dongle Yealink phones

Hudson Cardoso hudsoncardoso em hotmail.com
Domingo Fevereiro 4 12:55:21 BRST 2018


Ele só funciona pra SIP, dongle nao vai rolar...
Olha meu exemplo...
context hints{
//       hint(SIP/${EXTEN}) _. => {noop(${EXTENSION_STATE(${EXTEN}@todos)});}
       hint(SIP/${EXTEN}) _XXXXXXXX => {noop(${EXTENSION_STATE(${EXTEN}@todos)});}
       hint(SIP/${EXTEN:1}) _5XXXXXXXX => {noop(${EXTENSION_STATE(${EXTEN}@todos)});}
       //hint(SIP/${EXTEN:1}) _1XXXXXXXX => {noop(${EXTENSION_STATE(${EXTEN}@todos)});}
}



Hudson??
(048) 8413-7000
Para quem nao cre, nenhuma prova converte,Para aquele que cre, nenhuma prova precisa.??

________________________________
De: asteriskbrasil-bounces em listas.asteriskbrasil.org <asteriskbrasil-bounces em listas.asteriskbrasil.org> em nome de Vanessa Sather <vanessasather em bol.com.br>
Enviado: sexta-feira, 2 de fevereiro de 2018 15:29
Para: asteriskbrasil em listas.asteriskbrasil.org
Assunto: [AsteriskBrasil] Problemas com hint/BLF com canal dongle Yealink phones

Boa tarde.

Pessoal, estou tento um super problema para acender corretamente os leds do BLF do aparelho Yealink.
Ele acende mas não funciona corretamente. Observar que o problema pode vir do asterisk.

Mesmo com o canal, por exemplo, dongle/chip-claro1 estiver desocupado e sem uso, no STATE do "core show hints" aparece como InUse
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.

O canal não se comporta da forma correta. Alguem já lidou com esse tipo de problema? Alguma sugestão?

Obrigada,
Vanessa Sather.


Asterisk 11.25.3
CentOS 7 3.10.0-693.5.2.el7.x86_64
Yealink T20P 9.73.0.40

extensions.conf
[hints]
exten => *300,hint,dongle/chip-claro1
exten => *a301,hint,dongle/chip-claro2


sip.conf
[general]
allowsubscribe=yes
subscribecontext=hints
call-limit=10


ipbx*CLI> core show hints

    -= Registered Asterisk Dial Plan Hints =-
                   *300 em hints               : dongle/chip-claro1    State:InUse           Watchers  5
                   *301 em hints               : dongle/chip-claro2    State:Idle            Watchers  5
                   1000 em demo                : SIP/1000              State:Unavailable     Watchers  0
                   1001 em demo                : SIP/1001              State:Unavailable     Watchers  0

----------------
- 4 hints registered



ipbx*CLI> core show channels
Channel              Location             State   Application(Data)
0 active channels
0 active calls
54 calls processed


ipbx*CLI> dongle show devices
ID           Group State      RSSI Mode Submode Provider Name  Model      Firmware
chip-claro1  0     Free       14   3    2       Claro          E160X      11.609.10.02.432
chip-claro2  0     Free       10   3    2       Claro          E160X      11.609.10.02.432



ipbx*CLI> dongle show device state chip-claro1
-------------- Status -------------
  Device                  : chip-claro1
  State                   : Free
  Audio                   : /dev/ttyUSB1
  Data                    : /dev/ttyUSB2
  Voice                   : Yes
  SMS                     : Yes
  Manufacturer            : huawei
  Model                   : E160X
  Firmware                : 11.609.10.02.432
  IMEI                    :
  IMSI                    :
  GSM Registration Status : Registered, roaming
  RSSI                    : 14, -117 dBm
  Mode                    : GSM/GPRS
  Submode                 : GPRS
  Provider Name           : Claro
  Location area code      : 142
  Cell ID                 : 4E8C
  Subscriber Number       :
  SMS Service Center      :
  Use UCS-2 encoding      : Yes
  USSD use 7 bit encoding : Yes
  USSD use UCS-2 decoding : No
  Tasks in queue          : 0
  Commands in queue       : 0
  Call Waiting            : Disabled
  Current device state    : start
  Desired device state    : start
  When change state       : now
  Calls/Channels          : 0
    Active                : 0
    Held                  : 0
    Dialing               : 0
    Alerting              : 0
    Incoming              : 0
    Waiting               : 0
    Releasing             : 0
    Initializing          : 0

-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20180204/eeacdb19/attachment.html>


Mais detalhes sobre a lista de discussão AsteriskBrasil