Sutarwa's Email | 18 Nov 03:22 2011
Picon

GAmmu cant write to My Mysql Database

Dear,


Right now I try using Gammu 1.29.0 for windows in my computer. For my sms gateway i am using Wavecom M1306B Fastrack


I try to connect to my modem and test send sms from command line was succeded

c:\gammu\gammu identify
Device               : com3:
Manufacturer         : Wavecom
Model                : unknown (MULTIBAND  900E  1800)
Firmware             : 641b09gg.Q2403A 1320676 061804 14:38
IMEI                 : 354056300813878
SIM IMSI             : 510104625581672


but when i ty to connecting the modem with mysql database,   in smsdlog report was like this :
---------------------------------
Fri 2011/11/18 10:18:04 gammu-smsd[3204]: Connected to Database: gammu129 on 192.168.1.1
Fri 2011/11/18 10:18:04 gammu-smsd[3204]: Connected to Database native_mysql: gammu129 on 192.168.1.1
Fri 2011/11/18 10:18:04 gammu-smsd[3204]: Created Windows RW shared memory at 01120000
Fri 2011/11/18 10:18:04 gammu-smsd[3204]: Starting phone communication...
Fri 2011/11/18 10:18:10 gammu-smsd[3204]: Inserting phone info
Fri 2011/11/18 10:18:20 gammu-smsd[3204]: Error getting security status: No response in specified timeout. Probably phone not connected. (TIMEOUT[14])
Fri 2011/11/18 10:18:20 gammu-smsd[3204]: You might want to set CheckSecurity = 0 to avoid checking security status
Fri 2011/11/18 10:18:30 gammu-smsd[3204]: Error getting security status: No response in specified timeout. Probably phone not connected. (TIMEOUT[14])
Fri 2011/11/18 10:18:30 gammu-smsd[3204]: You might want to set CheckSecurity = 0 to avoid checking security status

----------------------------

there was stuck after that... no other error shown


my smsdrc like this :
--------------------------------------
[gammu]
device = com3:
connection = at115200
[smsd]
service = SQL
PIN = 1234
debuglevel = 0
commtimeout = 30
sendtimeout = 30

# Phone communication settings
checksecurity = 1

user = root
password = 
pc = 10.71.52.168
database = gammu129

driver = native_mysql
------------------------------------------



What problem in my setting?  



Tahnks


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users
Michal Čihař | 24 Nov 13:59 2011

Re: GAmmu cant write to My Mysql Database

Hi

Dne Fri, 18 Nov 2011 10:22:31 +0800
"Sutarwa's Email" <igmsutarwa <at> gmail.com> napsal(a):

> Right now I try using Gammu 1.29.0 for windows in my computer. For my sms
> gateway i am using Wavecom M1306B Fastrack

Gammu 1.29.0 is quite old, you should upgrade.

> I try to connect to my modem and test send sms from command line was
> succeded
> 
> c:\gammu\gammu identify
> Device               : com3:
> Manufacturer         : Wavecom
> Model                : unknown (MULTIBAND  900E  1800)
> Firmware             : 641b09gg.Q2403A 1320676 061804 14:38
> IMEI                 : 354056300813878
> SIM IMSI             : 510104625581672
> 
> 
> but when i ty to connecting the modem with mysql database,   in smsdlog
> report was like this :
> ---------------------------------
> Fri 2011/11/18 10:18:04 gammu-smsd[3204]: Connected to Database: gammu129
> on 192.168.1.1
> Fri 2011/11/18 10:18:04 gammu-smsd[3204]: Connected to Database
> native_mysql: gammu129 on 192.168.1.1
> Fri 2011/11/18 10:18:04 gammu-smsd[3204]: Created Windows RW shared memory
> at 01120000
> Fri 2011/11/18 10:18:04 gammu-smsd[3204]: Starting phone communication...
> Fri 2011/11/18 10:18:10 gammu-smsd[3204]: Inserting phone info
> Fri 2011/11/18 10:18:20 gammu-smsd[3204]: Error getting security status: No
> response in specified timeout. Probably phone not connected. (TIMEOUT[14])
> Fri 2011/11/18 10:18:20 gammu-smsd[3204]: You might want to set
> CheckSecurity = 0 to avoid checking security status
> Fri 2011/11/18 10:18:30 gammu-smsd[3204]: Error getting security status: No
> response in specified timeout. Probably phone not connected. (TIMEOUT[14])
> Fri 2011/11/18 10:18:30 gammu-smsd[3204]: You might want to set
> CheckSecurity = 0 to avoid checking security status
> 
> ----------------------------
> 
> there was stuck after that... no other error shown

Have you tried suggested settings?

Also full debug log (see http://wammu.eu/support/bugs/ ) could reveal
more details.

--

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users

Gmane