jump to navigation

GAMMU + KALKUN DI WINDOWS Juni 28, 2013

Posted by eljarie in Tricky.
trackback

Bagian Setup

Langkah awal adalah install terlebih dahulu XAMPP nya, disini saya pilih sengaja versi 1.7.4 untuk menghindari permasalahan error mysql dengan gammu

XAMPP Windows 1.7.4

Gammu-1.29.92-Windows.zip

kalkun 0.3

 

Instalasi

  1. Membuat database (misal dengan nama kalkun), bisa dengan phpMyAdmin – http://localhost/phpmyadmin
  1. Menyesuaikan file C:\xampp\htdocs\kalkun\application\config\database.php

?

database.php

42

43

44

45

46

// MySQL

$db[‘default’][‘username’] = “root”;

$db[‘default’][‘password’] = “”;

$db[‘default’][‘database’] = “kalkun”;

$db[‘default’][‘dbdriver’] = “mysql”;

  1. Meng-Import gammu schema, bisa dengan phpMyAdmin – C:\Gammu-1.29.0-Windows\share\doc\gammu\examples\sql\mysql.sql
  1. Meng-konfigurasi daemon.
    • File C:\xampp\htdocs\kalkun\scripts\daemon.php

?

daemon.php

5

6

// Please configure this

$url = “http://localhost/kalkun“;

    • File C:\xampp\htdocs\kalkun\scripts\daemon.bat

?

daemon.bat

3

4

5

6

7

:: Configure this (use absolute path)

:: php cli path

set PHP=C:\xampp\php\php.exe

:: daemon.php path

set DAEMON=C:\xampp\htdocs\kalkun\scripts\daemon.php

  1. Membuat file konfigurasi gammu-smsd -> C:\Gammu-1.29.0-Windows\bin\smsdrc

?

smsdrc

01

02

03

04

05

06

07

08

09

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

[gammu]

# isikan no port di bawah ini

device = com18:

# isikan jenis connection di bawah ini

connection = at115200

[smsd]

service = sql

driver = native_mysql

logfile = kalkun

debuglevel = 1

phoneid = e620

commtimeout = 30

sendtimeout = 600

checksecurity = 0

resetfrequency = 600

receivefrequency = 0

runonreceive = C:\xampp\htdocs\kalkun\scripts\daemon.bat

#PIN = 1234

# —————————–

# Konfigurasi koneksi ke MySQL

# —————————–

pc = localhost

# isikan user untuk akses ke MySQL

user = root

# isikan password user untuk akses ke MySQL

password =

# isikan nama database untuk Gammu

database = kalkun

  1. Jalankan gammu-smsd via Command Prompt

untuk menjadikan service di windows : gammu-smsd -c smsdrc -i

untuk menghapus service di windows : gammu-smsd -c smsdrc –u

Jika service gammu tidak berjalan secara otomatis maka masuk ke Command prompt, ketik CD\Gammu\Bin, kemudian setelah masuk ke directory C:\Gammu\bin, ketik gammu-smsd -c smsdrc

  1. Jalankan kalkun – http://localhost/kalkun
  2. Klik Start installation.
  1. Klik Next
  1. Klik Run Database Setup
  1. Sesuai pesan Removal status: FAILED (You have to remove it manually), hapus folder C:\xampp\htdocs\kalkun\install secara manual. Bisa dengan Windows Explorer. Bila sudah, klik Go To Application.
  1. Masukkan username: kalkun dan password: kalkun.
  1. Dan kini, saatnya bermain-main dengan kalkun.

 

Komentar»

1. Ashep Jumadi - November 8, 2013

bro udh bisa
ngirim sms ngak bisa
pas nerima kok masuknya ke modem

mohon dibantu

eljarie - November 8, 2013

kalau sudah bisa kirim tetapi terima sms tidak masuk ke database sebaiknya di install ulang kalkun’a, gunakan kalkun versi 3.0 saja, dan pastikan pada settingan file smsdc settingan untuk koneksi ke database terisi “database=kalkun”

2. Carlos Elizondo - Agustus 6, 2014

good Morning

I have made several attempts to install Kalkun, following several manuals, where basically the following process is performed:

1. The gammu Installs
2. The modem is configured in the file gammurc
3. Was testing the modem from gammu
4. The database is created and runs the script gammu
5. Modem and BD in smsdrc file is configured (the native did not work, so it was made to odbc)
6. Kalkun is copied to the www directory (using wamp)
7. The installation process continued
8. Kalkun was acceded to and a message command
9. Came and no message is left in the output tray
10. Gammu is checked for messages sent (successful shipping from gammu)
11. The dashboar Kalkun sample of unknown status and system information appears incomplete.

I appreciate any help to put to work the Kalkun

eljarie - Agustus 6, 2014

how kalkun version you use? so far i use kalkun the kalkun 0.3 was very stabil but another version not stabil


Tinggalkan komentar