Percobaan Setting Gammu Menggunakan Modem Wavecom Fastrack M1206B

OS yang saya gunakan pada percobaan ini adalah Windows XP SP2. Sedangkan konfigurasi PC saya adalah sbb: – Prosesor: Intel Pentium E5200 Dual Core – Memori(RAM): 2GB PC 6400 Pada awalnya saya mencoba menggunakan Gammu versi terbaru (stable version) saat ini, yaitu 1.27 for Windows. Untuk perintah-perintah seperti: –identity, –getallsms Gammu 1.27 berjalan lancar tanpa muncul error. Percobaan saya lanjutkan dengan mencoba perintah –getsecuritystatus, untuk perintah ini Gammu 1.27 selalu menampilan pesan error yang kira-kira bunyinya seperti ini: ‘cannot get security status’. Kemudian saya juga mencoba melakukan perintah kirim sms yaitu : c:\Gammu127\bin\gammu.exe -c c:\Gammu127\bin\smsdrc –sendsms TEXT No_Hp_Tujuan, akan tetapi perintah kirim sms selalu gagal, dan muncul error debug Windows untuk exe, ketika pada step terakhir saya menekan Tombol Ctrl-Z dan Enter. Untuk percobaan terakhir saya mencoba menjadikan Gammu 1.27 berjalan sebagai service di Windows, yaitu dengan perintah: c:\Gammu127\bin\gammu-smsd.exe -c c:\Gammu127\bin\smsdrc -n simpati -i berhasil terinstall, tapi ketika menjalankannya muncul error lagi kira-kira ‘not a valid win32 application’ Akhirnya saya coba turunkan versi Gammu yang saya coba, yaitu dengan menggunakan Gammu versi 1.26.93 for windows. Semua perintah-perintah di atas berhasil saya lakukan tanpa memunculkan error, kecuali untuk perintah –getsecuritystatus. Kemudian saya mencoba membuat Gammu 1.26.93 sebagai service, berkali-kali gagal start, ternyata setelah dilihat di log, terdapat error ‘cannot get security status’. Setelah mencoba berbagai cara saya menyimpulkan bahwa untuk modem Wavecom Fastrack M1206B, gammu tidak dapat memperoleh security status layaknya sebuah modem HP. Untuk mengatasi hal tersebut, lakukan langkah berikut untuk mengubah setting smsdrc agar service dapat dijalankan tanpa error. Cari kata-kata di bawah ini : # Phone communication settings #checksecurity = 1 nah, ubah baris #checksecurity = 1 menjadi checksecurity = 0 kemudian coba start lagi Gammu service Anda, harusnya service akan berhasil dijalankan dan tidak muncul error ‘cannot get security status’. di log. Setting file smsdrc saya selengkapnya adalah sbb: # 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 = COM2 #model = 6110 connection = at #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 = MYSQL # PIN for SIM card PIN = 1234 # File (or stderr, syslog, eventlog) where information will be logged logfile = C:\Gammu126\log\smsdlog # Amount of information being logged, each bit mean one level debuglevel = 1 # Configuration for using more phones on same database phoneid = simpati # 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 = 0 #resetfrequency = 0 # Delivery report configuration #deliveryreport = no #deliveryreportdelay = 10 # Ignoring broken SMSC #skipsmscnumber = + # Database backends congfiguration user = root password = pc = localhost # pc can also contain port or socket path after colon (eg. localhost:/path/to/socket) database = smsd # DBI configuration driver = sqlite # 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 Semoga artikel ini membantu untuk teman-teman yang ingin mencoba bermain-main dengan Gammu dan modem Wavecom.