gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble on Sending a Lot of SMS


From: A. Andria
Subject: Re: Trouble on Sending a Lot of SMS
Date: Fri, 03 Nov 2006 09:20:30 +0700
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

Jan Derfinak wrote:
On Wed, 1 Nov 2006, A. Andria wrote:

Hello.
If we are working with gnokii, sometimes after a few minutes gnokii got
hang-up or the sms can not stored (save to the database) or can not send (get
from the database and sent it out). So, we must stop the gnokii processed
Can you provide more details. There is one unresolved issue when
communication between phone and gnokii goes wrong from unknown reason but I
don't know other causes for smsd to stop work.
To help on troubleshooting the slow moving or failed of sent sms it must there
a log or script. Yes, we can find the status from the database but i think
it's nice if we have a file that keep all the log of sent sms. But, i didn't
find how to do this. I have turn on the debug mode on gnokiirc
What do you want to have in log file? Smsd logs remote number and error.

jan

The smsd working like this below :

[...]
RefreshSMS is running...
Message sent: 0x12 / 0x0009
41 54 2b 43 50 4d 53 3f 0d                      | AT+CPMS?
write: [AT+CPMS?<cr>]
read : [AT+CPMS?<cr><cr><lf>+CPMS: "SM",6,35,"SM",6,35<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x12 / 0x002d
02 41 54 2b 43 50 4d 53 3f 0d 0d 0a 2b 43 50 4d |  AT+CPMS?   +CPM
53 3a 20 22 53 4d 22 2c 36 2c 33 35 2c 22 53 4d | S: "SM",6,35,"SM
22 2c 36 2c 33 35 0d 0a 0d 0a 4f 4b 0d          | ",6,35    OK
Received message type 12
Inserting Event: 2
Message sent: 0x12 / 0x0009
41 54 2b 43 50 4d 53 3f 0d                      | AT+CPMS?
write: [AT+CPMS?<cr>]
read : [AT+CPMS?<cr><cr><lf>+CPMS: "SM",6,35,"SM",6,35<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x12 / 0x002d
02 41 54 2b 43 50 4d 53 3f 0d 0d 0a 2b 43 50 4d |  AT+CPMS?   +CPM
53 3a 20 22 53 4d 22 2c 36 2c 33 35 2c 22 53 4d | S: "SM",6,35,"SM
22 2c 36 2c 33 35 0d 0a 0d 0a 4f 4b 0d          | ",6,35    OK
Received message type 12
[...]

It's mean that the smsd still working and RefreshSMS is always running. But, when i inserting a new sms request to mysql database, that sms status are always pending. I think i need to stop the smsd and then start it again. And it works ... sms sent to the recipient number. This things happen on Nokia 3120, and Nokia 5110. So, i decided to make a little bash scripting that always stop a smsd and start it again after a few minutes to handle that unwanted circumstances. And it works.

Yes, smsd logs remote number and error. Because i'm using the mysql database so the remote number and error stored in the outbox table. But, if smsd didn't success update sms status on outbox table where i can find this log? Is that logs on ~/.gnokii-error file ? I think it's nice if this circumstance happen then there are a log file i can check to evaluating the problems. Or, may it has but i didn't know.

--
Regards,

Asep Andria I.W.
http://asepandria.blogspot.com
--





reply via email to

[Prev in Thread] Current Thread [Next in Thread]