atefsaeed2010 / datacard

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

cli send sms not sending to short numbers. #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. datacard sms datacard4 "8888" "GET INFO"
2.
3.

What is the expected output? What do you see instead?
-Should send SMS message

*CLI> datacard sms datacard4 "8888" "GETINFO"
[datacard4] SMS queued for send with id 0x1fd3030
[Mar  4 07:50:54] ERROR[4622]: chan_datacard.c:421 do_monitor_phone: 
[datacard4] timedout while waiting 'OK' in response to 'SMSTEXT'
    -- [datacard4] Datacard has disconnected
[Mar  4 07:50:56] ERROR[4577]: pdiscovery.c:314 pdiscovery_do_cmd: [datacard4 
discovery] failed to get valid response from /dev/ttyUSB12 in 500 msec
    -- [datacard4] IMEI XXXXXXXXXX IMSI XXXXXXXXXX found on data_tty=/dev/ttyUSB14 audio_tty=/dev/ttyUSB13
    -- [datacard4] Trying to connect on /dev/ttyUSB14...
    -- [datacard4] Datacard has connected, initializing...
    -- [datacard4] Datacard initialized and ready

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

chan_datacard: Datacard Channel Driver, Version 1.0, Revision 302

Asterisk 1.6.2.9-2 

Debian 6 Linux SERV2 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 
GNU/Linux

Please provide any additional information below.

Seems to work fine with original chan_datacard. However does not work with this 
branch also when sending sms to local numbers with out country code does not 
work as with did original. 

I am trying to send to one of the providers numbers which are 3 and 4 digit 
numbers.

Original issue reported on code.google.com by secure...@gmail.com on 3 Mar 2011 at 4:06

GoogleCodeExporter commented 9 years ago
duplicate of 18

Original comment by bg_...@mail.ru on 4 Mar 2011 at 3:54