Here is a complete copy of my kannel.conf, am I missing something?

smsc:/etc/kannel# cat kannel.conf
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
dlr-storage = mysql
log-file = "/tmp/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;120.1.1.1"

group=smsc
smsc=smpp
smsc-id=internal
interface-version=34
host=64.1.1.1
port=7901
system-id=testuser
smsc-password=testpassword
system-type=VMA
transceiver-mode=true
source-addr-ton=1
source-addr-npi=1
dest-addr-ton=1
dest-addr-npi=1
msg-id-type=1

group = smsbox
bearerbox-host = 127.0.0.1
smsbox-id=asmsbox
sendsms-port = 13013
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
global-sender = 6121234567

group = sendsms-user
username = testuser
password = testpassword
concatenation= true
max-messages = 10

# SMS SERVICE 'default'
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
catch-all = true # Catch all incoming messages
                 # regarding the keyword. If you
                 # define other services, remove
                 # this line.

group = sms-service
keyword = default
#text = "No service specified"
text=<480 Characters with spaces>
concatenation=true
max-messages=5

group = mysql-connection
id = mydlr
host = 120.1.1.1
port = 3306
username = dbuser
password = dbpass
database = dbname
max-connections = 1

group = dlr-db
id = mydlr
table = dlr
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


On Sun, 23 May 2010 14:47:29 +0200, Jovan Kostovski <[email protected]>
wrote:
> On Sun, May 23, 2010 at 8:33 AM, Barry Murphy <[email protected]> wrote:
>> Hi,
>>
>> I've setup Kannel to use mysql for storage, see setup below. When I
check
>> the status page it shows no errors and that mysql is being used for
DLR,
>> select queries seem fine, but when sending a message from smsbox it
>> doesnt
>> appear to add an entry to DLR, see debug info below:
> 
> Kannel can not locate the message for which the DLR is received.
> 
> There can be 2 issues:
> 1. Do you have access to the database with the user/pass configured.
>     Check if kannel writes anything in the dlr table when you are
> sending the messages
> 
> 2. The requests for sending messages are bad.
>     How are you sending the messages? Please send the sendsms url that
> you are using.
> 
> BR, Jovan

Reply via email to