atefsaeed2010 / datacard

Automatically exported from code.google.com/p/datacard
Other
0 stars 1 forks source link

send sms makes modem to disconnect #93

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.datacard sms datacard0 07XXXXXXXX test sms
2.receive message [datacard0] SMS queued for send with id 0x99789f0
3.then

    -- [datacard0] Datacard has disconnected
    -- [datacard0] Trying to connect on /dev/ttyUSB2...
    -- [datacard0] Datacard has connected, initializing...
    -- [datacard0] Error initializing Datacard
    -- [datacard0] Datacard has disconnected
    -- [datacard0] Trying to connect on /dev/ttyUSB2...
    -- [datacard0] Datacard has connected, initializing...
    -- [datacard0] Datacard initialized and ready

What is the expected output? What do you see instead?
[datacard0] SMS queued for send with id 0x99789f0

What version of the product are you using? On what operating system?
datacard 1.0
elastix 2.0.3

Please provide any additional information below.
zaone*CLI> core show version
Asterisk 1.6.2.13

Original issue reported on code.google.com by praetori...@gmail.com on 27 Sep 2013 at 6:52

GoogleCodeExporter commented 9 years ago
i forgot to mention voice calls in and out work just fine. thank you

Original comment by praetori...@gmail.com on 27 Sep 2013 at 6:56

GoogleCodeExporter commented 9 years ago
huawei k3520
ID           Group State      RSSI Mode Submode Provider Name  Model      
Firmware          IMEI             IMSI             Number
datacard0    0     Free       13   0    0       RO Vodafone RO K3520      
11.315.05.00.00   353284023888343  226019640053425  Unknown

Original comment by praetori...@gmail.com on 27 Sep 2013 at 6:57

GoogleCodeExporter commented 9 years ago
Issue solved!!!
I started to use asterisk-chan-dongle instead of datacard.
When sending sms you must user number in international format.

zaone*CLI> dongle sms dongle0 +407xxxxxxxx test
[dongle0] SMS queued for send with id 0xa5f8508
    -- [dongle0] Successfully sent SMS message 0xa5f8508

If you send sms in format 0040 or just 07 you will get this error
[dongle0] remove command 'SMSTEXT' expected response 'OK' real '+CMS ERROR' cmd 
2/2 flags 0x00 from queue

Original comment by praetori...@gmail.com on 5 Oct 2013 at 9:30