Bing Tan

Can i ask you you guys for help? I am really new to Kannel so hope you bear with me. I've searched through the archives and I'm pretty sure this isnt a question that was posted....so its either Im really out of my luck here or just plain stupid.

I setup my machine properly. I use a 6110 phone on dau9p cable smsc. I send an sms to this phone but i dont get any reply.I have no access.log entry and my kannel.log says:

2002-05-12 16:53:02 [0] INFO: Kannel bearerbox II version 1.1.6 starting
2002-05-12 16:53:02 [0] INFO: Started access logfile `access.log'.
2002-05-12 16:53:02 [0] DEBUG: HTTP: Opening server at port 13000.
2002-05-12 16:53:02 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2002-05-12 16:53:02 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2002-05-12 16:53:02 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2002-05-12 16:53:02 [0] DEBUG: starting smsbox connection module
2002-05-12 16:53:02 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2002-05-12 16:53:02 [0] INFO: AT2[/dev/ttyS0]: configuration shows modemtype <nokia>
2002-05-12 16:53:02 [0] DEBUG: AT2[/dev/ttyS0]: Reading modem definitions from <smskannel.conf>
2002-05-12 16:53:02 [0] DEBUG: Loading include file `/root/gateway-1.1.6/doc/modemsbing.conf' (on line 45 of file smskannel.conf).
2002-05-12 16:53:02 [0] DEBUG: AT2[/dev/ttyS0]: Found <10> modems in config
2002-05-12 16:53:02 [0] INFO: AT2[/dev/ttyS0]: modemtype not found, revert to autodetect
2002-05-12 16:53:02 [5] DEBUG: AT2[/dev/ttyS0]: detecting modem type
2002-05-12 16:53:02 [5] INFO: AT2[/dev/ttyS0]: opening device
2002-05-12 16:53:02 [5] DEBUG: AT2[/dev/ttyS0]: device opened
2002-05-12 16:53:02 [5] INFO: AT2[/dev/ttyS0]: speed set to 9600
2002-05-12 16:53:02 [5] DEBUG: AT2[/dev/ttyS0]: --> ^M
2002-05-12 16:53:02 [0] DEBUG: Started thread 5 (gw/smsc_at2.c:at2_device_thread)
2002-05-12 16:53:02 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router)
2002-05-12 16:53:02 [0] INFO: MAIN: Start-up done, entering mainloop
2002-05-12 16:53:02 [0] DEBUG: AT2[/dev/ttyS0]: start called
2002-05-12 16:53:02 [6] DEBUG: sms_router: time to sleep
2002-05-12 16:53:02 [6] DEBUG: sms_router: list_len = 0
2002-05-12 16:53:04 [5] DEBUG: AT2[/dev/ttyS0]: --> AT^M
2002-05-12 16:53:08 [5] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M
2002-05-12 16:53:12 [5] DEBUG: Thread 5 (gw/smsc_at2.c:at2_device_thread) terminates.
2002-05-12 16:53:28 [4] DEBUG: Started thread 7 (gw/bb_boxc.c:function)
2002-05-12 16:53:28 [7] INFO: Client connected from <127.0.0.1>
2002-05-12 16:53:28 [7] DEBUG: Started thread 8 (gw/bb_boxc.c:boxc_sender)
2002-05-12 17:07:07 [0] WARNING: SIGHUP received, catching and re-opening logs
2002-05-12 17:07:17 [0] WARNING: Killing signal received, shutting down...
2002-05-12 17:07:17 [0] DEBUG: Shutting down Kannel...
2002-05-12 17:07:17 [0] DEBUG: shutting down smsc
2002-05-12 17:07:17 [0] DEBUG: AT2[/dev/ttyS0]: Shutting down SMSCConn, slow
2002-05-12 17:07:17 [0] DEBUG: shutting down udp
2002-05-12 17:07:17 [0] WARNING: New killing signal received, killing neverthless...

Here's my smskannel.conf :

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = "/tmp/kannel.log"
log-level = 2
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "+63917,0917,+0917"
access-log = "access.log"

group = smsc
smsc = at2
modemtype = nokiaphone
device=/dev/ttyS0
speed=9600
pin=XXXX
include= /root/gateway-1.1.6/doc/modemsbing.conf

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 534XXXX
sendsms-chars = "0123456789 "
log-file = "/tmp/smsbox.log"
log-level = 2
access-log = "access.log"

group = sendsms-user
username = tester
password = foobar

group = sendsms-user
username = kannel
password = rL4y
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"

group = sms-service
keyword = get
text = "shake your bon bon"

group = sms-service
keyword = relay
get-url = "http://localhost:15130/sms?user=kannel&pass=rL4y&from=%p&to=%P&text=%r"
max-messages = 1

group = sms-service
keyword = default
text = "No service specified"

and here is my modems.conf:

# Modems configuration
#
# Example and default values
#
# group = modems
# id = "my-id"
# name = "my-name"
# detect-string = "MODEM"
# detect-string2 = "" [Default]
# init-string = "AT+CNMI=1,2,0,0,0" [Default]
# speed = 9600 [Default]
# enable-hwhs = "AT+IFC=2,2" [Default]
# need-sleep = false [Default]
# no-pin = false [Default]
# no-smsc = false [Default]
# sendline-sleep = 100 [Default, miliseconds]
# keepalive-cmd = "AT" [Default]
# broken = false [Default]
# message-storage = "SM"


# If modemtype=auto, try everyone and defaults to this one
group = modems
id = generic
name = "Generic Modem"

group = modems
id = wavecom
name = Wavecom
detect-string = "WAVECOM"

group = modems
id = premicell
name = Premicell
detect-string = "PREMICEL"
no-pin = true
no-smsc = true

group = modems
id = siemens_tc35
name = "Siemens TC35"
detect-string = "SIEMENS"
detect-string2 = "TC35"
init-string = "AT+CNMI=1,2,0,0,1"
speed = 19200
enable-hwhs = "AT\\Q3"
need-sleep = true

group = modems
id = siemens_m20
name = "Siemens M20"
detect-string = "SIEMENS"
detect-string2 = "M20"
speed = 19200
enable-hwhs = "AT\\Q3"
need-sleep = true

group = modems
id = nokiaphone
name = "Nokia Phone"
detect-string = "Nokia Mobile Phone"
need-sleep = true
keepalive-cmd = "AT+CBC;+CSQ"

group = modems
id = falcom
name = "Falcom"
detect-string = "Falcom"
no-smsc = true

group = modems
id = ericsson_r520m
name = "Ericsson R520m"
detect-string = "R520m"
init-string = "AT+CNMI=3,2,0,0"

group = modems
id = ericsson_t68
name = "Ericsson T68"
detect-string = "T68"
init-string = "AT+CNMI=3,3"
keepalive-cmd = "AT+CBC;+CSQ"
broken = true

group = modems
id = alcatel
name = "Alcatel"
detect-string = "Alcatel"
init-string = "AT+CNMI=3,2,0,0"

Any help is extremely appreciated. Thanks in advance.

 

Bing Tan



Get your FREE download of MSN Explorer at http://explorer.msn.com.

Reply via email to