OK, Ian.

I see you are connecting to an SMSC via SMPP.

If you are using SMPP as bearer you DO need to ask for delivery
notifications explicitly.

How you ask? :P

Kannel asks the delivery receipt for you, IF you tell Kannel that you want
to have this information.

And to do that, you will need the dlr-url and dlr-mask parameters of the
sendsms CGI.

If you set the dlr-url parameter to a specific page that updates you
database you don't even need to use the store.

AN EXAMPLE:

1. make an Active Server Age (can be anything ASP, JSP, PHP, ...) that
checks the parameters of the GET requests it gets.. and have that, for
instance MAIL the information to you...

2. Call kannel with the following 2 parameters added to the requests you are
currently issueing...:
     -dlr-url=http%3A//www.yourserver.com/kannel/handledlr.php?state=%d (
the value of the dlr-url parameter needs to be URL encoded fr obvious
reasons)
     -dlr-mask=31 (which basically tells kannel you want ALL the
notifications it can get. Usually you're SMSC will send only FINAL states,
some however also let you know if a message is delayed....)

As you see, now everytime kannel receives a DLR it calls your page and lets
you know what the status is. SO you don't need to go through the store
anymore as well.

It might be usefull to add a uniquely identifying parameter to the dlr-url
param so it will actually make sense :-P

If you omit the dlr-url parameter and yu're connecting via SMPP...then
Kannel doesn't request a DLR from the SMSC, since you're not interested in
it anyways...


Met vriendelijke groet/Kind regards,

Martijn de Jong
CTO XSG TELECOM



Trompet 1500
1967 DB Heemskerk
The Netherlands

T: +31(0)88-555 5252
F: +31(0)88-555 5255
E: [EMAIL PROTECTED]


-----Oorspronkelijk bericht-----
Van: Iain Dooley [mailto:[EMAIL PROTECTED] 
Verzonden: dinsdag 13 maart 2007 1:28
Aan: XSG Telecom M.I. de Jong
Onderwerp: RE: interal dlr storage

hi martijn,

> Can you send us your config file?
>
> If you're using SMPP for instance to connect to your SMSC then the answer
> would be yes, you do have to request them.
> Posting your config will probably tell all, so post that...
>
> Just blank out anything you don't want to share with the world :)

here is my core, Asmsc, sms box and sms user config sections:

group = core
admin-port = XXXXX
smsbox-port = XXXXX
admin-password = XXXXX
dlr-storage = internal
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
log-file = "/tmp/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

# SMSC CONNECTIONS

group = smsc
smsc = smpp
host = XXXXXXXXX
port = XXXXX
system-type = "XXXXX"
connect-allow-ip = 127.0.0.1
smsc-username = "XXXXXXX"
smsc-password = XXXXXXX
throughput = 10
service-type = XXXXX

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = XXXXXX
global-sender = XXXXXXX
log-file = "/tmp/smsbox.log"
log-level = 1
access-log = "/tmp/access.log"

# SEND-SMS USERS

group = sendsms-user
username = XXXXXXXXXXX
password = XXXXXXXXXXX
user-deny-ip = "*.*.*.*"
user-allow-ip = "XXXXXXXXXXXXXXXXX"
max-messages = 10
concatenation = true


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.8/718 - Release Date: 3/11/2007
9:27 AM


Reply via email to