[AsteriskBrasil] ENC: Desbloquear modem Huawei E173 para usar no Asterisk

Asterisk - Junior Polegato asterisk em juniorpolegato.com.br
Segunda Maio 13 16:14:38 BRT 2013


Em 13-05-2013 15:33, Leonardo Gutierres - Operação de Redes - Netpal escreveu:

> Se possível verifique e avise assim podemos prosseguir.

Bom, para documentar, veja o que acontece:


*CLI>  dongle show devices

ID           Group State      RSSI Mode Submode Provider Name  Model      Firmware          IMEI             IMSI             Number

dongle0      0     Free       18   0    0       CLARO BR       E156B      11.609.10.00.264  357777777777777  724000000000000  Unknown



*CLI>  dongle show device state dongle0

-------------- Status -------------

   Device                  : dongle0

   State                   : Free

   Audio                   : /dev/ttyUSB1

   Data                    : /dev/ttyUSB2

   Voice                   : Yes

   SMS                     : Yes

   Manufacturer            : huawei

   Model                   : E156B

   Firmware                : 11.609.10.00.264

   IMEI                    : 357777777777777

   IMSI                    : 724000000000000

   GSM Registration Status : Registered, home network

   RSSI                    : 14, -117 dBm

   Mode                    : No Service

   Submode                 : No service

   Provider Name           : CLARO BR @@@

   Location area code      : 75A4

   Cell ID                 : 8550

   Subscriber Number       : Unknown

   SMS Service Center      : +551991015300

   Use UCS-2 encoding      : Yes

   USSD use 7 bit encoding : No

   USSD use UCS-2 decoding : Yes

   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




*CLI>  console dial 92929292 em celular

[May 13 15:57:47] WARNING[2263]: chan_oss.c:489 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory

[May 13 15:57:47] NOTICE[2263]: console_video.c:133 console_video_start: voice only, console video support not present

     -- Executing [12345 em celular:1] Dial("Console/dsp", "Dongle/dongle0/92929292") in new stack

     -- Called Dongle/dongle0/92929292

[May 13 15:57:47] ERROR[2283]: at_response.c:467 at_response_error: [dongle0] Dial failed

     -- Dongle/dongle0-0100000001 is circuit-busy

   == Everyone is busy/congested at this time (1:0/1/0)

     -- Executing [92929292 em celular:2] Hangup("Console/dsp", "") in new stack

   == Spawn extension (celular, 92929292, 2) exited non-zero on 'Console/dsp'

  <<  Hangup on console>>  

[May 13 15:57:47] ERROR[2283]: at_response.c:472 at_response_error: [dongle0] AT^DDSETEX failed



# cat /etc/asterisk/dongle.conf |sed 's/;.*//g'|sed '/^[ \t]*$/d'
[general]
interval=15			
[defaults]
context=dongle-incoming			
group=0				
rxgain=0			
txgain=0			
autodeletesms=yes		
resetdongle=yes			
u2diag=-1			
usecallingpres=yes		
callingpres=allowed_passed_screen
disablesms=no			
language=en			
smsaspdu=yes			
mindtmfgap=45			
mindtmfduration=80		
mindtmfinterval=200		
callwaiting=auto		
disable=no			
initstate=start			
exten=+1234567890		
dtmf=relax			
[dongle0]
audio=/dev/ttyUSB1		
data=/dev/ttyUSB2		


# cat /etc/asterisk/extensions.conf |sed -n '/\[celular\]/,/^$/p'
[celular]
exten =>  _X.,1,Dial(Dongle/dongle0/${EXTEN})
exten =>  _X.,n,Hangup




Mais detalhes sobre a lista de discussão AsteriskBrasil