Memang kelihatannya sekarang trend membuat sms gateway sudah bukan jamannya lagi. Namun karena murahnya pulsa sms, aplikasi ini masih tetap menarik untuk digunakan karena cukup efektif dan murah, apalagi adanya Pemilu atau Pilkada yang semakin semarak belakangan ini. Pengunaan SMS untuk kampanye menjadi alat yang praktis bagi para caleg atau calon kepala daerah.
Peralatan yang perlu disediakan : pertama yang jelas sebuah PC, gsm modem(bisa konektornya usb atau serial), sebuah CD Distro Linux(saya pakai Distro Elastix, based Centos 5.2), mengapa pilih ini, karena saya lebih familiar dengan Distro based Redhat dan ditambah sedikit pengetahuan tentang command-2 linux.
Pertama-tama, ya harus install Centos-nya. Saya install di PC Intel Atom yang baru saja saya beli(pernah saya bahas sebelumnya). Setelah selesai install Centos. Test untuk kenalin modemnya, gsm modem(Wavecom Fastrack) yang saya pakai menggunakan konektor serial. Saya pakai program wvdial untuk test pengenalan modem, karena paket ini belum ada ya harus di-install. Saya pilih install paket wvdial lewat internet, karena lebih gampang dan LAN di kantor saya langsung terkoneksi ke internet.
1 | #yum install wvdial |
1 | #wvdialconf /etc/wvdial.conf |
Scanning your serial ports for a modem.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ttyS0: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud ttyS0: ATQ0 V1 E1 — OK ttyS0: ATQ0 V1 E1 Z — OK ttyS0: ATQ0 V1 E1 S0=0 — OK ttyS0: ATQ0 V1 E1 S0=0 &C1 — OK ttyS0: ATQ0 V1 E1 S0=0 &C1 &D2 — OK ttyS0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK ttyS0: Modem Identifier: ATI — WAVECOM MODEM ttyS0: Speed 19200: AT — ttyS0: Speed 19200: AT — ttyS0: Speed 19200: AT — ttyS0: Max speed is 9600; that should be safe. ttyS0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK Port Scan: S2 S3 Found a modem on /dev/ttyS0. Modem configuration written to /etc/wvdial.conf. ttyS0: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" |
Selanjutnya kita install kannel. Kannel adalah sms engine yang akan kita gunakan sebagai sms gateway. Sebenarnya ada beberapa jenis sms gateway, seperti : gnokii, clickatell, sms server tools. Namun saya pilih kannel, karena saya lihat di google banyak yang pakai kannel dan rata-2 sukses.
Anda bisa install menggunakan tarball atau rpm, bisa didownload di sini untuk tarball, untuk rpm bisa didownload di sini.
Untuk instalasi menggunakan tarbal lakukan sbb :
Setelah download, taruh di direktori, misal : di /opt
1 2 3 4 5 | #tar -xvzf gateway-x.x.x.tar.gz#cd gateway-x.x.x#./configure#make#make install |
sedang file konfigurasi kita kopi dari sourcenya di /opt/gateway-x.x.x/debian.
Untuk instalasi menggunakan rpm, lebih gampang lagi :
1 | #rpm -ivh kannel-x.x.x.rpm |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | group = core admin-port = 13000 admin-password = log-file = "/var/log/kannel/kannel.log" log-level = 0 access-log = "/var/log/kannel/access.log" smsbox-port = 13001 store-file = "/var/log/kannel/kannel.store" group = smsc smsc = at host = 127.0.0.1 port = 13013 smsc-id = wavecom modemtype = wavecom device = /dev/ttyS0 speed = 9600 sms-center = "+6281100000" group = modems id = WAVECOM name = WAVECOM detect-string = WAVECOM init-string = "AT+CNMI=2,1,0,0,0;+CMEE=1" group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13131 sendsms-chars = "0123456789+" global-sender = "+6281100000" log-file = "/var/log/kannel/smsbox.log" log-level = 0 access-log = "/var/log/kannel/access.log" group = sendsms-user username = playsms password = playsms group = sms-service keyword = default accept-x-kannel-headers = true max-messages = 0 assume-plain-text = true catch-all = true get-url = "http://localhost/playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a" |
baris-baris berikut ini silakan disesuaikan dengan konfigurasi anda, baris lainnya samakan saja :
1 2 3 4 5 | smsc-id = wavecom modemtype = wavecom device = /dev/ttyS0 speed = 9600 sms-center = "+6281100000" |
device dan speed seperti yang didapat pada langkah wvdialconf diatas.
sms-center saya menggunakan operator Telkomsel, karena saya pakai simcard Telkomsel.
1 2 3 | id = WAVECOM name = WAVECOM detect-string = WAVECOM |
1 | global-sender = "+6281100000" |
1 2 | username = playsms password = playsms |
Jika direktori /var/log/kannel belum di-create(ini biasanya pada instalasi menggunakan tarball, jika menggunakan rpm sudah otomatis di-create), buat dengan perintah :
1 2 | #mkdir /var/log/kannel#chmod 755 /var/log/kannel |
1 | #bearerbox /etc/kannel.conf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | 2009-03-13 10:11:44 [3293] [0] INFO: Debug_lvl = -1, log_file = , log_lvl = 0 2009-03-13 10:11:44 [3293] [0] WARNING: DLR: using default ‘internal’ for storage type. 2009-03-13 10:11:44 [3293] [0] INFO: DLR using storage type: internal 2009-03-13 10:11:44 [3293] [0] DEBUG: Kannel bearerbox version `1.4.3′. Build `Mar 6 2009 16:02:25′, compiler `4.1.2 20070626 (Red Hat 4.1.2-14)’. System Linux, release 2.6.18-53.1.19.el5, version #1 SMP Wed May 7 08:20:19 EDT 2008, machine i686.Hostname elastix.example.com, IP 127.0.0.1. Libxml version 2.6.26. Using OpenSSL 0.9.8b 04 May 2006. Using native malloc. 2009-03-13 10:11:44 [3293] [0] INFO: Added logfile `/var/log/kannel/kannel.log’ with level `0′. 2009-03-13 10:11:44 [3293] [0] INFO: Started access logfile `/var/log/kannel/access.log’. 2009-03-13 10:11:44 [3293] [0] WARNING: ’store-file’ option deprecated, please use ’store-location’ and ’store-type’ instead. 2009-03-13 10:11:44 [3293] [0] INFO: HTTP: Opening server at port 13000. 2009-03-13 10:11:44 [3293] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2009-03-13 10:11:44 [3293] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2009-03-13 10:11:44 [3293] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2009-03-13 10:11:44 [3293] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 3293. 2009-03-13 10:11:44 [3293] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 3293. 2009-03-13 10:11:44 [3293] [0] DEBUG: starting smsbox connection module 2009-03-13 10:11:44 [3293] [0] INFO: BOXC: ’smsbox-max-pending’ not set, using default (100). 2009-03-13 10:11:44 [3293] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 3293. 2009-03-13 10:11:44 [3293] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2009-03-13 10:11:44 [3293] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2009-03-13 10:11:44 [3293] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 3293. 2009-03-13 10:11:44 [3293] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 3293. 2009-03-13 10:11:44 [3293] [0] INFO: Set SMS resend frequency to 60 seconds. 2009-03-13 10:11:44 [3293] [0] INFO: SMS resend retry set to unlimited. 2009-03-13 10:11:44 [3293] [0] DEBUG: smsbox MO concatenated message handling enabled 2009-03-13 10:11:44 [3293] [0] INFO: DLR rerouting for smsc id disabled. 2009-03-13 10:11:44 [3293] [0] INFO: AT2[wavecom]: configuration shows modemtype 2009-03-13 10:11:44 [3293] [0] DEBUG: AT2[wavecom]: Reading modem definitions from 2009-03-13 10:11:44 [3293] [0] DEBUG: AT2[wavecom]: Found modems in config 2009-03-13 10:11:44 [3293] [0] INFO: AT2[wavecom]: modemtype not found, revert to autodetect 2009-03-13 10:11:44 [3293] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread) 2009-03-13 10:11:44 [3293] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2009-03-13 10:11:44 [3293] [0] INFO: —————————————- 2009-03-13 10:11:44 [3293] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2009-03-13 10:11:44 [3293] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 3293. 2009-03-13 10:11:44 [3293] [0] INFO: Loading store file `/var/log/kannel/kannel.store’ 2009-03-13 10:11:44 [3293] [0] INFO: Store-file size 0, starting to unpack 2009-03-13 10:11:44 [3293] [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0 2009-03-13 10:11:44 [3293] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 3293. 2009-03-13 10:11:44 [3293] [6] DEBUG: AT2[wavecom]: detecting modem type 2009-03-13 10:11:44 [3293] [6] INFO: AT2[wavecom]: opening device 2009-03-13 10:11:44 [3293] [0] DEBUG: Started thread 8 (gw/bb_store_file.c:store_dumper) 2009-03-13 10:11:44 [3293] [0] INFO: MAIN: Start-up done, entering mainloop 2009-03-13 10:11:44 [3293] [0] DEBUG: AT2[wavecom]: start called 2009-03-13 10:11:44 [3293] [6] DEBUG: AT2[wavecom]: device opened. Telnet mode = 0 2009-03-13 10:11:44 [3293] [8] DEBUG: Thread 8 (gw/bb_store_file.c:store_dumper) maps to pid 3293. 2009-03-13 10:11:44 [3293] [8] DEBUG: Dumping 0 messages to store 2009-03-13 10:11:45 [3293] [6] DEBUG: AT2[wavecom]: device opened 2009-03-13 10:11:45 [3293] [6] INFO: AT2[wavecom]: speed set to 9600 2009-03-13 10:11:45 [3293] [6] DEBUG: AT2[wavecom]: –> ^M 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: –> AT^M 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: –> AT&F^M 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: –> ATE0^M 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: –> ATI^M 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: <– WAVECOM MODEM 009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: <– MULTIBAND 900E 1800 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: found string , using modem definition 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: –> AT+CSMS=?^M 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: <– +CSMS: (0,1) 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:11:47 [3293] [6] INFO: AT2[wavecom]: Phase 2+ is supported 2009-03-13 10:11:47 [3293] [6] INFO: AT2[wavecom]: Closing device 2009-03-13 10:11:47 [3293] [6] INFO: AT2[wavecom]: opening device 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: device opened. Telnet mode = 0 2009-03-13 10:11:47 [3293] [6] DEBUG: AT2[wavecom]: device opened 2009-03-13 10:11:47 [3293] [6] INFO: AT2[wavecom]: Logging in 2009-03-13 10:11:48 [3293] [6] INFO: AT2[wavecom]: init device 2009-03-13 10:11:48 [3293] [6] INFO: AT2[wavecom]: speed set to 9600< br />2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: –> ATZ^M 2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: –> AT^M 2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: <– AT 2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: –> AT&F^M 2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: <– AT&F 2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: –> ATE0^M 2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: <– ATE0 2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: –> AT+IFC=2,2^M 2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:11:48 [3293] [6] DEBUG: AT2[wavecom]: –> AT+CPIN?^M 2009-03-13 10:11:49 [3293] [6] DEBUG: AT2[wavecom]: <– +CPIN: READY 2009-03-13 10:12:00 [3293] [6] DEBUG: AT2[wavecom]: –> AT+CSCA="+6281100000"^M 2009-03-13 10:12:00 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:12:00 [3293] [6] DEBUG: AT2[wavecom]: –> AT+CMGF=0^M 2009-03-13 10:12:00 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:12:00 [3293] [6] DEBUG: AT2[wavecom]: –> AT+CSMS=?^M 2009-03-13 10:12:00 [3293] [6] DEBUG: AT2[wavecom]: <– +CSMS: (0,1) 2009-03-13 10:12:00 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:12:00 [3293] [6] INFO: AT2[wavecom]: Phase 2+ is supported 2009-03-13 10:12:00 [3293] [6] DEBUG: AT2[wavecom]: –> AT+CSMS=1^M 2009-03-13 10:12:00 [3293] [6] DEBUG: AT2[wavecom]: <– +CSMS: 1,1,1 2009-03-13 10:12:00 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:12:00 [3293] [6] DEBUG: AT2[wavecom]: –> AT+CNMI=2,1,0,0,0;+CMEE=1^M 2009-03-13 10:12:00 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:12:00 [3293] [6] INFO: AT2[wavecom]: AT SMSC successfully opened. |
1 | #smsbox /etc/kannel.conf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | 2009-03-13 10:13:43 [3302] [0] INFO: Debug_lvl = -1, log_file = , log_lvl = 0 2009-03-13 10:13:43 [3302] [0] DEBUG: Kannel smsbox version `1.4.3′. Build `Mar 6 2009 16:02:25′, compiler `4.1.2 20070626 (Red Hat 4.1.2-14)’. System Linux, release 2.6.18-53.1.19.el5, version #1 SMP Wed May 7 08:20:19 EDT 2008, machine i686.Hostname elastix.example.com, IP 127.0.0.1. Libxml version 2.6.26. Using OpenSSL 0.9.8b 04 May 2006. Using native malloc. 2009-03-13 10:13:43 [3302] [0] INFO: Starting to log to file /var/log/kannel/smsbox.log level 0 2009-03-13 10:13:43 [3302] [0] INFO: Added logfile `/var/log/kannel/smsbox.log’ with level `0′. 2009-03-13 10:13:43 [3302] [0] INFO: Service global sender set as ‘+6281100000′ 2009-03-13 10:13:43 [3302] [0] INFO: Logging accesses to ‘/var/log/kannel/access.log’. 2009-03-13 10:13:43 [3302] [0] INFO: Started access logfile `/var/log/kannel/access.log’. 2009-03-13 10:13:43 [3302] [0] INFO: HTTP: Opening server at port 13131. 2009-03-13 10:13:43 [3302] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2009-03-13 10:13:43 [3302] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2009-03-13 10:13:43 [3302] [0] INFO: Set up send sms service at port 13131 2009-03-13 10:13:43 [3302] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2009-03-13 10:13:43 [3302] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 3302. 2009-03-13 10:13:43 [3302] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 3302. 2009-03-13 10:13:43 [3302] [0] DEBUG: ———————————————- 2009-03-13 10:13:43 [3302] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 3302. 2009-03-13 10:13:43 [3302] [0] DEBUG: Kannel smsbox version 1.4.3 starting 2009-03-13 10:13:43 [3302] [0] DEBUG: dumping group (sendsms-user): 2009-03-13 10:13:43 [3302] [0] DEBUG: = 2009-03-13 10:13:43 [3302] [0] DEBUG: = 2009-03-13 10:13:43 [3302] [0] DEBUG: = 2009-03-13 10:13:43 [3302] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2009-03-13 10:13:43 [3302] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2009-03-13 10:13:43 [3302] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2009-03-13 10:13:43 [3302] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 3302. 2009-03-13 10:13:43 [3302] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 3302. 2009-03-13 10:13:43 [3302] [0] INFO: Connected to bearerbox at 127.0.0.1 port 13001. 2009-03-13 10:13:43 [3302] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 3302. 2009-03-13 10:13:43 [3302] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2009-03-13 10:13:43 [3302] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 3302. |
Persyaratan instalasi PlaySMS :
* Web Server (Apache)
* Database Server MySQL 4.x.x atau lebih tinggi
* PHP 4.4.x atau versi lebih tinggi yang stabil dengan module mysql
* PHP PEAR DB(php-pear)
* Koneksi ke SMTP server (playSMS pakai ini untuk kirim email)
1. Download playsms-0.9.3.tar.gz dari websitenya di http://playsms.sourceforge.net
2. Taruh misal : di direktori /opt, lalu archive playsms-0.9.3.tar.gz
1 | # tar -xvzf playsms-0.9.3.tar.gz |
1 | #mkdir /var/www/html/playsms |
1 | #cp -pr playsms-0.9.3/web /var/www/html/playsms |
1 2 | # mkdir -p /var/spool/playsms# mkdir -p /var/log/playsms |
1 2 | #adduser playsms#passwd playsms |
1 2 | # mysqladmin -u root -p create playsms# mysql -u root -p playsms < /opt/playsms-0.9.3/db/playsms.sql |
1 | g-dist.php ke config.php, lalu edit file config.php |
1 2 | # cp config-dist.php config.php# vi config.php |
1 2 3 4 5 6 7 | $db_param['type'] = ‘mysql’; // database engine $db_param['host'] = ‘localhost’; // database host/server $db_param['port'] = "; // database port $db_param['user'] = ‘root’; // database username $db_param['pass'] = ‘eLaStIx.2oo7′; // database password $db_param['name'] = ‘playsms’; // database name $db_param['pref'] = ‘playsms’; // table’s prefix without trailing |
9. Kopi file-file playsms, playsmsd, playsmsd.php, dan playsmsd_start ke direktori /usr/local/bin :
1 2 3 | # cd /opt/playsms-0.9.3/bin# cp playsmsd playsmsd.php playsmsd_start /usr/local/bin/# cp playsms /etc/default/ |
Kirim SMS , log messagenya sbb :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 2009-03-13 10:17:46 [3293] [9] DEBUG: boxc_receiver: sms received 2009-03-13 10:17:46 [3293] [9] DEBUG: send_msg: sending msg to box: 2009-03-13 10:17:48 [3293] [6] DEBUG: AT2[wavecom]: TP-Validity-Period: 24.0 hours 2009-03-13 10:17:48 [3293] [6] DEBUG: AT2[wavecom]: –> AT+CMGS=60^M 2009-03-13 10:17:48 [3293] [6] DEBUG: AT2[wavecom]: 2009-03-13 10:17:48 [3293] [6] DEBUG: AT2[wavecom]: send command status: 1 2009-03-1310:17:48[3293][6]DEBUG:AT2[wavecom]:–> 0031000C912612641405510011A734C834A80EA2A3CBF2320B747EBFC9A0F65BEE4EBBCFA110A8051A4293A069730A42BEE9ECB4BB0C9A96E5F6F4B80C 2009-03-13 10:17:48 [3293] [6] DEBUG: AT2[wavecom]: –> ^Z 2009-03-13 10:17:51 [3293] [6] DEBUG: AT2[wavecom]: 2009-03-13 10:17:51 [3293] [6] DEBUG: AT2[wavecom]: <– +CMGS: 81 2009-03-13 10:17:51 [3293] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-13 10:17:51 [3293] [6] DEBUG: AT2[wavecom]: send command status: 0 2009-03-1310:17:51[3293][6]DEBUG:DLR[internal]:AddingDLRsmsc=wavecom,ts=81, src=62818xxxxxx, dst=+6221xxxxxxxx, mask=31, boxc= 2009-03-13 10:17:51 [3293] [6] DEBUG: SMSC[wavecom]: creating DLR message 2009-03-13 10:17:51 [3293] [6] DEBUG: SMSC[wavecom]: DLR = http://localhost/playsms/plugin/gateway/kannel/dlr.php?type=%d&slid=14&uid=1 2009-03-13 10:17:51 [3293] [10] DEBUG: send_msg: sending msg to box: 2009-03-13 10:17:51 [3293] [10] DEBUG: boxc_sender: sent message to 2009-03-13 10:17:51 [3293] [9] DEBUG: boxc_receiver: got ack 2009-03-13 10:18:04 [3293] [8] DEBUG: Dumping 0 messages to store 2009-03-13 10:18:13 [3293] [9] DEBUG: boxc_receiver: heartbeat with load value 0 received |
1 2 3 4 5 6 7 8 9 10 11 12 13 | 2009-03-18 13:45:33 [5912] [7] DEBUG: clear_old_concat_parts called 2009-03-18 13:46:06 [5912] [6] DEBUG: AT2[wavecom]: <– +CMTI: "SM",1 2009-03-18 13:46:06 [5912] [6] DEBUG: AT2[wavecom]: +CMTI incoming SMS indication: +CMTI: "SM",1 2009-03-18 13:46:08 [5912] [6] INFO: AT2[wavecom]: CMTI received, but no message-storage is set in confiuration.setting now to 2009-03-18 13:46:08 [5912] [6] INFO: System error 2: No such file or directory 2009-03-18 13:46:08 [5912] [6] DEBUG: AT2[wavecom]: –> AT+CPMS="SM"^M 2009-03-18 13:46:08 [5912] [6] DEBUG: AT2[wavecom]: <– +CPMS: 1,40,1,40 2009-03-18 13:46:08 [5912] [6] DEBUG: AT2[wavecom]: AT+CMGR=1^M 2009-03-18 13:46:08 [5912] [6] DEBUG: AT2[wavecom]: <– +CMGR: 0,,35 2009-03-18 13:46:08 [5912] [6] DEBUG: AT2[wavecom]: <– 07912618485400F9240B912618987811F500009030813164958212502B485C76A741F4F29C0E5AA7E5E936 2009-03-18 13:46:08 [5912] [6] DEBUG: AT2[wavecom]: received message from SMSC: +62818445009 2009-03-18 13:46:08 [5912] [6] DEBUG: AT2[wavecom]: Numeric sender (international) 2009-03-18 13:46:08 [5912] [6] DEBUG: AT2[wavecom]: User data length read as (18) 2009-03-18 13:46:08 [5912] [6] DEBUG: AT2[wavecom]: Udh decoding done len=18 udhi=0 udhlen=0 udh=" 2009-03-18 13:46:08 [5912] [10] DEBUG: send_msg: sending msg to box: 2009-03-18 13:46:08 [5912] [10] DEBUG: boxc_sender: sent message to 2009-03-18 13:46:08 [5912] [9] DEBUG: boxc_receiver: got ack 2009-03-18 13:46:08 [5912] [6] DEBUG: AT2[wavecom]: AT+CMGD=1^M 2009-03-18 13:46:09 [5912] [6] DEBUG: AT2[wavecom]: <– OK 2009-03-18 13:46:24 [5912] [9] DEBUG: boxc_receiver: heartbeat with load value 0 received 2009-03-18 13:46:24 [5912] [8] DEBUG: Dumping 0 messages to store |
Ditulis Oleh Mas : Beni Santoso | Email : benisantoso72(at)gmail.com
Terima Kasih banyak saya ucapkan buat mas Beni sudah menulis tulisan ini dengan cukup panjang. Izinkan saya untuk meng-Copy dan Mem-Paste-nya di Blog Saya
sumber : http://yonaldi.web.id/membangun-sms-gateway-dengan-modem-wavecom-fasttrack-kannel-dan-playsms/
Tidak ada komentar:
Posting Komentar