Your need to include the dlr-mask in yor sendsms url

e.g http://192.168.100.1:13013/cgi-bin/sendsms?username=root&password=root&from=0722490994&to=0722490994&text=nop&*dlr-mask=31*&utime=%t

from  the kannel manual,

Request for delivery reports with the state of the sent message. The value is a bit mask composed of:

1: Delivered to phone,
2: Non-Delivered to Phone,
4: Queued on SMSC,
8: Delivered to SMSC,
16: Non-Delivered to SMSC.

A combination(addition) of the values will give request for the included values in the sum. e.g
1+2+4+8+16 =31.

so the dlr mask will be "*dlr-mask=31*". This will request for delivery reports with the values 11,2,4,8,16.

HTH



narendra reddy wrote:
Hi , i compiled the kannel with ./configure --- --- with-mysql .its compiled success fully.

 and i added in the dlr-storage=mysql in the core group

 group = mysql-connection
id = mydlr
host = 172.22.24.194
username =root
password = admin
database = narendra
 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
i added like this in the my conf file. and after in the ./bearerbox -v 1 kannelconf1.conf its gave below message

2009-02-10 17:25:09 [27753] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2009-02-10 17:25:09 [27753] [0] INFO: MYSQL: Connected to server at 172.22.24.194. 2009-02-10 17:25:09 [27753] [0] INFO: MYSQL: server version 5.0.27-standard-log, client version 5.0.26.
2009-02-10 17:25:09 [27753] [0] INFO: DLR using storage type: mysql
2009-02-10 17:25:09 [27753] [0] INFO: Added logfile `log/bearer.log' with level `0'. 2009-02-10 17:25:09 [27753] [0] INFO: Started access logfile `log/beareraccess.log'.
2009-02-10 17:25:09 [27753] [0] INFO: HTTP: Opening server at port 13000.
2009-02-10 17:25:09 [27753] [0] INFO: Set SMS resend frequency to 60 seconds.
2009-02-10 17:25:09 [27753] [0] INFO: SMS resend retry set to unlimited.
2009-02-10 17:25:09 [27753] [0] WARNING: bool variable set to strange value, assuming 'true' 2009-02-10 17:25:09 [27753] [0] INFO: Set throughput to 500.000 for smsc id <(null)> 2009-02-10 17:25:09 [27753] [0] INFO: DLR rerouting for smsc id <(null)> enabled. 2009-02-10 17:25:09 [27753] [0] INFO: Added logfile `log/kannel.log' with level `0'. This means bearerbox connected to mysql server .but in the mysql-query-browser i created table with the below fields
                 CREATE TABLE dlr (
#     smsc varchar(40),
#     ts varchar(40),
#     destination varchar(40),
#     source varchar(40),
#     service varchar(40),
#     url varchar(255),
#     mask int(10),
#     status int(10),
#     boxc varchar(40)
#   )
but in the mysql table no messages are added in the table .pls help me .where i am doing the mistake .and any filelds i can add in the conf file . (please dont tell read user-guide like that .because i read the user-guide 20 times but i can't find exactly wats problem.).i have to meet my management with status ASAP. please tell me how can move from this databases,.(i am using suse linux 10.1 version) .(my requirement is to watch the messages in the tables like log files it is possible ?).


1) please exactly tell me wat we can do using mysql database in kannel code 2) we can store the messages in tables.

can suggest me regarding this topics.
Best Regards,
Narendra.














begin:vcard
fn:James Mutuku
n:Mutuku;James
org:Agile Systems Limited;Technical Department
adr:;;P.O Box 55686-00200;Nairobi;;00200;Kenya
email;internet:[email protected],[email protected]
title:Lead Consultant
tel;work:+254-722-490994
tel;home:+254-722-490994
tel;cell:+254-722-490994
url:www.agile.co.ke
version:2.1
end:vcard

Reply via email to