Kannel DLR with MySQL

pape fall <[email protected]>
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <CAMniHwbTMW9MA2sCDBdwCmY6BfN+==7s=7s0ui8j21a=51sExQ@mail.gmail.com>
Hello,
I use kannel for sending sms. Now I want to get the dlr. After
configuration, sent sms are inserted into mysql dlr table. The status of
the sms are still 0.
I add dlr-mask=7 to the request parameters for sending sms. After
investigation, I understood that I have to put the dlr-url for updating the
status of the sms.

Could someone help me to define the dlr-url and make the php file?

Could I retrieve the sent sms status thanks to an ID for updating another
database?(the ID must be known when the sms are sent)

In attached my  kannel.conf

Regards,
Fall,
kannel.conf (application/octet-stream, 1 KB)
#
# Sample configuration file for Kannel bearerbox on Debian.
# See the documentation for explanations of fields.
#

# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.

group = core
admin-port = 13002 
smsbox-port = 13003
admin-password = 'admin4'
dlr-storage = mysql

group = mysql-connection
id = mydlr
host = localhost
username = root
password = glpi
database = dlr
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_id


#SMSC
group = smsc
smsc = smpp
smsc-id = smsc1
service-type = 'VMA' 
host = 192.168.1.1
port = 5019
receive-port = 5019
smsc-username = "username"
smsc-password = "password"
system-type ='VMA'
msg-id-type=0

group = smsbox
bearerbox-host = 127.0.0.1 
sendsms-port = 13013
global-sender = 13013 

group = sendsms-user
username = smslonase1
password = smslonase1
default-smsc = smsc1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.