[AsteriskBrasil] Chan_dongle

Diomedes Neto diomedesneto em gmail.com
Quinta Julho 23 10:46:38 BRT 2015


Qual a versão do asterisk?

2015-07-23 9:40 GMT-03:00 Gustavo W. Rosenbaum <gelcom at uol.com.br>:

> Pessoal bom dia, há alguns meses atrás comprei uns modems 3G pra tentar
> pluga-los no meu servidor FreePBX mas acabei desistindo após longas
> derrotas.. rs
>
>
>
>
>
> Instalei o modem_Switch e o chan_dongle.so. Eles aparecem normalmente no
> painel do asterisk:
>
>
>
> localhost*CLI> dongle show devices
>
> ID           Group State      RSSI Mode Submode Provider Name  Model
> Firmware          IMEI             IMSI             Number
>
> dongle1      0     Free       10   0    0       Vivo           E160E
> 11.604.21.57.00   XXXXXXXXXXXXX  XXXXXXXXXXX  +5511941111111
>
> dongle2      0     Free       12   0    0       Vivo           E160E
> 11.604.21.57.00   XXXXXXXXXXXXX  XXXXXXXXXXX  +5511941111112
>
> dongle3      0     Free       12   0    0       Vivo           E160E
> 11.604.21.57.00   XXXXXXXXXXXXX  XXXXXXXXXXX  +5511941111113
>
> dongle4      0     Free       12   0    0       Vivo           E160E
> 11.604.21.57.00   XXXXXXXXXXXXX  XXXXXXXXXXX  +5511941111114
>
>
>
> Criei uma rota de entrada que os faz tocar na extensão 600 do asterisk.
>
>
>
> Quando eu recebo alguma ligação dos dongles o ramal 600 toca normalmente.
> Eu atendo mas ai não consigo nem falar nem ouvir nada, em nenhum sentido.
> Vejo que aparecem alguns erros quando esta tocando:
>
> [2015-07-23 09:05:34] WARNING[28339][C-00000034] channel.c:
> [Dongle/dongle1-010000000f] Don't know how to indicate condition 22
>
> [2015-07-23 09:05:34] WARNING[28339][C-00000034] channel.c:
> [Dongle/dongle1-010000000f] Don't know how to indicate condition 22
>
> [2015-07-23 09:05:34] WARNING[28339][C-00000034] channel.c:
> [Dongle/dongle1-010000000f] Don't know how to indicate condition 33
>
> [2015-07-23 09:05:34] WARNING[28339][C-00000034] channel.c:
> [Dongle/dongle1-010000000f] Don't know how to indicate condition 33
>
>
>
> E logo após attender:
>
> [2015-07-23 09:05:53] ERROR[20492] at_response.c: [dongle1] AT^DDSETEX
> failed
>
>
>
>
>
> Vejam completo:
>
>
>
> [2015-07-23 09:05:34] VERBOSE[28339][C-00000034] pbx.c: -- Executing
> [s at macro-dial-one:44] Dial("Dongle/dongle1-010000000f", "SIP/600,,Ttr")
> in new stack
>
> [2015-07-23 09:05:34] VERBOSE[28339][C-00000034] netsock2.c: == Using SIP
> RTP TOS bits 184
>
> [2015-07-23 09:05:34] VERBOSE[28339][C-00000034] netsock2.c: == Using SIP
> RTP CoS mark 5
>
> [2015-07-23 09:05:34] VERBOSE[28339][C-00000034] app_dial.c: -- Called
> SIP/600
>
> [2015-07-23 09:05:34] WARNING[28339][C-00000034] channel.c:
> [Dongle/dongle1-010000000f] Don't know how to indicate condition 22
>
> [2015-07-23 09:05:34] WARNING[28339][C-00000034] channel.c:
> [Dongle/dongle1-010000000f] Don't know how to indicate condition 22
>
> [2015-07-23 09:05:34] WARNING[28339][C-00000034] channel.c:
> [Dongle/dongle1-010000000f] Don't know how to indicate condition 33
>
> [2015-07-23 09:05:34] WARNING[28339][C-00000034] channel.c:
> [Dongle/dongle1-010000000f] Don't know how to indicate condition 33
>
> [2015-07-23 09:05:34] VERBOSE[28339][C-00000034] app_dial.c: --
> SIP/600-0000003e is ringing
>
> [2015-07-23 09:05:53] WARNING[28339][C-00000034] channel.c:
> [Dongle/dongle1-010000000f] Don't know how to indicate condition 33
>
> [2015-07-23 09:05:53] WARNING[28339][C-00000034] channel.c:
> [Dongle/dongle1-010000000f] Don't know how to indicate condition 22
>
> [2015-07-23 09:05:53] VERBOSE[28339][C-00000034] app_dial.c: --
> SIP/600-0000003e answered Dongle/dongle1-010000000f
>
> [2015-07-23 09:05:53] ERROR[20492] at_response.c: [dongle1] AT^DDSETEX
> failed
>
> [2015-07-23 09:06:11] VERBOSE[28339][C-00000034] pbx.c: -- Executing
> [h at macro-dial-one:1] Macro("Dongle/dongle1-010000000f", "hangupcall,") in
> new stack
>
> [2015-07-23 09:06:11] VERBOSE[28339][C-00000034] pbx.c: -- Executing
> [s at macro-hangupcall:1] ExecIf("Dongle/dongle1-010000000f",
> "0?Set(CDR(recordingfile)=.wav)") in new stack
>
> [2015-07-23 09:06:11] VERBOSE[28339][C-00000034] pbx.c: -- Executing
> [s at macro-hangupcall:2] GotoIf("Dongle/dongle1-010000000f", "1?theend") in
> new stack
>
> [2015-07-23 09:06:11] VERBOSE[28339][C-00000034] pbx.c: -- Goto
> (macro-hangupcall,s,4)
>
> [2015-07-23 09:06:11] VERBOSE[28339][C-00000034] pbx.c: -- Executing
> [s at macro-hangupcall:4] Hangup("Dongle/dongle1-010000000f", "") in new
> stack
>
> [2015-07-23 09:06:11] VERBOSE[28339][C-00000034] app_macro.c: == Spawn
> extension (macro-hangupcall, s, 4) exited non-zero on
> 'Dongle/dongle1-010000000f' in macro 'hangupcall'
>
> [2015-07-23 09:06:11] VERBOSE[28339][C-00000034] pbx.c: == Spawn extension
> (macro-dial-one, h, 1) exited non-zero on 'Dongle/dongle1-010000000f'
>
> [2015-07-23 09:06:11] VERBOSE[28339][C-00000034] app_macro.c: == Spawn
> extension (macro-dial-one, s, 44) exited non-zero on
> 'Dongle/dongle1-010000000f' in macro 'dial-one'
>
> [2015-07-23 09:06:11] VERBOSE[28339][C-00000034] app_macro.c: == Spawn
> extension (macro-exten-vm, s, 16) exited non-zero on
> 'Dongle/dongle1-010000000f' in macro 'exten-vm'
>
> [2015-07-23 09:06:11] VERBOSE[28339][C-00000034] pbx.c: == Spawn extension
> (ext-local, 600, 2) exited non-zero on 'Dongle/dongle1-010000000f
>
>
>
>
>
> Abri o DC-Unlocker e pelo que entendo o dongle já esta desbloqueado, vejam:
>
>
>
> selection :
>
> manufacturer - Huawei modems
>
> model - Huawei E160/E160G/E160X
>
>
>
> Selected Applications port COM6
>
> Selected Diagnostics port COM5
>
>
>
> Found modem         : E160E
>
> Model               : Huawei E160/E160G/E160X
>
> IMEI                : XXXXXXXXXXXXXX
>
> Serial NR.          : DYA5TA1163002990
>
> Firmware            : 11.604.21.57.00
>
> Compile date / time : May 14 2009 09:38:52
>
> Hardware ver.       : CD25TCPU
>
> Dashboard version   : graham_inggs_custom_iso
>
> Chipset             : Qualcomm MSM6246
>
> NAND Flash          : samsung_K5D1G13ACH
>
> Voice feature       : enabled
>
> SIM Lock status     : unlocked
>
> Wrong codes entered : 0 (unlock attempts left : 10)
>
>
>
>
>
> Alguma ideia do que pode estar acontecendo?
>
>
>
> Muito obrigado
>
> Gustavo
>
>
>
> _______________________________________________
> WORKOFFEE PORTO ALEGRE da Khomp acontecerá no dia 7/07,
> no Hotel Quality. Faça já sua inscrição em workoffee.com.br
> e  venha conhecer os lançamentos do portfólio da Khomp em
> primeira mão. Inscrições GRATUITAS.
> _______________________________________________
> DIGIVOICE: Fabricante pioneiro em Banco de Canais e Placas E1, GSM, FXO e
> FXS para Asterisk e Elastix. Temos Cursos de Telefonia IP e Asterisk.
> Construa soluções de PABX IP com produtos DigiVoice - visite
> www.digivoice.com.br
> _______________________________________________
> Para remover seu email desta lista, basta enviar um email em branco para
> asteriskbrasil-unsubscribe at listas.asteriskbrasil.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20150723/5733ed4e/attachment.html>


Mais detalhes sobre a lista de discussão AsteriskBrasil