Solusi SMS Gateway Gammu Dengan Modem Wavecom Fastrack

Selamat malam semuanya :D,,,
Kali ini aku coba sharing mengenai bagaimana agar sukses untuk membuat sistem / aplikasi SMS Gateway menggunakan modem Wavecom Fastrack dengan Gammu sebagai bridge nya. Kenapa saya membahas ini lebih lanjut? karena kebanyakan (termasuk saya) developer pasti pernah kesulitan saat melakukan konfigurasi Gammu dengan Mode Wavecom Fastrack ini. Entah itu masalahnya tidak bisa kirim SMS ataupun terima SMS.

Tadi saya juga sempat kebingungan kembali karena dapat project pembuatan SMS Gateway dengan Modem Wavecom ini, akhirnya setelah otak-atik sana sini, Alhamdulillah akhirnya bisa sukses :).
Mungkin ini memang bukan solusi utama, namun yang pasti solusi ini insyaAllah membantu :). Agar bisa membuat SMS Gateway dengan Modem ini, saya anjurkan pakai Gammu dengan Versi 3 keatas. Karena saya sudah coba dengan versi 3 kebawah sangat kesulitan, dalam arti tidak semua Sistem Operasi sukses dengan modem ini. Tapi setelah saya download Gammu yang terbaru (v3.1) syukur Alhamdulillah langsung lancar dan berhasil membuat SMS Gateway Gammu dengan Modem Wavecom Fastrack ini.

NB :ada beberapa hal penting yang perlu kalian ketahui untuk melakukan konfigurasi file smsdrc. Di file ini biasanya kita kan menggunakan SMSD Servicenya yaitu MYSQL, nah kalo versi 3 keatas ini diganti cukup dengan SQL saja.Juga pada point DBI Configuration nya, yang biasanya menggunakan sqlite, ini diganti dengan native_mysql.

# 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]
port = com16:
connection = at115200
#model = 6110
#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
# 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 = sql # pada versi 3 kaetas yang semula MYSQL dirubah jadi sql
# 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 = root
pc = localhost
# pc can also contain port or socket path after colon (eg. localhost:/path/to/socket)
database = smsd
# DBI configuration
driver = native_mysql # pada versi 3 keatas yang semula sqlite dirubah jadi native_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

Oke, sekian penjelasan singkat dariku semoga bermanfaat :mrgreen:

6 thoughts on “Solusi SMS Gateway Gammu Dengan Modem Wavecom Fastrack

  1. pa sy mau tanya ni kalo untuk konfigurasi driver modemnya gimana ya, soalnya sy coba berkali2 menggunakan “wvdialconf” ga ke ditek mulu, jadi sy ga tau ntu modem ke detek’a di port yang mana.hasilnya begini terus.

    administrator@server-data:~$ sudo wvdialconf
    Editing `/etc/wvdial.conf’.
    Scanning your serial ports for a modem.

    ttyS0: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
    ttyS0: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud
    ttyS0: ATQ0 V1 E1 — and failed too at 115200, giving up.
    ttyS1: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
    ttyS1: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud
    ttyS1: ATQ0 V1 E1 — and failed too at 115200, giving up.
    Modem Port Scan: S2 S3 S4 S5 S6 S7 S8 S9
    Modem Port Scan: S10 S11 S12 S13 S14 S15 S16 S17
    Modem Port Scan: S18 S19 S20 S21 S22 S23 S24 S25
    Modem Port Scan: S26 S27 S28 S29 S30 S31
    WvModem: Cannot set information for serial port.
    ttyUSB0: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
    ttyUSB0: ATQ0 V1 E1 —
    ttyUSB0: failed with 9600 baud, next try: 115200 baud
    ttyUSB0: ATQ0 V1 E1 — and failed too at 115200, giving up.

    Sorry, no modem was detected! Is it in use by another program?
    Did you configure it properly with setserial?

    Please read the FAQ at http://open.nit.ca/wiki/?WvDial

    If you still have problems, send mail to .

    mohon pencerahanya ya pa.

Leave a Reply