weew dah lama neeh mas rudi kita gak ketemu!!, dah ganti blog rupanya keren juga blognya bisa masuk ke google btw masih mau khan ajarin aku sms gateway butuh teorinya nih buat bikin Bab 2 hehehehe
Hi Fandy... SMS Gateway untuk koneksi menggunakan device handphone / modem atau yang SMS Premium ? Kalo untuk SMS Gateway yang Premium aku pake kannel. Enakan pake kannel kalo untuk buat Bab 2 dan seterusnya hehe karena user guidenya ada di webnya ;)
pake handphone mas, rencanana seeh emang pake kannel tapi hasil googling sana sini katanya hpnya harus suport at command mas!! eh klo nokia seri 3310 atw 3315 bisa gak mas jadi gateway modemnya pake kabelnya smf serial itu yah tapi keren sampean ampe2namae keluar di bali wae iru yang bikin r linux entitie pokoknya tambah top deh
Ga pernah punya 3310 / 3315 hehe, tapi ga mending pake GSM Modem aja biar kamu gampang. atau gunain gnokii, gammu aja fan. spt tutorial ini dengan hp 3310 ada yg coba bisa tuh [googling jg] :)
mas sy sudah menjalankan semua prosedur pada faq playsms tapi kok masih gagal yah yah menginstal playsms, btw sy pake knoppix4.0 apache,php dan mysql..waktu browse ke http://localhost/~playsms yang keluar shortcut2 phpnya saja..bisa sy dikasih petunjuk mas ? thx
aku dah install pake nokia 331o mas karena kondisi keuangan yang pas2an, dan dah kebaca koneksi aq pake kabel serial smf cuman khan gnokiinya aq install lewat apt-get nya debian mas. nah untuk liat service modul gatewaynya dimana seeh klo lewat apt?? cozz di playsmsnya bilang modul gateway not found
satu lagi ketinggalan gamu itu bisa pake web aplikasi kayak gnokii playsms gak seh???
To iwanhai , opsi di apache DirectoryIndex dirubah posisi jadi kayak gini kira2
DirectoryIndex index.php index.htm index.html
To fandy, dpkg -L gnokii jangan lupa install gnokii smsd lho!! dah cek script smsd_checker sesuai dg posisi dr smsd nya (pathnya) gammu / gnokii / kannel bisa pake web aplikasi utk mudahin penggunaannya tentu saja
om klo pake cdma sanex 7080 drivernya sih pl2302 gimana caranya ya
Tuk Lutfi: di gnokiirc nya setting port = /dev/ttyUSB0 (ganti sesuai kernel kamu detek dimana bisa jadi ttyUSB1 dstnya) model = AT
initlength = default
connection = serial
use_locking = no
mas...
tau lokasi file "libmysql.la" di knoppix gak??
ak kebingungan nich mas..
padahal mysqlku normal semua..
klo pny arikel2 boleh dikirim ke mailku mas..
thanks atas pencerahanya..
salam hormat
mapays
Kenapa script yang saya temui semuanya menggunakan Linux? apa tidak ada yang menggunakan windows?
Terima kasih
Salam,
eka Jo
mapays: Kalo ingin dukungan mysql utk gnokiinya libmysql.la dibuat saat membuat smsd nya dengan perintah make libmysql.la (kalo tutorial saya based pada file = makanya file jgn lupa edit Makefilenya)
Eka Jo: karena emang saya pakainya linux, jadi yg saya share sesuai yg saya pakai :)
mas, kalo mau ngedit makefilenya itu terletak dimana yaa??
saya pake knoppix yang di remastering sama dian rakyat,
disitu ada gambas, gnokii, dsb..
berarti pada umumnya installan gnokii itu terletak dimana yaa?
terima kasih atas replynya..
mas punya artikel lengkap yg bisa saya donlod gak?
saya dah ngunjungi URL kesana kemari, hampir semuanya sama, masih umum..
jadi saya masih bingung mas..
boleh donk saya download aplikasi yg mas buat?tolong linknya donk..
makasih
" To iwanhai , opsi di apache DirectoryIndex dirubah posisi jadi kayak gini kira2 DirectoryIndex index.php index.htm index.html"
...mas ini editnya di httpd.conf yah ??
Some Body Help Me??
salam hormat,
mas, ak dah ada kemajuan berkat saran mas...
tapi msh ada problem yg hrs di pecahkan mas...
seperti ini,..........
root@mapayshost:/home/mapays/gnokii-0.6.12/smsd# make libmysql.la
make: mysql_config: Command not found
/bin/sh ../libtool --mode=compile gcc -o mysql.lo -g -O2 -I../include -I/usr/X11R6/include -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include \
-I../include -c mysql.c
gcc -g -O2 -I../include -I/usr/X11R6/include -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I../include -c mysql.c -fPIC -DPIC -o .libs/mysql.o
mysql.c:35:19: mysql.h: No such file or directory
mysql.c:40: error: syntax error before "mysqlIn"
mysql.c:40: warning: data definition has no type or storage class
mysql.c:41: error: syntax error before "mysqlOut"
mysql.c:41: warning: data definition has no type or storage class
mysql.c: In function `DB_Look':
mysql.c:137: error: `MYSQL_RES' undeclared (first use in this function)
mysql.c:137: error: (Each undeclared identifier is reported only once
mysql.c:137: error: for each function it appears in.)
mysql.c:137: error: `res1' undeclared (first use in this function)
mysql.c:138: error: `MYSQL_ROW' undeclared (first use in this function)
mysql.c:138: error: syntax error before "row"
mysql.c:172: error: `row' undeclared (first use in this function)
make: *** [mysql.lo] Error 1
root@mapayshost:/home/mapays/gnokii-0.6.12/smsd#................
trs ak coba pake alternatif lain (tak install ulang) ..
mapays@mapayshost:/$ smsd
dlopen error: /usr/local/lib/smsd/libpq.so: cannot open shared object file: No such file or directory!
Cannot load database module pq in directory /usr/local/lib/smsd!
mapays@mapayshost:/$ smsd -m mysql -u root -d sms
dlopen error: /usr/local/lib/smsd/libmysql.so: cannot open shared object file: No such file or directory!
Cannot load database module mysql in directory /usr/local/lib/smsd!
ada yg nyaranin, suruh nginstall gnokii-devel..
hasilnya...
root@mapays@localhost:/home/mapays/gnokii/rpm# alien -i gnokii-devel-0.6.0-1.i386.rpm
dpkg: status database area is locked by another process
itu sebenernya apanya sich mas??
bikin pusying nih..
thanks for reply..
mas untuk menjalankan crond gimana caranya ? thx
" Some Body Help Me?? "
BelUM AdA tANggApAN??
lagi banyak kegiatan ya mas?
sampai gak bisa post...
oke dech, aku akan selalu tengok..............................
to mapays :
sy sekedar share sy juga pernah nemuin error kyk diatas, kyknya masalhnya cuma di mysql-dev nya coba di install lg u/ mysql-dev nya..btw sy sudah berhasil implementasi gnokii-mysql dan gnokii-playsms di distro knoppix(debian)..fyi n gutlak
ini lho mas errornya :
root@localhost:/# smsd
dlopen error: /usr/local/lib/smsd/libpq.so: cannot open shared object file: No such file or directory!
Cannot load database module pq in directory /usr/local/lib/smsd!
root@localhost:/# ln -s /usr/share/smsd /usr/lib/smsd
ln: `/usr/lib/smsd': File exists
root@localhost:/#
setelah saya ./configure, ini hasil dari make && make install dari gnokii-0-6-12 :
make[1]: Leaving directory `/home/mapays/gnokii-0.6.12/intl'
make[1]: Entering directory `/home/mapays/gnokii-0.6.12/include'
/usr/bin/install -c -d /usr/local/include/gnokii
done
make[1]: Leaving directory `/home/mapays/gnokii-0.6.12/include'
done
#####################################################
###
### Please make sure to have /usr/local/lib in
### the system defaults or in /etc/ld.so.conf and run
### /sbin/ldconfig at some time. Otherwise gnokii may
### not work.
###
#####################################################
root@localhost:/home/mapays/gnokii-0.6.12#
Makefile yang saya ubah:
#
# Makefile for the smsd.
#
# Copyright (C) 1999 Hugh Blemings & Pavel JanÃk ml.
# 1999-2005 Jan Derfinak
# 2000 Karel Zak
# $Id: Makefile,v 1.34 2006/02/27 20:55:59 pkot Exp $
#
#GLIBCFLAGS = glib-config --cflags
#GLIBLDLIBS = glib-config --libs
# Comment out above lines and uncomment below lines if you want compile smsd
# with glib2 instead of glib1.
#
GLIBCFLAGS = pkg-config --cflags glib-2.0
GLIBLDLIBS = pkg-config --libs glib-2.0
TOPDIR=..
include $(TOPDIR)/Makefile.global
SMSD_MAN=man/smsd.8
CFLAGS += -DMODULES_DIR=\"${libdir}/smsd\" $(PTHREAD_CFLAGS) \
$(shell $(GLIBCFLAGS))
LDLIBS += $(PTHREAD_LIBS) \
$(shell $(GLIBLDLIBS))
LDLIBS += -rdynamic $(TOPDIR)/common/libgnokii.la -ldl
# Some systems, eg. FreeBSD don't have libdl. Use this:
# LDLIBS += -s -rdynamic -L$(TOPDIR)/common -lgnokii -pthread -L../getopt -lgetopt
OBJS = smsd.lo \
lowlevel.lo
DB_OBJS = mysql.lo
# A list of database modules to build.
# FIXME: detect which ones to build in configure
#DB_LIBS = libfile.la libpq.la libmysql.la
DB_LIBS := libmysql.la
all: smsd
smsd: $(OBJS) $(TOPDIR)/common/libgnokii.la $(DB_LIBS)
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
### DB Modules
# PostgreSQL support
pq.lo: smsd.h pq.c
$(LIBTOOL) --mode=compile $(CC) -o pq.lo $(CFLAGS) $(CPPFLAGS) \
-I../include -I$(shell pg_config --includedir) -c pq.c
libpq.la: pq.lo
$(LIBTOOL) --mode=link $(CC) -o libpq.la pq.lo \
$(shell $(GLIBLDLIBS)) -L$(shell pg_config --libdir) -lpq \
-export-dynamic -avoid-version -rpath ${libdir}/smsd
# MySQL support
mysql.lo: smsd.h mysql.c
$(LIBTOOL) --mode=compile $(CC) -o mysql.lo $(CFLAGS) $(CPPFLAGS) \
-I../include $(shell mysql_config --cflags) -c mysql.c
libmysql.la: mysql.lo
$(LIBTOOL) --mode=link $(CC) -o libmysql.la mysql.lo \
$(shell $(GLIBLDLIBS)) $(shell mysql_config --libs) \
-export-dynamic -avoid-version -rpath ${libdir}/smsd
# File support
file.lo: smsd.h file.c
$(LIBTOOL) --mode=compile $(CC) -o file.lo $(CFLAGS) $(CPPFLAGS) \
-I../include -c file.c
libfile.la: file.lo
$(LIBTOOL) --mode=link $(CC) -o libfile.la file.lo \
$(shell $(GLIBLDLIBS)) \
-export-dynamic -avoid-version -rpath ${libdir}/smsd
### End of DB Modules
$(TOPDIR)/common/libgnokii.la:
$(MAKE) -C $(TOPDIR)/common libgnokii.la
clean:
$(LIBTOOL) --mode=clean $(RM) smsd $(DB_LIBS) $(OBJS) $(DB_OBJS)
$(RM) *~ depend core*
install: all
$(INSTALL) -d $(DESTDIR)$(sbindir)
$(LIBTOOL) --mode=install $(INSTALL) -m 755 smsd $(DESTDIR)$(sbindir)
$(INSTALL) -d $(DESTDIR)${libdir}/smsd
for f in $(DB_LIBS) ; do \
$(LIBTOOL) --mode=install $(INSTALL) $$f $(DESTDIR)${libdir}/smsd ; \
done
$(LIBTOOL) --mode=finish ${libdir}/smsd
$(INSTALL) -d $(DESTDIR)$(man8dir)
$(INSTALL_DATA) $(SMSD_MAN) $(DESTDIR)$(man8dir)
depend dep:
$(CC) $(CFLAGS) -MM *.c >depend
ifeq (depend,$(wildcard depend))
include depend
endif
.PHONY: all install clean dep depend
terus saya make, hasilnya :
root@localhost:/home/mapays/gnokii-0.6.12/smsd# make
/bin/sh ../libtool --mode=compile gcc -g -O2 -I../include -I/usr/X11R6/include -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -o smsd.lo -c smsd.c
gcc -g -O2 -I../include -I/usr/X11R6/include -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -c smsd.c -fPIC -DPIC -o .libs/smsd.o
gcc -g -O2 -I../include -I/usr/X11R6/include -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -c smsd.c -o smsd.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -g -O2 -I../include -I/usr/X11R6/include -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -o lowlevel.lo -c lowlevel.c
gcc -g -O2 -I../include -I/usr/X11R6/include -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -c lowlevel.c -fPIC -DPIC -o .libs/lowlevel.o
gcc -g -O2 -I../include -I/usr/X11R6/include -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -c lowlevel.c -o lowlevel.o >/dev/null 2>&1
make: mysql_config: Command not found
/bin/sh ../libtool --mode=compile gcc -o mysql.lo -g -O2 -I../include -I/usr/X11R6/include -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include \
-I../include -c mysql.c
gcc -g -O2 -I../include -I/usr/X11R6/include -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I../include -c mysql.c -fPIC -DPIC -o .libs/mysql.o
mysql.c:35:19: mysql.h: No such file or directory
mysql.c:40: error: syntax error before "mysqlIn"
mysql.c:40: warning: data definition has no type or storage class
mysql.c:41: error: syntax error before "mysqlOut"
mysql.c:41: warning: data definition has no type or storage class
mysql.c: In function `DB_Look':
mysql.c:137: error: `MYSQL_RES' undeclared (first use in this function)
mysql.c:137: error: (Each undeclared identifier is reported only once
mysql.c:137: error: for each function it appears in.)
mysql.c:137: error: `res1' undeclared (first use in this function)
mysql.c:138: error: `MYSQL_ROW' undeclared (first use in this function)
mysql.c:138: error: syntax error before "row"
mysql.c:172: error: `row' undeclared (first use in this function)
make: *** [mysql.lo] Error 1
root@localhost:/home/mapays/gnokii-0.6.12/smsd#
di make dan make install hasilnya sama saja,
kira-kira saya ada kesalahana dimana yaa??
Mohon bantuanya,
Terima kasih..
@iwanhai: crond saya ada tutorialnya coba cari di web saya yg berjudul "Menggunakan Cron" dan "Crontab di psyBNC" tapi kalo mau buat utk service sms gateway cek mati/ga? sebaiknya pake daemontools (= setiap ditemui suatu service yg kita definisiin drop dia akan bantu up in otomatis). Nanti saya bantu tutorialnya soal ini.
@maypays: mysql devel nya dah diinstall? juga di karena ga pakai postgresql di Makefilenya benerin ( waktu compile ada error Cannot load database module pq dan yang mysql errornya : mysql.h: No such file or directory). Websiteku blom sempat aku benerin biar enak buat komen, juga aku minta maaf kalo lama balas.
saya udah nginstall mysql-devel mas..
itu juga saran dari pavel janik si pembuat gnokii.
katanya sih pake mysql-devel.
saya dah install dan di service jalan.
jadi sebenernya urutan installasi yang bener bikin sms gateway apa mas?
mysql dulu, terus apa?
thanks so much!
GBU
mas gimana memulai bikin cron ? soalnya gnokii-playsms sy udah jadi tapi sering harus refesh manual daemonnya..sy tertarik memakai cron yg bisa aktif tiap menit seperti punya mas rudi diatas tp ga tahu cr bikinnya.. sy dishare yah mas untuk editing file cron ? apa mungkin cron dilakukan kurang dari 1 menit ?? setiap 30 detik misalnya ?? thx mas
@mapays: krn mapays pengen gabungin dg mysql dan dikarenakan aplikasi(gnokii) butuh library dr mysql maka urutannya mapays mesti install mysql beserta devel nya terlebih dahulu baru proses compilasi dr aplikasi bisa dilaksanakan. Kurang lebih demikian mapays...GBU 2 :)
@iwanhai sebaiknya ga makai cron kalo mau manual idupin daemon krn cron = aplikasi utk skedul(walau bisa dipake jika mau). Jalankan crontab -e pada user yg nyalain daemon yg mati2an lalu isi nya ikutin dr tutorial saya yg soal cron ada dan jelas khoq :)....
mas rudi, saya sudah install mysql-devel nya.saya instal bukan dari source mysql.saya lngsung download sendiri.
mas tahu gak gimana cara buat config_mysql di PATH ku?
ak masih bingugn mas..
thanks 4 attention!
alhamdullilah..
SMSD ku sudah terinstall dengan baik..
tapi ak minta tolong lagi mas...
Wekekeke....
ini erroku..
mungkin mas tahu..
[root@localhost mapays]# smsd -m mysql -u root -d sms
bash: smsd: command not found
itu apanya mas??
terima kasih pencerahanya..
salam hormat.
maaf mas baru nongol lagi kemaren ada project jadi tak tinggal dulu,btw karena server ku mati kemaren, jadi sekarang pake fedora core 7 aq dah install gnokii dengan perintah :
yum install gnokii gnokii-smsd gnokii-smsd-mysql
aqu coba cari file smsdnya masih tidak ada, smsd_checker dah aq jalanin dia diem aja gak ngerespon sekali lagi mohon bantuannya mas, waduh gak nyangka blognya jadi rame nih
tambahan lagi mas waktu aq jalanin di console
#~gnokii -savesms
nah di sini si gnokii dah jalan cuman di play smsnya gak ketemu file smsdnya
@mapays: berarti smsd nya tidak terdapat dalam sistem PATH kamu jdnya terdapat error demikian
@fandy: smsd tidak ada berarti sama casenya dengan mapays. dah lama aku ga maenan gnokii terutama utk OS baru, sekarang pake kannel.
Mas mas,,,
saya udah berhasil nginstal gnokii nya,,,
tp waktu di hubungkan sm hape,,,koq ga bisa ndetect,,,saya pke hape nokia 3100 dg kabel dku-5...
waktu di kasi perintah dmesg,,kabelnya ke detect,,,tp waktu di gnokii --identify,,ga mo ndetect hape nya,,,kira2 knp ya,,,
bls gpl
makasih...
malam mas,
maaf lama gak OL,saya masih sibuk ngurusin gateway.
syukur semuanya berjalan lancar sampai smsdnya dan autoreply.
tapi sayangnya autoreplynya pake lama kdang harus direstart baru mau autoreply, kira2 apanya ya mas?
terima kasih banyak.
@Chy: settingan port = /dev/ttyUSB0 (misalnya) dah benar? @mapays: pake playsms ya mas? perlu di cek di log dr gnokii dan atau pelajari script auto replynya.
Hallo mass .. sepeti yang lain saya suda ikut petunjuk istallan dari mas ..tapi
dan dah jalam playsmsnya tapi ..
ko reportnya selalu pending..
test pakai command sendsms berahasil..
tapi klo jalankan playsmsd_start muncul error "NO selection gateway module available - pease ..." Kira kira salahnya dimana yah..?
bos....
sepertinya saya pindah pake gammu lho...
utk gnokii, saya dah bisa sampi autoreply segala...
cuma kenapa looping terus yaa??
dia gak mau berhenti, ak harus kill -9 processnya...
apakah smsd emang Looping??
jalan keluar gimana bos??
terimakasih saranya...
bagi yang kesulitan tentang gnokii bisa kirim email ke Mapays@gmail.com
tapi saya hanya bisa sampe autoreply..
mungkin saya pernah mengalami error tentang gnokii yang temen2 semua temui...
trims!!
mapays
kok gak ada orang sich??
biasanya rame?
mas rudy pasti lagi cibuk?
oia mas, minta donk aplikasi playsms yang mas buat..
btw, saya juga lagi ngoprek playsms..
tapi kok masih bingung ya untuk source phpnya,...
bisa di post disini mas rudy?
makasih
@fandy: smsd tidak ada berarti sama casenya dengan mapays
nah itu dia mas aq dah cari2 dimana tuh file smsdnya ketemunya malah gnokii_smsd arrgh.... pusing !!!!
@mapays yang bingung dimana sourcenya siapa tau aq bisa bantu :p
wah, dah jalan mas dan berhasil..
tapi saya minta penjelasana tentang :
"7. Jalankan crond untuk menjalankan daemon.php setiap menitnya
Contoh konfigurasi crond nya adalah sebagai berikut:
* * * * * lynx -dump http://localhost/~playsms/daemon.php 2> /dev/null
*/16 * * * * /usr/local/bin/smsd_start 2> /dev/null
"
terus saya minta code untuk php auto reply beserta databasenya, terus kode php utk but link, jalanin smsd gmn?
makasih bayak ya mas, dah meu berbagi ilmu!
god luck!
wah, dah jalan mas dan berhasil..
tapi saya minta penjelasana tentang :
"7. Jalankan crond untuk menjalankan daemon.php setiap menitnya
Contoh konfigurasi crond nya adalah sebagai berikut:
* * * * * lynx -dump http://localhost/~playsms/daemon.php 2> /dev/null
*/16 * * * * /usr/local/bin/smsd_start 2> /dev/null
"
terus saya minta code untuk php auto reply beserta databasenya, terus kode php utk but link, jalanin smsd gmn?
makasih bayak ya mas, dah meu berbagi ilmu!
god luck!
wah, dah jalan mas dan berhasil..
tapi saya minta penjelasana tentang :
"7. Jalankan crond untuk menjalankan daemon.php setiap menitnya
Contoh konfigurasi crond nya adalah sebagai berikut:
* * * * * lynx -dump http://localhost/~playsms/daemon.php 2> /dev/null
*/16 * * * * /usr/local/bin/smsd_start 2> /dev/null
"
terus saya minta code untuk php auto reply beserta databasenya, terus kode php utk but link, jalanin smsd gmn?
makasih bayak ya mas, dah meu berbagi ilmu!
god luck!
wah, dah jalan mas dan berhasil..
tapi saya minta penjelasana tentang :
"7. Jalankan crond untuk menjalankan daemon.php setiap menitnya
Contoh konfigurasi crond nya adalah sebagai berikut:
* * * * * lynx -dump http://localhost/~playsms/daemon.php 2> /dev/null
*/16 * * * * /usr/local/bin/smsd_start 2> /dev/null
"
terus saya minta code untuk php auto reply beserta databasenya, terus kode php utk but link, jalanin smsd gmn?
makasih bayak ya mas, dah meu berbagi ilmu!
god luck!
wah, dah jalan mas dan berhasil..
tapi saya minta penjelasana tentang :
"7. Jalankan crond untuk menjalankan daemon.php setiap menitnya
Contoh konfigurasi crond nya adalah sebagai berikut:
* * * * * lynx -dump http://localhost/~playsms/daemon.php 2> /dev/null
*/16 * * * * /usr/local/bin/smsd_start 2> /dev/null
"
terus saya minta code untuk php auto reply beserta databasenya, terus kode php utk but link, jalanin smsd gmn?
makasih bayak ya mas, dah meu berbagi ilmu!
god luck!
wah, dah jalan mas dan berhasil..
tapi saya minta penjelasana tentang :
"7. Jalankan crond untuk menjalankan daemon.php setiap menitnya
Contoh konfigurasi crond nya adalah sebagai berikut:
* * * * * lynx -dump http://localhost/~playsms/daemon.php 2> /dev/null
*/16 * * * * /usr/local/bin/smsd_start 2> /dev/null
"
terus saya minta code untuk php auto reply beserta databasenya, terus kode php utk but link, jalanin smsd gmn?
makasih bayak ya mas, dah meu berbagi ilmu!
god luck!
wah, dah jalan mas dan berhasil..
tapi saya minta penjelasana tentang :
"7. Jalankan crond untuk menjalankan daemon.php setiap menitnya
Contoh konfigurasi crond nya adalah sebagai berikut:
* * * * * lynx -dump http://localhost/~playsms/daemon.php 2> /dev/null
*/16 * * * * /usr/local/bin/smsd_start 2> /dev/null
"
terus saya minta code untuk php auto reply beserta databasenya, terus kode php utk but link, jalanin smsd gmn?
makasih bayak ya mas, dah meu berbagi ilmu!
god luck!
mas ko saya rubah make libmysql.la keluar error
padahal sudah terinstall mysql dan devel nya apa yg harus saya jalanin selain mysqld start
#
# Makefile for the smsd.
#
# Copyright (C) 1999 Hugh Blemings & Pavel JanÃk ml.
# 1999-2005 Jan Derfinak
# 2000 Karel Zak
# $Id: Makefile,v 1.39 2007/07/09 16:46:15 pkot Exp $
#
#GLIBCFLAGS = glib-config --cflags
#GLIBLDLIBS = glib-config --libs
# Comment out above lines and uncomment below lines if you want compile smsd
# with glib2 instead of glib1.
#
GLIBCFLAGS = pkg-config --cflags glib-2.0
GLIBLDLIBS = pkg-config --libs glib-2.0
TOPDIR=..
include $(TOPDIR)/Makefile.global
pkglibdir = ${libdir}/smsd
SMSD_MAN=man/smsd.8
CFLAGS += -DMODULES_DIR=\"${pkglibdir}\" $(PTHREAD_CFLAGS) \
$(shell $(GLIBCFLAGS))
LDLIBS += $(PTHREAD_LIBS) \
$(shell $(GLIBLDLIBS))
LDLIBS += -rdynamic $(TOPDIR)/common/libgnokii.la -ldl
# Some systems, eg. FreeBSD don't have libdl. Use this:
# LDLIBS += -s -rdynamic -L$(TOPDIR)/common -lgnokii -pthread -L../getopt -lgetopt
OBJS = smsd.lo \
lowlevel.lo
#DB_OBJS = pq.lo mysql.lo file.lo
DB_OBJS =mysql.lo
# A list of database modules to build.
# FIXME: detect which ones to build in configure
#DB_LIBS = libfile.la libpq.la libmysql.la
DB_LIBS := libmysql.la
all: smsd
smsd: $(OBJS) $(TOPDIR)/common/libgnokii.la $(DB_LIBS)
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
### DB Modules
utils.lo: utils.h utils.c
$(LIBTOOL) --mode=compile $(CC) -o utils.lo $(CFLAGS) $(CPPFLAGS) \
-I../include -c utils.c
# PostgreSQL support
#pq.lo: smsd.h utils.h pq.c
# $(LIBTOOL) --mode=compile $(CC) -o pq.lo $(CFLAGS) $(CPPFLAGS) \
# -I../include -I$(shell pg_config --includedir) -c pq.c
#libpq.la: pq.lo utils.lo
# $(LIBTOOL) --mode=link $(CC) -o libpq.la pq.lo utils.lo \
# $(shell $(GLIBLDLIBS)) -L$(shell pg_config --libdir) -lpq \
# -export-dynamic -avoid-version -rpath ${pkglibdir}
# MySQL support
mysql.lo: smsd.h utils.h mysql.c
$(LIBTOOL) --mode=compile $(CC) -o mysql.lo $(CFLAGS) $(CPPFLAGS) \
-I../include $(shell mysql_config --cflags) -c mysql.c
libmysql.la: mysql.lo utils.lo
$(LIBTOOL) --mode=link $(CC) -o libmysql.la mysql.lo utils.lo \
$(shell $(GLIBLDLIBS)) $(shell mysql_config --libs) \
-export-dynamic -avoid-version -rpath ${pkglibdir}
# File support
#file.lo: smsd.h utils.h file.c
# $(LIBTOOL) --mode=compile $(CC) -o file.lo $(CFLAGS) $(CPPFLAGS) \
# -I../include -c file.c
#libfile.la: file.lo utils.lo
# $(LIBTOOL) --mode=link $(CC) -o libfile.la file.lo utils.lo \
# $(shell $(GLIBLDLIBS)) \
# -export-dynamic -avoid-version -rpath ${pkglibdir}
#libfile.so: file.c
# $(LIBTOOL) --mode=link $(CC) -shared -o libfile.so $(CFLAGS) file.c -rdynamic \
# $(shell $(GLIBLDLIBS))
### End of DB Modules
$(TOPDIR)/common/libgnokii.la:
$(MAKE) -C $(TOPDIR)/common libgnokii.la
clean:
$(LIBTOOL) --mode=clean $(RM) smsd $(DB_LIBS) $(OBJS) $(DB_OBJS)
$(RM) -r *~ depend core* .libs
install: all
$(INSTALL) -d $(DESTDIR)$(sbindir)
$(LIBTOOL) --mode=install $(INSTALL) -m 755 smsd $(DESTDIR)$(sbindir)
$(INSTALL) -d $(DESTDIR)${pkglibdir}
for f in $(DB_LIBS) ; do \
$(LIBTOOL) --mode=install $(INSTALL) $$f $(DESTDIR)${pkglibdir} ; \
done
$(LIBTOOL) --mode=finish ${pkglibdir}
$(INSTALL) -d $(DESTDIR)$(man8dir)
$(INSTALL_DATA) $(SMSD_MAN) $(DESTDIR)$(man8dir)
depend dep:
$(CC) $(CFLAGS) -MM *.c >depend
ifeq (depend,$(wildcard depend))
include depend
endif
.PHONY: all install clean dep depend
terima kasih sebelumnya
semua file smsdrc atau gammurc ada di file ekstraksi gnokii atau gammu.
coba pake gammu aja buat modul smsgatewanya.
sory lagi sibuk thesis.
semoga berhasil
salam buat mas rudi
HALOOOW...daku ada masalah ney..em,tw ga cr menjalankan konfigurasi GNOKII 0.6.12
free sms gateway for windows, mudah, tinggal select/insert dari/ke database mysql: http://www.ge-software.com/index.php?page=ezsms
mas mau tanya...
aku waktu install gnokii perintah make dapt digunakan..
tapi pas di smsd perintah make tidak bisa dan meke libfile.so tidak bisa...
kenapa yah mas...
tapi begitu aku ketik gnokii --identify keluar error yang baris terakhir tulisannya command error..
aku pake ubuntu 8.04 dan gnokii 0.6.27
oh iya lupa di smsd make install dapet jalan...
thx ya mas atas pencerahannya
Hehe, maaf semua saya baru nongol lagee . bener kata mapays coba gammu. auto reply di gammu bisa via cron / schedule task kalo mau make windows. atau trigger di mysql (namun ga support utk mysql 4) jd solusi yang enak sich di schedule .
kalo cuman tanya terus gak dipraktekin mana mungkin bisa menemukan solusinya??
perjuanganku akhirnya mencapai puncak kepuasan setelah berhasil membuat sms gateway sendiri.
gunakan milling list,berdoa,dan selalu berusaha!
semoga berhasil!
God Luck Mas Rudi!!!
Selamat ya mas. Sukses selalu
slalm nal...
mas q baru mulai beljar sms bwt sms gateway dg gnokii
langkah awal yg hrs saya lkukan pa mas? q bingug.heeee
mksh mas
mas pnya tutorial yang lebih spesifikasi gak. mauna pake kannel
nie gie buat proyek akhir nie mas
bantuin donk massss
makasi
gbu
Makasih mas artikelnya
mas klo pake siemens s35i software buat kabel datanya donload dimana ya? trus kabel datanya yg punyaku rusak skrng susah dah jarang btw klo bikin sendiri ada tutornya ga ? thanks
mas numpang nanya nie.
untuk auto replay pake kannel prosedurnya gmana mass ya..
makasi masss
GBU
mas numpang nanya nie.
untuk auto replay pake kannel prosedurnya gmana mass ya..
makasi masss
GBU
mas, pake OS Windows mang nya gak bisa ya??
kalo membangun sms gateway di linux tu hampir ssama caranya dgn nie ga ya mas?
kalo membangun sms gateway di linux tu hampir ssama caranya dgn nie ga ya mas?