From your logs it doesn't look like the modem was started properly - you should see a line stating "AT SMSC successfuly opened", which means that Kannel started the modem properly. otherwise, Kannel failed to connect and of course won't send or receive messages. check your configuration files - if they are as you posted this time, then these are not correct - you must have empty lines between groups.
 
--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
 
Microsoft should switch to the vacuum cleaner business where people actually
want products that suck.
 

-----Original Message-----
From: mia [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 5:53 PM
To: [EMAIL PROTECTED]
Subject: nokia 5110

hello again.
 
i'm the one experimenting on kannel 1.1.x-cvs on windows 2000 with nokia 5110 as my smsc.
 
i have omitted the host and port from the smsc group and instead of using at, i used at2. no errors were reported however, nothing happens when i send or receive messages. do i still need to run something else besides the bearerbox and smsbox?
 
again, thank you for your help.
 
mia
 
 
revised conf file
 
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = "c:\kannel\tmp\kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "+63,63"
access-log = "c:\kannel\tmp\access.log"
group = smsc
smsc-id = NOKIA
smsc = at2
modemtype = nokiaphone
device = COM2
speed = 19200
#pin = 1234
validityperiod = 167
retry = true
keepalive = 30
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 123456
#sendsms-chars = "0123456789 +-"
log-file = "c:\kannel\tmp\smsbox.log"
log-level = 0
#access-log = "access.log"
 
group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""
 
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
 
group = sms-service
keyword = default
text = "No service specified"
 
 
kannel log file
 
2002-04-11 14:33:58 [0] INFO: Added logfile `c:\kannel\tmp\kannel.log' with level `0'.
2002-04-11 14:33:58 [0] INFO: ----------------------------------------
2002-04-11 14:33:58 [0] INFO: Kannel bearerbox II version cvs starting
2002-04-11 14:33:58 [0] INFO: Started access logfile `c:\kannel\tmp\access.log'.
2002-04-11 14:33:58 [0] DEBUG: HTTP: Opening server at port 13000.
2002-04-11 14:33:58 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2002-04-11 14:33:58 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2002-04-11 14:33:58 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2002-04-11 14:33:58 [0] DEBUG: starting smsbox connection module
2002-04-11 14:33:58 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2002-04-11 14:33:58 [0] INFO: configuration shows modemtype=nokiaphone
2002-04-11 14:33:58 [0] INFO: configured for modem-id 5
2002-04-11 14:33:58 [0] INFO: configured for speed 19200
2002-04-11 14:33:58 [0] DEBUG: Started thread 5 (gw/smsc_at2.c:at2_device_thread)
2002-04-11 14:33:58 [5] INFO: AT2[COM2]: opening device
2002-04-11 14:33:58 [5] DEBUG: AT2[COM2]: device opened
2002-04-11 14:33:58 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router)
2002-04-11 14:33:58 [6] DEBUG: sms_router: time to sleep
2002-04-11 14:33:58 [0] INFO: MAIN: Start-up done, entering mainloop
2002-04-11 14:33:58 [0] DEBUG: smsc_at2: start called
2002-04-11 14:33:58 [6] DEBUG: sms_router: list_len = 0
2002-04-11 14:33:58 [5] INFO: AT2[COM2]: speed set to 9600
2002-04-11 14:33:59 [5] DEBUG: AT2[COM2]: device opened
2002-04-11 14:33:59 [5] INFO: AT2[COM2]: init device
2002-04-11 14:33:59 [5] INFO: AT2[COM2]: speed set to 19200
2002-04-11 14:33:59 [5] DEBUG: AT2[COM2]: --> AT^M
2002-04-11 14:34:12 [4] DEBUG: Started thread 7 (gw/bb_boxc.c:function)
2002-04-11 14:34:12 [7] INFO: Client connected from <127.0.0.1>
2002-04-11 14:34:12 [7] DEBUG: Started thread 8 (gw/bb_boxc.c:boxc_sender)
 
 
sms log file
 
2002-04-11 14:34:11 [0] INFO: Added logfile `c:\kannel\tmp\smsbox.log' with level `0'.
2002-04-11 14:34:12 [0] INFO: Service global sender set as '123456'
2002-04-11 14:34:12 [0] DEBUG: HTTP: Opening server at port 13013.
2002-04-11 14:34:12 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2002-04-11 14:34:12 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2002-04-11 14:34:12 [0] INFO: Set up send sms service at port 13013
2002-04-11 14:34:12 [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread)
2002-04-11 14:34:12 [0] DEBUG: ----------------------------------------------
2002-04-11 14:34:12 [0] DEBUG: Kannel smsbox version cvs starting
2002-04-11 14:34:12 [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread)
2002-04-11 14:34:12 [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread)
2002-04-11 14:34:12 [0] INFO: Connected to bearerbox at localhost port 13001.
2002-04-11 14:34:12 [0] DEBUG: Started thread 6 (gw/heartbeat.c:heartbeat_thread)
 
 

Reply via email to