Hi everyone!

Can someone recommend what is the best way to test if my phone is working
with Kannel?

I have connected a Nokia 6100 with original CA42 cable from Nokia. 

I figured an easy way to test would be the sms-service. However, when I sent
an sms to my 6100, nothing happened. 

Below are my kannel.conf and my log file(up till after I sent my sms) .

Can anyone advise me?? Thanks!!

This is my kannel.conf:
# Default kannel configuration file
group = core
admin-port = 13000
admin-password = andrew
status-password = andrew
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
smsbox-port = 13100
#wapbox-port = 13002
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox26.log"
log-level = 0
access-log = "/var/log/kannel/kannel.access"
store-file = "/var/log/kannel/kannel.store"

group = smsc
smsc = at
modemtype = nokiaphone
device = /dev/ttyACM0
speed = 19200

group = smsbox
bearerbox-host = localhost
sendsms-port = 13101

group = sms-service
keyword = mytest
text = "reply to mytest"
catch-all = true

The following is my log file:

2006-11-16 01:27:11 [14602] [0] INFO: Added logfile
`/var/log/kannel/bearerbox27.log' with level `0'.
2006-11-16 01:27:11 [14602] [0] INFO: Started access logfile
`/var/log/kannel/kannel.access'.
2006-11-16 01:27:11 [14602] [0] INFO: HTTP: Opening server at port 13000.
2006-11-16 01:27:11 [14602] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2006-11-16 01:27:11 [14602] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2006-11-16 01:27:11 [14602] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2006-11-16 01:27:11 [14602] [0] DEBUG: starting smsbox connection module
2006-11-16 01:27:11 [14602] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2006-11-16 01:27:11 [14602] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2006-11-16 01:27:11 [14602] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2006-11-16 01:27:11 [14602] [0] INFO: Set SMS resend frequency to 60
seconds.
2006-11-16 01:27:11 [14602] [0] INFO: SMS resend retry set to unlimited.
2006-11-16 01:27:11 [14602] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 14602.
2006-11-16 01:27:11 [14602] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 14602.
2006-11-16 01:27:11 [14602] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
maps to pid 14602.
2006-11-16 01:27:11 [14602] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 14602.
2006-11-16 01:27:11 [14602] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
maps to pid 14602.
2006-11-16 01:27:11 [14602] [0] INFO: DLR rerouting for smsc id <(null)>
disabled.
2006-11-16 01:27:11 [14602] [0] INFO: AT2[/dev/ttyACM0]: configuration shows
modemtype <nokiaphone>
2006-11-16 01:27:11 [14602] [0] DEBUG: AT2[/dev/ttyACM0]: Reading modem
definitions from </etc/kannel.conf>
2006-11-16 01:27:11 [14602] [0] DEBUG: AT2[/dev/ttyACM0]: Found <1> modems
in config
2006-11-16 01:27:11 [14602] [0] INFO: AT2[/dev/ttyACM0]: read modem
definition for <Nokia Phone>
2006-11-16 01:27:11 [14602] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)
2006-11-16 01:27:11 [14602] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2006-11-16 01:27:11 [14602] [0] DEBUG: starting UDP sender/receiver module
2006-11-16 01:27:11 [14602] [0] INFO: Adding interface *
2006-11-16 01:27:11 [14602] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9200>
2006-11-16 01:27:11 [14602] [0] DEBUG: Started thread 8
(gw/bb_udp.c:udp_receiver)
2006-11-16 01:27:11 [14602] [0] DEBUG: Started thread 9
(gw/bb_udp.c:udp_sender)
2006-11-16 01:27:11 [14602] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9201>
2006-11-16 01:27:11 [14602] [0] DEBUG: Started thread 10
(gw/bb_udp.c:udp_receiver)
2006-11-16 01:27:11 [14602] [0] DEBUG: Started thread 11
(gw/bb_udp.c:udp_sender)
2006-11-16 01:27:11 [14602] [0] DEBUG: starting wapbox connection module
2006-11-16 01:27:11 [14602] [0] ERROR: Missing wapbox-port variable, cannot
start WAP
2006-11-16 01:27:11 [14602] [0] DEBUG: starting WDP router
2006-11-16 01:27:11 [14602] [0] DEBUG: Started thread 12
(gw/bearerbox.c:wdp_router)
2006-11-16 01:27:11 [14602] [0] INFO:
----------------------------------------
2006-11-16 01:27:11 [14602] [0] INFO: Kannel bearerbox II version 1.4.1
starting
2006-11-16 01:27:11 [14602] [0] INFO: Loading store file
`/var/log/kannel/kannel.store'
2006-11-16 01:27:11 [14602] [0] INFO: Store-file size 0, starting to unpack
2006-11-16 01:27:11 [14602] [0] INFO: Retrieved 0 messages, non-acknowledged
messages: 0
2006-11-16 01:27:11 [14602] [0] DEBUG: Started thread 13
(gw/bb_store.c:store_dumper)
2006-11-16 01:27:11 [14602] [0] INFO: MAIN: Start-up done, entering mainloop
2006-11-16 01:27:11 [14602] [0] DEBUG: AT2[/dev/ttyACM0]: start called
2006-11-16 01:27:11 [14602] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 14602.
2006-11-16 01:27:11 [14602] [6] INFO: AT2[/dev/ttyACM0]: opening device
2006-11-16 01:27:11 [14602] [13] DEBUG: Thread 13
(gw/bb_store.c:store_dumper) maps to pid 14602.
2006-11-16 01:27:11 [14602] [13] DEBUG: Dumping 0 messages to store
2006-11-16 01:27:11 [14602] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 14602.
2006-11-16 01:27:11 [14602] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2006-11-16 01:27:11 [14602] [7] DEBUG: sms_router: gwlist_len = 0
2006-11-16 01:27:11 [14602] [8] DEBUG: Thread 8 (gw/bb_udp.c:udp_receiver)
maps to pid 14602.
2006-11-16 01:27:11 [14602] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender)
maps to pid 14602.
2006-11-16 01:27:11 [14602] [10] DEBUG: Thread 10 (gw/bb_udp.c:udp_receiver)
maps to pid 14602.
2006-11-16 01:27:11 [14602] [11] DEBUG: Thread 11 (gw/bb_udp.c:udp_sender)
maps to pid 14602.
2006-11-16 01:27:11 [14602] [12] DEBUG: Thread 12
(gw/bearerbox.c:wdp_router) maps to pid 14602.
2006-11-16 01:27:11 [14602] [12] DEBUG: udp_die: removing producers from
udp-lists
2006-11-16 01:27:11 [14602] [12] DEBUG: Thread 12
(gw/bearerbox.c:wdp_router) terminates.
2006-11-16 01:27:11 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
2006-11-16 01:27:12 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
2006-11-16 01:27:12 [14602] [6] INFO: AT2[/dev/ttyACM0]: init device
2006-11-16 01:27:12 [14602] [6] INFO: AT2[/dev/ttyACM0]: speed set to 19200
2006-11-16 01:27:12 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATZ^M
2006-11-16 01:27:12 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2006-11-16 01:27:12 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M
2006-11-16 01:27:12 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT
2006-11-16 01:27:12 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2006-11-16 01:27:12 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M
2006-11-16 01:27:12 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F
2006-11-16 01:27:12 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2006-11-16 01:27:12 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M
2006-11-16 01:27:12 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0
2006-11-16 01:27:12 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2006-11-16 01:27:12 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+IFC=2,2^M
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CPIN?^M
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CPIN: READY
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGF=0^M
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0,1)
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2006-11-16 01:27:13 [14602] [6] INFO: AT2[/dev/ttyACM0]: Phase 2+ is
supported
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=1^M
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: 1,1,1
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: -->
AT+CNMI=0,0,0,0,0^M
2006-11-16 01:27:13 [14602] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
2006-11-16 01:27:13 [14602] [6] INFO: AT2[/dev/ttyACM0]: AT SMSC
successfully opened.
2006-11-16 01:27:14 [14602] [5] INFO: Client connected from <127.0.0.1> 
2006-11-16 01:27:14 [14602] [5] DEBUG: Started thread 14
(gw/bb_boxc.c:function)
2006-11-16 01:27:14 [14602] [14] DEBUG: Thread 14 (gw/bb_boxc.c:function)
maps to pid 14602.
2006-11-16 01:27:14 [14602] [14] DEBUG: Started thread 15
(gw/bb_boxc.c:boxc_sender)
2006-11-16 01:27:14 [14602] [15] DEBUG: Thread 15 (gw/bb_boxc.c:boxc_sender)
maps to pid 14602.


group = sms-service 
keyword = default
text = "default case"

group = modems 
id = nokiaphone
name = "Nokia Phone"
detect-string = "Nokia Mobile Phone"
init-string = "AT+CNMI=0,0,0,0,0"
need-sleep = true
keepalive-cmd = "AT+CBC;+CSQ"
enable-mms = true

-- 
View this message in context: 
http://www.nabble.com/How-to-get-sms--tf2637674.html#a7362269
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to