Good Day

I've successfully installed Kannel 1.4.4 configured for the redis db. I have also installed redis and can execute commands using redis-cli. I've run bearerbox, which says it is using the hiredis API 0.11.0, and smsbox, and then successfully connected to an SMSC using SMPP 3.4 and can send SMS messages. I also get the Deliver_SM DLR message back indicating a susccessful delivery. However, the DLR is not being written to the redis db.

The specific log entries in my smsc.log are
2015-03-30 20:41:03 [2747] [5] DEBUG: SMPP[xxxxxxxxxxxxx] handle_pdu, got DLR 2015-03-30 20:41:03 [2747] [5] DEBUG: DLR[redis]: Looking for DLR smsc=xxxxxxxxxxxxx, ts=6f4e3c4b-b03e-4008-0101-032700005a36, dst=nnnnnnnnnn, type=1 2015-03-30 20:41:03 [2747] [5] WARNING: DLR[redis]: DLR from SMSC<xxxxxxxxxxxxx> for DST<nnnnnnnnnn> not found. 2015-03-30 20:41:03 [2747] [5] ERROR: SMPP[xxxxxxxxxxxxx]: got DLR but could not find message or was not interested in it id<6f4e3c4b-b03e-4008-0101-032700005a36> dst<nnnnnnnnnn>, type<1>

I have installed redis and used the redis-cli to ensure it is working. I have also seen that the kannel bearerbox starts up with the redis db correctly.

My kannel.conf settings for redis are:
group = redis-connection
id = redisdlr
host = 127.0.0.1
port = 6379
#password = foo
database = 0
max-connections = 1

group=dlr-db
id=redisdlr
table=dlr
ttl=604800
field-smsc=smsc
field-timestamp=ts
field-destination=destination
field-source=source
field-service=service
field-url=url
field-mask=mask
field-status=status
field-boxc-id=boxc

Finally, my dlr-storage in the core setting is set to redis.

Any ideas why it is not writing the DLRs to redis?

Many thanks
Cliff

Reply via email to