Hi

I have the same problem as Kiran. I do not understand where to set the dlr-url 
and dlr-mask and what are the formats of these parameters. I could not 
understand from the documentation.

Also, from Debian (without gnome/kde or similar how do I access a URL such as:
> http://192.168.1.93:13013/cgi-bin/sendsms?username=kiran&password=kiran&to=919036971573&text=This+is+testfor
> priority and message response&dlr-mask=31&priority=3
Where would you use such url?

Thanks,

Naryam

--- On Wed, 12/30/09, Jovan Kostovski <chomb...@gmail.com> wrote:

From: Jovan Kostovski <chomb...@gmail.com>
Subject: Re: MySql Script for kannel for storing response from SMPP
To: "kiran.re...@mpowerglobal.in" <kiran.re...@mpowerglobal.in>
Cc: users@kannel.org
Date: Wednesday, December 30, 2009, 10:35 AM

On Wed, Dec 30, 2009 at 2:07 PM, kiran.re...@mpowerglobal.in
<kiran.re...@mpowerglobal.in> wrote:
> Hi Jovan,
>
> I created Mysql tables a below.And also can any one please check my kannel
> configuration if any mistake is there please let me know what is wrong. I
> want to test message priority and message response (dlr-mask).

The dlr table is a temporary table used by Kannel to store dlr data
for the message for which it hasn't received delivery status.
If you want to check the DRL statuses, you should define dlr-url and
dlr-mask for the messages that you are sending.

>
> Database name kannel:
>
>    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)
>    )

The correct configuration for the dlr table which you have created is:

#---- DLR table structure
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

> Send SMS URL
>
> http://192.168.1.93:13013/cgi-bin/sendsms?username=kiran&password=kiran&to=919036971573&text=This+is+testfor
> priority and message response&dlr-mask=31&priority=3

The dlr-url is missing in the request.
This url is called when kannel receives the message status. Set the
parameters of the dlr-url which you are interested in
and set some messageid. Check the userguide for details ;)

BR, Jovan




      

Reply via email to