[AsteriskBrasil] Chan_dongle

Mário Arnaldo Mazon mmazon em gmail.com
Quinta Julho 23 11:19:05 BRT 2015


 De um Post antigo:


try to use minicom and then issue:

at^cvoice?

If you get something like:

^CVOICE:0,8000,16,20

then voice is enabled. If response is:

^CVOICE=1

then voice is NOT enable.

Also check
http://wiki.e1550.mobi/doku.php?id=preparation&s[]=cvoice#how_to_activate_voice_on_huawei_modems



Além disso, no minicom, de um

AT^U2DIAG=0


Pra desabilitar CD-ROM/cartão SD.

- mostrar texto das mensagens anteriores -


On Thursday, July 23, 2015, Gustavo W. Rosenbaum <gelcom em uol.com.br> wrote:

> 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 em 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 em 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 em 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 em 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 em 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
>
>
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20150723/cfade47b/attachment-0001.html>


Mais detalhes sobre a lista de discussão AsteriskBrasil