Teman-teman milist tanya jawab linux
Mohon bantuannya.
Saya pernah membuat sms gateway menggunakan kannel dengan modem iTegno
3000 type WM1080A+
semuanya berjalan lancar, dan sampai sekarang sms gateway masih beroperasi.
cara yang dilakukan mengikuti langkah2 dari artikel Mas Fajar Priyanto
(http://linux2.arinet.org/index2.php?option=com_content&do_pdf=1&id=122).
terimakasih mas Fajar :)
Sekarang saya membuat lagi sms gateway menggunakan kannel dengan modem
iTegno3832 type W3800 SE
(maunya beli yang iTegno 3000 type WM1080A+, tapi barang sudah
discontinue tidak diproduksi lagi)
dengan konfigurasi file kannel.conf sebagai berikut:
# CORE
group = core
admin-port = 13000
admin-password = pwd
status-password = pwd
log-file = "/var/log/kannel/kannel.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
smsbox-port = 13001
store-location = "/var/log/kannel/kannel.store"
#SMSC modem gsm
group = smsc
smsc = at
host = localhost
port = 13013
smsc-id = smsserver
modemtype = wavecom
device = /dev/ttyS0 --> karena iTegno 3832 pakai serial
speed = 115200
sms-center = +6281100000
group = modems
id = WAVECOM
name = wavecom
detect-string = WAVECOM
init-string = "AT+CNMI=1,2,0,1,0;+CMEE=1"
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
sendsms-chars = "0123456789+"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
# SEND-SMS USERS
group = sendsms-user
username = playsms
password = pwd
# SMS SERVICE 'Default'
group = sms-service
keyword = default
max-messages = 0
exec = /usr/local/bin/kannel_incoming %t %q %a
namun setelah dijalankan perintah bearbox /etc/kannel.conf , muncul
pesan error:
2010-03-31 20:19:01 [25563] [0] INFO: Added logfile
`/var/log/kannel/kannel.log' with level `0'.
2010-03-31 20:19:01 [25563] [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2010-03-31 20:19:01 [25563] [0] INFO: SSL not supported, no SSL
initialization done.
2010-03-31 20:19:01 [25563] [0] INFO: HTTP: Opening server at port 13000.
2010-03-31 20:19:01 [25563] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2010-03-31 20:19:01 [25563] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2010-03-31 20:19:01 [25563] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2010-03-31 20:19:01 [25563] [0] DEBUG: starting smsbox connection module
2010-03-31 20:19:01 [25563] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2010-03-31 20:19:01 [25563] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2010-03-31 20:19:01 [25563] [0] INFO: Set SMS resend frequency to 60
seconds.
2010-03-31 20:19:01 [25563] [0] INFO: SMS resend retry set to unlimited.
2010-03-31 20:19:01 [25563] [0] DEBUG: smsbox MO concatenated message
handling enabled
2010-03-31 20:19:01 [25563] [0] INFO: DLR rerouting for smsc id
<smsserver> disabled.
2010-03-31 20:19:01 [25563] [0] INFO: AT2[smsserver]: configuration
shows modemtype <wavecom>
2010-03-31 20:19:01 [25563] [0] DEBUG: AT2[smsserver]: Reading modem
definitions from </etc/kannel.conf>
2010-03-31 20:19:01 [25563] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pid 25563.
2010-03-31 20:19:01 [25563] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 25563.
2010-03-31 20:19:01 [25563] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) maps to pid 25563.
2010-03-31 20:19:01 [25563] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 25563.
2010-03-31 20:19:01 [25563] [5] DEBUG: Thread 5
(gw/bb_boxc.c:smsboxc_run) maps to pid 25563.
2010-03-31 20:19:01 [25563] [0] DEBUG: AT2[smsserver]: Found <1> modems
in config
2010-03-31 20:19:01 [25563] [0] INFO: AT2[smsserver]: modemtype not
found, revert to autodetect
2010-03-31 20:19:01 [25563] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)
2010-03-31 20:19:01 [25563] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2010-03-31 20:19:01 [25563] [0] INFO:
----------------------------------------
2010-03-31 20:19:01 [25563] [0] INFO: Kannel bearerbox II version 1.4.3
starting
2010-03-31 20:19:01 [25563] [0] INFO: Loading store file
`/var/log/kannel/kannel.store'
2010-03-31 20:19:01 [25563] [0] INFO: Store-file size 0, starting to unpack
2010-03-31 20:19:01 [25563] [0] INFO: Retrieved 0 messages,
non-acknowledged messages: 0
2010-03-31 20:19:01 [25563] [0] DEBUG: Started thread 8
(gw/bb_store_file.c:store_dumper)
2010-03-31 20:19:01 [25563] [0] INFO: MAIN: Start-up done, entering mainloop
2010-03-31 20:19:01 [25563] [0] DEBUG: AT2[smsserver]: start called
2010-03-31 20:19:01 [25563] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 25563.
2010-03-31 20:19:01 [25563] [6] DEBUG: AT2[smsserver]: detecting modem type
2010-03-31 20:19:01 [25563] [6] INFO: AT2[smsserver]: opening device
2010-03-31 20:19:01 [25563] [6] DEBUG: AT2[smsserver]: device opened.
Telnet mode = 0
2010-03-31 20:19:01 [25563] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 25563.
2010-03-31 20:19:01 [25563] [8] DEBUG: Thread 8
(gw/bb_store_file.c:store_dumper) maps to pid 25563.
2010-03-31 20:19:01 [25563] [8] DEBUG: Dumping 0 messages to store
2010-03-31 20:19:02 [25563] [6] DEBUG: AT2[smsserver]: device opened
2010-03-31 20:19:02 [25563] [6] INFO: AT2[smsserver]: speed set to 115200
2010-03-31 20:19:02 [25563] [6] DEBUG: AT2[smsserver]: --> ^M
2010-03-31 20:19:02 [25563] [6] DEBUG: AT2[smsserver]: <-- OK
2010-03-31 20:19:02 [25563] [6] DEBUG: AT2[smsserver]: --> AT^M
2010-03-31 20:19:02 [25563] [6] DEBUG: AT2[smsserver]: <-- OK
2010-03-31 20:19:02 [25563] [6] DEBUG: AT2[smsserver]: --> AT&F^M
2010-03-31 20:19:02 [25563] [6] DEBUG: AT2[smsserver]: <-- OK
2010-03-31 20:19:02 [25563] [6] DEBUG: AT2[smsserver]: --> ATE0^M
2010-03-31 20:19:06 [25563] [6] ERROR: AT2[smsserver]: Couldn't connect
(retrying in 10 seconds).
2010-03-31 20:19:15 [25563] [6] DEBUG: AT2[smsserver]: detecting modem type
2010-03-31 20:19:15 [25563] [6] INFO: AT2[smsserver]: opening device
2010-03-31 20:19:15 [25563] [6] WARNING: AT2[smsserver]: trying to open
device with not closed device!!! Please report!!!
2010-03-31 20:19:15 [25563] [6] INFO: AT2[smsserver]: Closing device
2010-03-31 20:19:15 [25563] [6] DEBUG: AT2[smsserver]: device opened.
Telnet mode = 0
2010-03-31 20:19:17 [25563] [6] DEBUG: AT2[smsserver]: device opened
2010-03-31 20:19:17 [25563] [6] INFO: AT2[smsserver]: speed set to 115200
2010-03-31 20:19:17 [25563] [6] DEBUG: AT2[smsserver]: --> ^M
2010-03-31 20:19:17 [25563] [6] DEBUG: AT2[smsserver]: <-- OK
2010-03-31 20:19:17 [25563] [6] DEBUG: AT2[smsserver]: --> AT^M
2010-03-31 20:19:17 [25563] [6] DEBUG: AT2[smsserver]: <-- OK
2010-03-31 20:19:17 [25563] [6] DEBUG: AT2[smsserver]: --> AT&F^M
2010-03-31 20:19:17 [25563] [6] DEBUG: AT2[smsserver]: <-- OK
2010-03-31 20:19:17 [25563] [6] DEBUG: AT2[smsserver]: --> ATE0^M
2010-03-31 20:19:21 [25563] [6] ERROR: AT2[smsserver]: Couldn't connect
(retrying in 10 seconds).
begitu seterusnya..pesan error looping "Couldn't connect (retrying in 10
seconds)."
Kalau saya ganti modemnya dengan iTegno yang lama type WM1080A+, bisa
jalan tanpa error (dengan mengganti device = /dev/ttyUSB0 pada file
kannel.conf tentunya)
Apakah ada teman2 yang pernah berhasil instalasi kannel dengan modem
itegno 3800 (khususnya dgn interface serial) ?
Ada yang punya solusi untuk masalah ini?
Saya sudah cari di google ada yang mengalami masalah yang sama, tapi
belum ada jawaban untuk mengatasi persoalan ini,
Mohon pencerahannya?
--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [email protected]
Arsip dan info milis selengkapnya di http://linux.or.id/milis