group = core admin-port = 1230 smsbox-port = 1230 admin-password = xxxx status-password = xxxx log-file = "/var/log/kannel/bearerbox.log" log-level = 1 box-allow-ip = "127.0.0.1;192.168.0." access-log = "/var/log/kannel/bearerbox-access.log" access-log-clean = true store-file = "/var/log/kannel/sms.log" dlr-storage = internal unified-prefix = "-;+"
group = modems id = nokiaphone name = "Nokia Phone" detect-string = "Nokia Mobile Phone" need-sleep = true keepalive-cmd = "AT+CBC;+CSQ" enable-mms = true
group = smsbox bearerbox-host = 192.168.0.1 sendsms-port = 1234 global-sender = 1234 #sendsms-chars = "0123456789 +-" log-file = "/var/log/kannel/smsbox.log" log-level = 1 access-log = "/var/log/kannel/smsbox-access.log" access-log-clean = true reply-couldnotfetch = "Koneksi Error" reply-couldnotrepresent = "SMS Error" reply-requestfailed = "Request Error" reply-emptymessage = "" #sendsms-url = http://192.168.0.1/cgi-bin/sendsms http-request-retry = 3 http-queue-delay = 3
group = sendsms-user
username = kannel
password = 1234
#user-deny-ip = ""
#user-allow-ip = ""
max-messages = 3
concatenation = true
omit-empty = true
dlr-url = "http://192.168.0.1/dlr/?msisdn=%p&msg=%a&smscid=%i&smsid=%I&dlrsmsc=%A&dlr=%d&time=%t"
group = sms-service keyword = test text = "no services defined" #allowed-receiver-prefix = 1234 get-url = "http://192.168.0.1/logic/?msisdn=%p&msg=%a" accept-x-kannel-headers = true #accepted-smsc = receive catch-all = true max-messages = 0 #assume-plain-text = true concatenation = true #split-chars = "\t" omit-empty = true
[EMAIL PROTECTED] sangprabv]# /usr/sbin/bearerbox -u kannel -v 1 /etc/kannel.conf
2005-04-11 19:52:19 [3727] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2005-04-11 19:52:19 [3727] [0] INFO: DLR using storage type: internal
2005-04-11 19:52:19 [3727] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `1'.
2005-04-11 19:52:19 [3727] [0] INFO: Started access logfile `/var/log/kannel/bearerbox-access.log'.
2005-04-11 19:52:19 [3727] [0] INFO: SSL not supported, no SSL initialization done.
2005-04-11 19:52:19 [3727] [0] INFO: HTTP: Opening server at port 1230.
2005-04-11 19:52:19 [3727] [0] INFO: ----------------------------------------
2005-04-11 19:52:19 [3727] [0] INFO: Kannel bearerbox II version 1.3.2 starting
2005-04-11 19:52:24 [3727] [0] INFO: Loading store file `/var/log/kannel/sms.log'
2005-04-11 19:52:24 [3727] [0] INFO: Store-file size 0, starting to unpack
2005-04-11 19:52:24 [3727] [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0
2005-04-11 19:52:24 [3727] [0] INFO: MAIN: Start-up done, entering mainloop
[EMAIL PROTECTED] sangprabv]# /usr/sbin/smsbox -u kannel -v 1 /etc/kannel.conf
2005-04-11 19:52:25 [1570] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2005-04-11 19:52:25 [1570] [0] INFO: Starting to log to file /var/log/kannel/smsbox.log level 1
2005-04-11 19:52:25 [1570] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `1'.
2005-04-11 19:52:25 [1570] [0] INFO: Service global sender set as '1234'
2005-04-11 19:52:25 [1570] [0] INFO: Logging accesses to '/var/log/kannel/smsbox-access.log'.
2005-04-11 19:52:25 [1570] [0] INFO: Started access logfile `/var/log/kannel/smsbox-access.log'.
2005-04-11 19:52:25 [1570] [0] INFO: HTTP: Opening server at port 1234.
2005-04-11 19:52:25 [1570] [0] INFO: Set up send sms service at port 1234
2005-04-11 19:52:25 [1570] [0] INFO: Using HTTP request queueing with 3 retries, 3s delay.
2005-04-11 19:52:25 [1570] [0] INFO: Connected to bearerbox at 192.168.0.1 port 12340.
So far I think everything is fine. So I try to send an sms to it and send sms via http. I watch the log and nothing happen. I try to connect via minicom, there is a new sms. What's wrong here? Why kannel doesn't grab the sms? Please help me, thank you very much.
Regards
Willy
