Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time and Detection Issue !!!! #8

Closed
jasonhk-zz opened this issue Jul 10, 2011 · 10 comments
Closed

Time and Detection Issue !!!! #8

jasonhk-zz opened this issue Jul 10, 2011 · 10 comments

Comments

@jasonhk-zz
Copy link

Hey,

i am having a few problems, i'm hoping i could get some help with.

so i'm trying to setup kalkun with gammu on a Windows XP system for a few weeks now, and can't seem to get Kalkun to recognize gammu or my modem no matter what i do.

now i have installed and configured Gammu to the point were it recognizes the modem and can send text using the command lines. I was also able to start the gammu service without any errors.

i then proceeded to install kalkun by following the instructions on here. after finish install and launching the dashboard, i realized a few things.

  1. My status is unknown
  2. The OS displays WINNT (I'm using XP)
  3. Gammu version is unknown
  4. IMEI is unkown
  5. Time issues, no matter what time zone i change the index file to, the time always remain the same.

now i have been trying to fix these problems for weeks now and i cant seem to find a solution. i am truly desperate now, the fact that my dead line for this project is getting close. So i would really appreciate if someone could respond to this message ASAP.

Thank you.

@back2arie
Copy link
Collaborator

Hi

Kalkun cannot recognize your modem, gammu (and gammu-smsd) does.
First, make sure gammu-smsd is running without any errors, try to activate the log with debug level 255.

If gammu-smsd service is running, it will insert modem/phone information to phones table on gammu database, you can check it. Kalkun dashboard (Status, IMEI, etc) get the information from this table.

HTH.

@jasonhk-zz
Copy link
Author

hey

thanks for responding so quickly.

so i did what u said but i still cant figure out the problem after going thru the log file. But i'm hoping u can help me in getting this to work, because its very important for me to.

Heres a link to the log file and all the gammu and kalkun files that were edited.
http://www.mediafire.com/?fqldp77ll8u78ca

I'm hoping u can look at them and possibly tell me what i'm doing wrong. I hope i'm not asking too much by the way, bcuz i'm sure your probly a busy person. but i'm begging for your help.

i'm using this modem by the way: http://www.techfaithwireless.com/english/products/products_WirelessCard_HSUPA_1.htm
manufactured by Qualcomm ( which gammu identify it as)

Thank you

@back2arie
Copy link
Collaborator

Hi

You misconfigured some parameter on smsdrc.
First, service = files, change it to service = mysql.
Second, database = mysql, but on database.php (Kalkun database configuration) you mention $db['default']['database'] = "kalkun";. Kalkun and gammu must point to same database, in this case change database = mysql to database = kalkun.

Try to restart your smsd services and see what comes up.

@jasonhk-zz
Copy link
Author

Hey,

i made the changes to the smsdrc file as you suggested, but unfortunately i ran into another error.
Error code: 1064, Error: You have an error in your SQL syntax............

i took the whole day trying to solve this problem, but luckily i was able to figure it out. i had to edit the environment variable.

But after finally getting kalkun to detect the modem, i again ran into another problem. The status is set to disconnected and i cant seem to get it to connect. Could you please advise me on what to do to solve this.

and could you advise me on how to solve the time issue i mentioned in the 1st message.

Thank you.

@jasonhk-zz
Copy link
Author

i realize the time issue, is the reason why i have no connection. but i cant seem to get it to work. no matter what timezone i put in the index file.

help me please.

@back2arie
Copy link
Collaborator

Hi, you need to fix the gammu-smsd issue first, make sure no error occurred by looking at the log file, then check the gammu database on phones table. Kalkun status (connected/disconnected) is by looking for record in that table.

@jasonhk-zz
Copy link
Author

hey, like i stated in the last message, i have fixed that problem already. the log file does not have any errors and the phone table shows the modem info.

the issue i am having is the status on the kalkun dashboard, due to a time and date problem (Timezone).
Here is a pic to show you what i mean.
http://imageshack.us/photo/my-images/29/kalkuntimeincorrect.jpg/
http://imageshack.us/photo/my-images/845/kalkuntimecorrect.jpg/

As you can see in pic 1, kalkun is not connected and the dashboard time is wrong, while the system time reflects my local time, which is 7 hours behind.
In pic 2, it shows kalkun connected with the local time (off by 1 hour). But now the system time is incorrect.

i sent a test message to my cell phone, but it did not reach until 7 hours later (my local time).
seeing this, i am 100% sure that this issue is a result of the dashboard time being incorrect. The problem is, i am unable to correct it, just by editing the index.php file.

@jasonhk-zz
Copy link
Author

hey you can forget it, i found what was causing the time problem. its now fixed and working perfectly.

Thanks for your help

@mrranjos
Copy link

hi am fred from KENYA and i am also facing the same problem you raised here....can you please tell me how you managed to fix the timezone issue. mine is also one hour back behind please help me!!!!!!!

@renuka1203
Copy link

HI

gammu-smsd -c smsdrc -S....on running gummu service from command prompt we are getting "service process could not connect to service controller"(gammu service installed and started but in running we are facing that problem).........
on kalkun dashboard getting STAUS:UNKNOWN.....plz help me how get status:connected

phone table was empty(not inserting modem data)...............its sooo important for me.......help me out please!!!!!!!!!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants