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-boun...@listas.asteriskbrasil.org 
<asteriskbrasil-boun...@listas.asteriskbrasil.org> em nome de Vanessa Sather 
<vanessasat...@bol.com.br>
Enviado: sexta-feira, 2 de fevereiro de 2018 15:29
Para: asteriskbrasil@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@hints               : dongle/chip-claro1    State:InUse 
          Watchers  5
                   *301@hints               : dongle/chip-claro2    State:Idle  
          Watchers  5
                   1000@demo                : SIP/1000              
State:Unavailable     Watchers  0
                   1001@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

_______________________________________________
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
Intercomunicador e acesso remoto via rede IP e telefones IP
Conheça todo o portfólio em www.Khomp.com
_______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para 
asteriskbrasil-unsubscr...@listas.asteriskbrasil.org

Responder a