MaxSok / asterisk-chan-dongle

Automatically exported from code.google.com/p/asterisk-chan-dongle
Other
0 stars 0 forks source link

Empty dongle with no SIM card in #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. insert empty dongle without SIM card
2. enable IMEI discovery
3. type "dongle show devices"

What is the expected output? What do you see instead?

Dongle is reported as "Not connected" instead of "Not initialized".

This would be correct output:
dongle01     0     Not initia 0    0    0       NONE           E1552      
11.609.18.00.00   IMEI                   Unknown    

This is current output:
dongle01     1     Not connec 0    0    0       NONE                            
                                              Unknown   

What version of the product are you using? On what operating system?

Please provide any additional information below.

file at_response.c should be patched:

            case CMD_AT_CIMI:
                ast_log (LOG_ERROR, "[%s] Getting IMSI number failed\n", PVT_ID(pvt));
//              goto e_return; 
                break; // not fatal error

Original issue reported on code.google.com by few.find...@gmail.com on 21 Feb 2012 at 2:54

GoogleCodeExporter commented 9 years ago
modem useless w/o card 

Original comment by bg_...@mail.ru on 22 Mar 2012 at 2:51

GoogleCodeExporter commented 9 years ago
What if I want to send some AT commands to dongle before inserting SIM card?
(For example AT^SYSCFG or AT+CFUN)
chan_dongle is using /dev/ttyUSBxx socket and sending AT commands every second 
or so. How can I add AT commands to queue if dongle is in state Not connected?

Original comment by few.find...@gmail.com on 30 Mar 2012 at 10:36