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 00 Vivo E160E
11.604.21.57.00 X XXX +551194111
dongle2 0 Free 12 00 Vivo E160E
11.604.21.57.00 X XXX +551194112
dongle3 0 Free 12 00 Vivo E160E
11.604.21.57.00 X XXX +551194113
dongle4 0 Free 12 00 Vivo E160E
11.604.21.57.00 X XXX +551194114
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-0034] channel.c:
[Dongle/dongle1-01000f] Don't know how to indicate condition 22
[2015-07-23 09:05:34] WARNING[28339][C-0034] channel.c:
[Dongle/dongle1-01000f] Don't know how to indicate condition 22
[2015-07-23 09:05:34] WARNING[28339][C-0034] channel.c:
[Dongle/dongle1-01000f] Don't know how to indicate condition 33
[2015-07-23 09:05:34] WARNING[28339][C-0034] channel.c:
[Dongle/dongle1-01000f] 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-0034] pbx.c: -- Executing
[s@macro-dial-one:44] Dial(Dongle/dongle1-01000f, SIP/600,,Ttr) in
new stack
[2015-07-23 09:05:34] VERBOSE[28339][C-0034] netsock2.c: == Using SIP
RTP TOS bits 184
[2015-07-23 09:05:34] VERBOSE[28339][C-0034] netsock2.c: == Using SIP
RTP CoS mark 5
[2015-07-23 09:05:34] VERBOSE[28339][C-0034] app_dial.c: -- Called
SIP/600
[2015-07-23 09:05:34] WARNING[28339][C-0034] channel.c:
[Dongle/dongle1-01000f] Don't know how to indicate condition 22
[2015-07-23 09:05:34] WARNING[28339][C-0034] channel.c:
[Dongle/dongle1-01000f] Don't know how to indicate condition 22
[2015-07-23 09:05:34] WARNING[28339][C-0034] channel.c:
[Dongle/dongle1-01000f] Don't know how to indicate condition 33
[2015-07-23 09:05:34] WARNING[28339][C-0034] channel.c:
[Dongle/dongle1-01000f] Don't know how to indicate condition 33
[2015-07-23 09:05:34] VERBOSE[28339][C-0034] app_dial.c: --
SIP/600-003e is ringing
[2015-07-23 09:05:53] WARNING[28339][C-0034] channel.c:
[Dongle/dongle1-01000f] Don't know how to indicate condition 33
[2015-07-23 09:05:53] WARNING[28339][C-0034] channel.c:
[Dongle/dongle1-01000f] Don't know how to indicate condition 22
[2015-07-23 09:05:53] VERBOSE[28339][C-0034] app_dial.c: --
SIP/600-003e answered Dongle/dongle1-01000f
[2015-07-23 09:05:53] ERROR[20492] at_response.c: [dongle1] AT^DDSETEX
failed
[2015-07-23 09:06:11] VERBOSE[28339][C-0034] pbx.c: -- Executing
[h@macro-dial-one:1] Macro(Dongle/dongle1-01000f, hangupcall,) in
new stack
[2015-07-23 09:06:11] VERBOSE[28339][C-0034] pbx.c: -- Executing
[s@macro-hangupcall:1] ExecIf(Dongle/dongle1-01000f,
0?Set(CDR(recordingfile)=.wav)) in new stack
[2015-07-23 09:06:11] VERBOSE[28339][C-0034] pbx.c: -- Executing
[s@macro-hangupcall:2] GotoIf(Dongle/dongle1-01000f, 1?theend) in
new stack
[2015-07-23 09:06:11] VERBOSE[28339][C-0034] pbx.c: -- Goto
(macro-hangupcall,s,4)
[2015-07-23 09:06:11] VERBOSE[28339][C-0034] pbx.c: -- Executing
[s@macro-hangupcall:4] Hangup(Dongle/dongle1-01000f, ) in new stack
[2015-07-23 09:06:11] VERBOSE[28339][C-0034] app_macro.c: == Spawn
extension (macro-hangupcall, s, 4) exited non-zero on
'Dongle/dongle1-01000f' in macro 'hangupcall'
[2015-07-23 09:06:11] VERBOSE[28339][C-0034] pbx.c: == Spawn extension
(macro-dial-one, h, 1) exited non-zero on 'Dongle/dongle1-01000f'
[2015-07-23 09:06:11] VERBOSE[28339][C-0034] app_macro.c: == Spawn
extension (macro-dial-one, s, 44) exited non-zero on
'Dongle/dongle1-01000f' in macro 'dial-one'
[2015-07-23 09:06:11] VERBOSE[28339][C-0034] app_macro.c: == Spawn
extension (macro-exten-vm, s, 16) exited non-zero on
'Dongle/dongle1-01000f' in macro 'exten-vm'
[2015-07-23 09:06:11] VERBOSE[28339][C-0034] pbx.c: == Spawn extension
(ext-local, 600, 2) exited non-zero on 'Dongle/dongle1-01000f
Abri o DC-Unlocker e pelo que entendo o dongle já esta desbloqueado, vejam:
selection :
manufacturer - Huawei modems
model -