Hi list.

when testing a module I'm writing, I sometime get this weird behaviour :
when I send messages, I see this in the logs :

2002-02-26 15:54:44 [7] DEBUG: boxc_receiver: sms received
2002-02-26 15:54:44 [6] DEBUG: sms_router: time to sleep
2002-02-26 16:03:37 [7] DEBUG: boxc_receiver: sms received
2002-02-26 16:03:45 [7] DEBUG: boxc_receiver: sms received
(these are three messages sent. sometimes I get "time to sleep" after
each message sent)

but no message reaches the module. I couldn't manage to reproduce this
behaviour under a debugger, and on the machine that I'm debugging it
happens from time to time, but not a lot. now I started to test on a
remote computer, and there it always happens - I can't make is send
messages. unfortunatly, I don't have a debugger on the remote machine.
why doesn't it send the messages to the module ?

here is my config file

group = core
admin-port = 14500
smsbox-port = 14501
admin-password = bar
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
log-file = "/gw/logs/kannel.log"
access-log = "/gw/logs/kannel-access.log"
log-level = 0

########TRANSMITTERS########

group = smsc
smsc = fake
smsc-id = cd
port = 25100

group = smsc
smsc = soap
smsc-id = ab
<some module specific configuration snipped>

#########SMSBOX-CONFIG########

group = smsbox
bearerbox-host = localhost
sendsms-port = 14503
log-level = 0
log-file = "/gw/logs/smsbox.log"
access-log = "/gw/logs/smsbox-access.log"
global-sender = 1

###########SERVICES##########

group = sms-service
keyword = default
url="http://localhost/interface/mo.php?text=%a&from=%p&to=%P&time=%t";
max-messages=0

#####SEND-SMS USERS##########

group = sendsms-user
username = tester
password = foobar
default-smsc = ab

I'd appreciate any pointers guys :-)

Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]

--
"A doctor can bury his mistakes but an architect can only advise his
clients to plant vines."
        -- Frank Lloyd Wright

Reply via email to