Hi All:

I have been having a problem with using a Nokia Phone as SMSC.  I have 
tried it in both RedHat 7.2 and Windows 2k with the same problem. 
 Attached is the Linux kannel.conf file and the output from smsbox.exe

group = core
admin-port = 13000
wapbox-port = 13002
smsbox-port = 13005
admin-password = bar
wdp-interface-name = "*"
#log-file = "/tmp/kannel.log"
#log-level = 0
#box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#admin-deny-ip = ""
#admin-allow-ip = ""
#access-log = "access.log"

group = smsc
smsc = at
smsc-id = modem
modemtype = nokiaphone
device = /dev/ttyS0

group = smsbox
bearerbox-host = localhost
sendsms-port = 13005
sendsms-chars = "0123456789 "
global-sender = 0101111111
access-log = "kannel.access"
log-file = "smsbox.log"
log-level = 0

group = sendsms-user
username = uname
password = passwd
max-messages = 2
concatenation = 1

-----------------output from smsbox -----------------------
2002-02-11 12:40:35 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2002-02-11 12:40:35 [0] INFO: Reading configuration from <kannel.conf>
2002-02-11 12:40:35 [0] INFO: Starting to log to file smsbox.log level 0
2002-02-11 12:40:35 [0] INFO: Added logfile `smsbox.log' with level `0'.
2002-02-11 12:40:35 [0] INFO: Service global sender set as '0101111111'
2002-02-11 12:40:35 [0] INFO: Started access logfile `kannel.access'.
2002-02-11 12:40:35 [0] DEBUG: HTTP: Creating a new server socket <13005>.
2002-02-11 12:40:35 [0] INFO: Set up send sms service at port 13005
2002-02-11 12:40:35 [0] DEBUG: 
----------------------------------------------
2002-02-11 12:40:35 [0] DEBUG: Gateway SMS BOX version 1.0.3 starting
2002-02-11 12:40:35 [0] INFO: Connected to Bearer Box at localhost port 
13005
2002-02-11 12:40:35 [0] DEBUG: HTTP: Accepted client from <127.0.0.1>
2002-02-11 12:40:35 [0] DEBUG: Started thread 1 
(gw/smsbox.c:http_request_thread
)
2002-02-11 12:40:39 [0] DEBUG: HTTP: Accepted client from <127.0.0.1>
2002-02-11 12:40:39 [0] DEBUG: Started thread 2 
(gw/smsbox.c:http_request_thread
)2002-02-11 12:40:39 [2] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from
<127.0.0.1>
2002-02-11 12:40:39 [2] INFO: /cgi-bin/sendsms <default:0101111111> 
<0105410051> <He
llo world>
2002-02-11 12:40:39 [1] DEBUG: HTTP: Closing socket <127.0.0.1:0>
2002-02-11 12:40:39 [1] DEBUG: Thread 1 
(gw/smsbox.c:http_request_thread) termin
ates.
2002-02-11 12:40:39 [2] INFO: Message sent to <0105410051>
2002-02-11 12:40:39 [2] DEBUG: message sent

2002-02-11 12:40:39 [2] DEBUG: Answer: <Sent.>
2002-02-11 12:40:39 [2] DEBUG: HTTP: Closing socket <127.0.0.1:0>
2002-02-11 12:40:39 [2] DEBUG: Thread 2 
(gw/smsbox.c:http_request_thread) termin
2002-02-11 12:40:39 [0] INFO: Received (and handled?) 0 requests in 4 
seconds (0
.00 per second)
2002-02-11 12:40:39 [0] INFO: Smsbox terminating.
2002-02-11 12:40:39 [0] DEBUG: HTTP: Closing socket <server socket:13005>
      0 [main] smsbox 668 handle_exceptions: Exception: 
STATUS_STACK_OVERFLOW
    804 [main] smsbox 668 stackdump: Dumping stack trace to 
smsbox.exe.stackdump

It says message sent, but it never was.


Reply via email to