Does 1.1.5 fail to compile for you?

It's strange that the smsbox didn't seem to get the text of the message
("starting to service <> from....", and subsequent GET
/sms/help.php?keyword= ) even though the access log says you received a
message with text "logos". What does the bearerbox say about the inbound
message? Btw, if you only want the keyword, maybe %k would be better to use?

Ian


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Erki Bender
Sent: 09 July 2001 10:23
To: [EMAIL PROTECTED]
Subject: sms service error


Hi,

I was lucky to compile kannel 1.0.3 on my Compaq AlphaServ DS10 (all other
versions ended with error during the make), but something seems to be wrong
still. When I make a service, for example logos, and send this keyword to
this number, I get only the default service answer and nothing more. when i
look into the smsbox log, i can see that the smsbox hasn't got the keyword
and that's why the default service is invoked. but from the bearerbox log i
can see that the correct sms is receaved. I include some logs and also a
part from conf file also.
the first connect to bearerbox seems to be got refused also, although i have
configured firewall so that 13001 is allowed to be connected from localhost.
------------------smsbox.log--------------------
2001-07-09 08:03:59 [0] INFO: Added logfile `/var/log/kannel/smsbox.log'
with level `0'.
2001-07-09 08:03:59 [0] DEBUG: HTTP: Creating a new server socket <13013>.
2001-07-09 08:03:59 [0] INFO: Set up send sms service at port 13013
2001-07-09 08:03:59 [0]
DEBUG: ----------------------------------------------
2001-07-09 08:03:59 [0] DEBUG: Gateway SMS BOX version 1.0.3 starting
2001-07-09 08:03:59 [0] ERROR: connect failed
2001-07-09 08:03:59 [0] ERROR: error connecting to server `localhost' at
port `13001'
2001-07-09 08:03:59 [0] ERROR: System error 61: Connection refused
2001-07-09 08:04:09 [0] INFO: Connected to Bearer Box at localhost port
13001
2001-07-09 08:06:02 [0] DEBUG: Started thread 1
(gw/smsbox.c:smsbox_req_thread)
2001-07-09 08:06:02 [1] INFO: Starting to service <> from <37256575706> to
<*****>
2001-07-09 08:06:02 [1] DEBUG: HTTP: Creating a new client socket
<172.17.33.24:80>.
2001-07-09 08:06:02 [1] DEBUG: HTTP: Sending request:
2001-07-09 08:06:02 [1] DEBUG: Octet string at 0x120187880:
2001-07-09 08:06:02 [1] DEBUG:   len:  59
2001-07-09 08:06:02 [1] DEBUG:   size: 60
2001-07-09 08:06:02 [1] DEBUG:   immutable: 0
2001-07-09 08:06:02 [1] DEBUG:   data: 47 45 54 20 2f 73 6d 73   GET /sms
2001-07-09 08:06:02 [1] DEBUG:   data: 2f 68 65 6c 70 2e 70 68   /help.ph
2001-07-09 08:06:02 [1] DEBUG:   data: 70 3f 6b 65 79 77 6f 72   p?keywor
2001-07-09 08:06:02 [1] DEBUG:   data: 64 3d 20 48 54 54 50 2f   d= HTTP/
2001-07-09 08:06:02 [1] DEBUG:   data: 31 2e 31 0d 0a 48 6f 73   1.1..Hos
2001-07-09 08:06:02 [1] DEBUG:   data: 74 3a 20 31 37 32 2e 31   t: 172.1
2001-07-09 08:06:02 [1] DEBUG:   data: 37 2e 33 33 2e 32 34 0d   7.33.24.
2001-07-09 08:06:02 [1] DEBUG:   data: 0a 0d 0a                  ...
2001-07-09 08:06:02 [1] DEBUG: Octet string dump ends.
2001-07-09 08:06:02 [1] INFO: Message sent to <37256575706>
2001-07-09 08:06:02 [1] DEBUG: message sent
2001-07-09 08:06:02 [1] DEBUG: Thread 1 (gw/smsbox.c:smsbox_req_thread)
terminates.
---------------------smsbox.log-----------------------------
---------------------kannel_access.log----------------------
2001-07-09 10:03:59 Log begins
2001-07-09 10:06:02 Received a message - SMSC:CIMD2:*.*.*.*:*:****
sender:37256575706 msg: 'Logos'
-----smsc and usrename is removed------------------
2001-07-09 10:06:02 Sent a message - SMSC:CIMD2:*.*.*.*:*:****
receiver:37256575706 msg: 'List of available keywords:?, logos     ? keyword
for keyword-help!'
-----------------kannel_access.log----------------------------
-----------------kannel.conf-----------------------------------
group = sms-service
keyword = default
url = "http://172.17.33.24/sms/help.php?keyword=%a"
max-messages = 3

group = sms-service
keyword = logos
aliases = "Logos;LOGOS"
url = "http://172.17.33.24/sms/logos.php?keyword=%a"
max-messages = 3
-----------------kannel.conf----------------------------------

can anyone say what's wrong, where does this sms disappears?

regs,
erki.

The mouse has moved....
Please restart windows for the changes to take effect


Reply via email to