Anda di halaman 1dari 6

Gammu ilu Inu Imu: Konfigurasi Final Gammu pada Win 7 atau XP to he... http://my-name-is-adi.blogspot.co.id/2014/11/konfigurasi-final-gammu-...

Membangun SMS Gateway Berbasis WEB dengan MEnggunakan Gammu

Minggu, 09 November 2014 Total Tayangan Laman

Konfigurasi Final Gammu pada Win 7 atau XP to help 2,695


All error
Follow by Email
Bagi yang belum memiliki new gammu version, silakan download dimari:
Download :http://dl.cihar.com/gammu/releases/windows/

extract rename misal gammu =>jadi:D:\gammu\bin\....


Copy file 'gammurc' dan 'smsdrc' pada 'C:\gammu\share\doc\gammu\examples\config' ke Translate
'D:\gammu\bin'
Pilih Bahasa

Diberdayakan oleh Terjemahan


edit file smsdrc
# Database backends congfiguration
user = root Google+ Followers
password =
lp2m aray
pc = localhost
# pc can also contain port or socket path after colon (eg. localhost:/path/to/socket)
database = lp2msetgammuauto

edit file gammurc


device = com10: 1 memiliki kami di lingkaran Lihat semua
connection = at115200

    0
testing
gammu identify
======================== Mengenai Saya
jika sudah sukses, import database
 Impor format table untuk database 'gammu' Anda dengan menggunakan script 'mysql.sql' Adi Array

pada direktori 'C:\gammu\share\doc\gammu\examples\sql\mysql.sql'  71

Thanks for Share @Us, That


========================= I'm Concern In:
lalu edit ulang smsdrc sesuaikan dengan konfigurasi database dan password Xampp Anda Develop for Software and
device = com70: Hardware Using Combine
connection = at115200 Hardware: C, Assembly, Bascom
service = mysql Desktop:VB.Net, Java, C#, Delphi, Visual
user = root C++,Visual Delphi
password = Mobile:Android, Iphone, J2Me, BlackBerry
pc = localhost Web:PHP, JSP, ASP, CGI, Web Services, SOA
ERP: SAP Business One, Adempiere, Axapta
database = lp2msetgammuauto
Dynamic 2009
driver = mysql
Cloud Computing : Nakivo+Veeam
Backup+Replication, VMWare vCenter Server
tes sms..... 5.5,Citrix Framework :Laravel, CI, Yii, Drupal
gammu -c smsdrc sendsms TEXT 08121215xxxx 7, Wordpress, SEO
isi  pesan
ctrl+z “All the religions, the arts and sciences in
the world are branches of the one
atau tree.”“All the religions, the arts and
gammu sendsms TEXT 089669091xxx -text "Apa kabar" sciences in the world are branches of the
one tree.”
ctrl+z
=============================
contact :
Untuk membuat service gammu dengan perintah sbb: 085279959498
    gammu-smsd -i -c smsdrc -n adiGammu atau 021-78889003
    gammu-smsd -c smsdrc -i 021-92771708
Untuk jalankan : adiarray@gmail.com
    gammu-smsd -s -c smsdrc -n adiGammu adiarray@yahoo.com
Lihat profil lengkapku

CATATAN:
Arsip Blog
Apabila terjadi error (Error 1053: The service did not respond to the start or control
request in a timely fashion), hilangkan opsi “-f 0? pada service yang telah dibuat tadi, 2015 (3)

1 of 6 08/03/2016 12:42
Gammu ilu Inu Imu: Konfigurasi Final Gammu pada Win 7 atau XP to he... http://my-name-is-adi.blogspot.co.id/2014/11/konfigurasi-final-gammu-...

dengan cara: 2014 (8)


a. Buka Registry Editor (Start>RUN>”regedit”) November (8)
b.Cari lokasi “HKLM\\SYSTEM\\CurrentControlSet\\Services\\[nama service gammu]” Bagaimana agar gammu bisa mengirim
b.Edit value bagian “ImagePath”, hilangkan “-f 0? banyak karakter...
Fungsi Index SMS gateway
hmmmm...    jika masih ada error fasion juga: edit pada smsdrc
Posisi Standby menunggu SMS Masuk
    [gammu]
device = com11: Sms auto send to member jika ada buku
baru sesuai...
connection = at19200
#connection = dlr3 PHP code to read sent Item Using
Gammu
#synchronizetime = yes
Source code PHP to read Inbox using
Gammu

Error 1063: The service process could not connect to the service controller) Source code PHP for Gammu to send
    akan muncul jika gammu tidak du run test (play standby) message
Konfigurasi Final Gammu pada Win 7 atau
XP to hel...
Error 27 : The drive cannot find the sector requested
    Kemungkinan ada masalah dengan database...

*N.B : sebelum menjalankan/install service gammu daemon, pastikan settingan gammu


sudah benar, untuk mengeceknya gunakan perintah :
    gammu-smsd -c smsdrc
    Kalo tidak ada pesan error dan di TaskManager ada proses Gammu-SMSD, berarti
settingan kemungkinan sudah benar. Jika terdapat error, jangan lupa ngecek file smsdlog.

U di windows 7 dan sukses, beberapa yang perlu diperhatikan:(error Access is Denied)


>> Waktu eksekusi command prompt, pastikan dibuka sebagai administrator (run as
administrator)
>> PASTIKAN telah melewati proses identifikasi, artinya tidak ada error ketika
menjalakan perintah :
    gammu –identify

Errror : Invalid parameter


    Gunakan baufrate: 115200

Error 27 : The specified service does not exist as an installed service


    karena service gammu belum aktif...jadi seblum gunakan start gammu install dlu
servicenya:
    gammu –identify
    gammu identify
    gammu-smsd -i -c smsdrc -n adiGammu
    gammu-smsd -s -c smsdrc -n adiGammu
   

Keterangan:
-i untuk meng-install service
-c untuk konfigurasi
-n untuk membuat nama service
-s untuk menjalankan service gammu

Uji coba untuk mengirim SMS dengan menggunakan perintah dibawah ini:
gammu-smsd-inject –c D:\mygammu\bin\smsdrc TEXT +6285279959498 –text “Hello Mr.
Adi...”

    
   

===============finish smsdrc
# This is a sample Gammu SMSD configuration file. It's required for gammu-smsd,
# see gammu-smsdrc(5) for documentation.

# Gammu configuration, this section is like section "gammu" in "gammurc" file,


# see gammurc(5) for documentation.
[gammu]
device = com11:
connection = at19200
#connection = dlr3
#synchronizetime = yes
#logfile = gammulog # this is not used at all in SMSD mode
#logformat = textall
#use_locking = yes
#gammuloc = gammu.us
#startinfo = yes

2 of 6 08/03/2016 12:42
Gammu ilu Inu Imu: Konfigurasi Final Gammu pada Win 7 atau XP to he... http://my-name-is-adi.blogspot.co.id/2014/11/konfigurasi-final-gammu-...

# When uncomment this section and insert numbers here, smsd will process
# incoming sms only from numbers written here (incoming sms from all other
# numbers will be deleted)
#[include_numbers]
#number1 = 1234

# When uncomment this section and insert numbers here, smsd will process
# incoming sms from all numbers not written here (incoming sms from numbers
# written here will be deleted). This is "black" list.
# Note: after using "include_numbers" section this one will be ignored
#[exclude_numbers]
#number1 = 1234

# General SMSD settings, see gammu-smsdrc(5) for detailed description.


[smsd]
# SMSD service to use, one of FILES, MYSQL, PGSQL, DBI
service = MYSQL
# PIN for SIM card
PIN = 1234
# File (or stderr, syslog, eventlog) where information will be logged
logfile = smsdlog
# Amount of information being logged, each bit mean one level
debuglevel = 0
# Configuration for using more phones on same database
#phoneid = MyPhone1
# Script to be executed when new message has been received
#runonreceive = /some/script
# Commication frequency settings
commtimeout = 30
sendtimeout = 30
#receivefrequency = 0

# Phone communication settings


#checksecurity = 1
#resetfrequency = 0

# Delivery report configuration


#deliveryreport = no
#deliveryreportdelay = 10

# Ignoring broken SMSC


#skipsmscnumber = +48602123456

# Database backends congfiguration


user = root
password =
pc = localhost
# pc can also contain port or socket path after colon (eg. localhost:/path/to/socket)
database = lp2msetgammuauto

# DBI configuration
driver = mysql
# driverspath = /usr/lib/dbd/
# Database directory for sqlite
# dbdir = /var/lib/smsd

# Files backend configuration


#inboxpath = /var/spool/sms/inbox/
#outboxpath = /var/spool/sms/outbox/
#sentsmspath = /var/spool/sms/sent/
#errorsmspath = /var/spool/sms/error/
#inboxformat = unicode
#transmitformat = auto
#outboxformat = detail

=======================finish gammurc file


; This is a sample ~/.gammurc file.
; In Unix/Linux  copy it into your home directory and name it .gammurc
;                or into /etc and name it gammurc
; In Win32       copy it into directory with Gammu.exe and name gammurc
; More about parameters later
; Anything behind ; or # is comment.
; -----------------------------------------------------------------------------

[gammu]

3 of 6 08/03/2016 12:42
Gammu ilu Inu Imu: Konfigurasi Final Gammu pada Win 7 atau XP to he... http://my-name-is-adi.blogspot.co.id/2014/11/konfigurasi-final-gammu-...

device = com11:
connection = at19200
; Do not use model configuration unless you really need it
;model = 6110
;synchronizetime = yes
;logfile = gammulog
;logformat = textall
;use_locking = yes
;gammuloc = locfile
;startinfo = yes
;gammucoding = utf8
;usephonedb = yes

[gammu1]

;device = com8:
;model = 6110
;connection = fbusblue
;synchronizetime = yes
;logfile = gammulog
;logformat = textall
;use_locking = yes
;gammuloc = locfile
;startinfo = yes
;gammucoding = utf8

; Step 1. Please find required Connection parameter and look into assigned
; with it device type. With some Connection you must set concrete model

; ================================================================ cables =====


; New Nokia protocol for FBUS/DAU9P
;    Connection "fbus", device type serial
; New Nokia protocol for DLR3/DLR3P
;    Connection "fbusdlr3"/"dlr3", device type serial
; New Nokia protocol for DKU2 (and phone with USB converter on phone mainboard
;                              like 6230)
;    Connection "dku2phonet"/"dku2", device type dku2 on Windows
;    Connection "fbususb" on Linux
; New Nokia protocol for DKU5 (and phone without USB converter on phone
;                              mainboard like 5100)
;    Connection "dku5fbus"/"dku5", device type dku5
; New Nokia protocol for PL2303 USB cable (and phone without USB converter
;                                          on phone mainboard like 5100)
;    Connection "fbuspl2303", device type usb
; Old Nokia protocol for MBUS/DAU9P
;    Connection "mbus", device type serial
; Variants:
; You can modify a bit behaviour of connection using additional flags
; specified just after connection name like connection-variant.
; If you're using ARK3116 cable (or any other which does not like dtr
; handling), you might need -nodtr variant of connection, eg. dlr3-nodtr.
; If cable you use is not powered over DTR/RTS, try using -nopower variant of
; connection, eg. fbus-nopower.
; -----------------------------------------------------------------------------
; AT commands for DLR3, DKU5 or other AT compatible cable (8 bits, None
; parity, no flow control, 1 stop bit). Used with Nokia, Alcatel, Siemens, etc.
;    Connection "at19200"/"at115200"/.., device type serial
; AT commands for DKU2 cable
;    Connection "dku2at", device type dku2
; ============================================================== infrared =====
; Nokia protocol for infrared with Nokia 6110/6130/6150
;    Connection "fbusirda"/"infrared", device type serial
; Nokia protocol for infrared with other Nokia models
;    Connection "irdaphonet"/"irda", device type irda
; -----------------------------------------------------------------------------
; AT commands for infrared. Used with Nokia, Alcatel, Siemens, etc.
;    Connection "irdaat", device type irda
; -----------------------------------------------------------------------------
; OBEX for infrared
;    Connection "irdaobex", device type irda.
; ============================================================= Bluetooth =====
; Nokia protocol with serial device set in BT stack (WidComm, other) from
; adequate service and Nokia 6210
;    Connection "fbusblue", device type serial
; Nokia protocol with serial device set in BT stack (WidComm, other) from

4 of 6 08/03/2016 12:42
Gammu ilu Inu Imu: Konfigurasi Final Gammu pada Win 7 atau XP to he... http://my-name-is-adi.blogspot.co.id/2014/11/konfigurasi-final-gammu-...

; adequate service and other Nokia models


;    Connection "phonetblue", device type serial
; -----------------------------------------------------------------------------
; Nokia protocol for Bluetooth stack with Nokia 6210
;    Connection "bluerffbus", device type BT
; Nokia protocol for Bluetooth stack with DCT4 Nokia models, which don't inform
; about services correctly (6310, 6310i with firmware lower than 5.50, 8910,..)
;    Connection "bluerfphonet", device type BT
; Nokia protocol for Bluetooth stack with other DCT4 Nokia models
;    Connection "bluephonet", device type BT
; -----------------------------------------------------------------------------
; AT commands for Bluetooth stack and 6210 / DCT4 Nokia models, which don't
; inform about BT services correctly (6310, 6310i with firmware lower
; than 5.50, 8910,..)
;    Connection "bluerfat", device type BT
; AT commands for Bluetooth stack with other phones (Siemens, other Nokia,etc.)
;    Connection "blueat", device type BT
; -----------------------------------------------------------------------------
; OBEX for Bluetooth stack with DCT4 Nokia models, which don't inform about
; BT services correctly (6310, 6310i with firmware lower than 5.50, 8910,...)
;    Connection "bluerfobex", device type BT
; OBEX for Bluetooth stack with other phones (Siemens, other Nokia, etc.)
;    Connection "blueobex", device type BT.
; -----------------------------------------------------------------------------
;    Connection "bluerfgnapbus", device type BT, model "gnap"
;    Connection "irdagnapbus", device type irda, model "gnap"

; Step2. According to device type from Step1 and used OS set Port parameter

; -----------------------------------------------------------------------------
; Port type | "Port" parameter in Windows/DOS | "Port" parameter in Linux/Unix
; ----------|---------------------------------|--------------------------------
; serial    | "com*:"                         | "/dev/ttyS*"
;           | (example "com1:")               | (example "/dev/ttyS1")
;           |                                 | or "/dev/tts/**" (with DevFS)
;           |                                 | virtual serial ports like
;           |                                 | "/dev/ircomm*" or "/dev/rfcomm*"
; ----------|---------------------------------|--------------------------------
; irda      | ignored (can be empty)          | ignored (can be empty)
; ----------|---------------------------------|--------------------------------
; BT        | Bluetooth device address (example "00:11:22:33:44:55").
;           | Optionally you can also include channel after slash
;           | (example "00:11:22:33:44:55/12"). Can be also empty.
; ----------|---------------------------------|--------------------------------
; dku2      | ignored (can be empty)          | /dev/ttyUSB* or /dev/ttyACM*
; ----------|---------------------------------|--------------------------------
; dku5      | ignored (can be empty)          | connection with it not possible
; ----------|---------------------------------|--------------------------------
; usb       | connection with it not possible | "/dev/ttyUSB*"

; Step3. Set other config parameters

; -----------------------------------------------------------------------------
; Parameter name  | Description
; ----------------|------------------------------------------------------------
; Model           | Should not be used unless you have a good reason to do so.
;                 | If Gammu doesn't recognize your phone model, put it here.
;                 | Example values: "6110", "6150", "6210", "8210"
; SynchronizeTime | if you want to set time from computer to phone during
;                 | starting connection. Do not rather use this option when
;                 | when to reset phone during connection (in some phones need
;                 | to set time again after restart)
; GammuLoc        | name of localisation file
; StartInfo       | this option allow to set, that you want (setting "yes")
;                 | to see message on the phone screen or phone should enable
;                 | light for a moment during starting connection. Phone
;                 | WON'T beep during starting connection with this option.
; GammuCoding     | forces using specified codepage (in win32 - for example
;                 | "1250" will force CP1250) or UTF8 (in Linux - "utf8")
; ----------------|------------------------------------------------------------
; Logfile         | Use, when want to have logfile from communication.
; Logformat       | What debug info and format should be used:
;                 |   "nothing" - no debug level (default)
;                 |   "text"    - transmission dump in text format
;                 |   "textall" - all possible info in text format
;                 |   "errors"  - errors in text format

5 of 6 08/03/2016 12:42
Gammu ilu Inu Imu: Konfigurasi Final Gammu pada Win 7 atau XP to he... http://my-name-is-adi.blogspot.co.id/2014/11/konfigurasi-final-gammu-...

;                 |   "binary"  - transmission dump in binary format


; ----------------|------------------------------------------------------------
; Features        | Custom features for phone. This can be used as override
;                 | when values coded in common/gsmphones.c are bad or
;                 | missing. Consult include/gammu-info.h for possible values
;                 | (all Feature values without leading F_ prefix).
;                 | Please report correct values to Gammu authors.
; ----------------|------------------------------------------------------------
; Use_Locking     | under Unix/Linux use "yes", if want to lock used device
;                 | to prevent using it by other applications. In win32 ignored

; vim: et ts=4 sw=4 sts=4 tw=78 spell spelllang=en_us

Diposkan oleh Adi Array di 06.06

+1   Rekomendasikan ini di Google

1 komentar:

Loechas 7 Maret 2015 07.29

error 1053, sdh coba kedua trik diatas, tapi tetep error.

Balas

Beri komentar sebagai:

Publikasikan Beri tahu saya

Posting Lebih Baru Beranda

Langganan: Poskan Komentar (Atom)

Daftar Blog Saya

Template Simple. Diberdayakan oleh Blogger.

6 of 6 08/03/2016 12:42

Anda mungkin juga menyukai