Hi All

I have problem configuring DLR with smpp. I am starting with dlr internal
storage. The manual says there is no additional configuration required. My
smpp connections are working o.k.

When I send this test message:
http://192.168.170.22:13013/cgi-bin/sendsms?username=tester&password=foobar&;
to=XXX&from=YYY&text=test%20of%20smsc=MYSMPP&dlr-mask=7&dlr-url=http://192.1
68.170.11/kannelsms%3Fdlr=%25d%3Fphone%3D%25p

The text was delivered to the phone, but I got this dlr error in my log:
"got DLR but could not find message or was not interested in it id
<540602261> dest <XXX>, type<1>"

What do i need to do to have the dlr forwarded to the url?

Thanks.

Ismail

there is no additional co
----- Original Message -----
From: "Rene Kluwen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <users@kannel.org>
Sent: Saturday, July 16, 2005 3:21 AM
Subject: Re: DLR missing parameters?


> In the dlr-url:
>
> >
http://192.168.199.5:13013/cgi-bin/sendsms?username=tester&password=foobar&t
o=55046300&from=333&text=dlrtest2you&smsc=SOMESMPP&dlr-mask=7&dlr-url=http:/
/192.168.10.131/cgi-bin/dlr2me.pl?dlr=%25d%3Fphone%3D%25p
>
>
> you have to urlencode the question mark as well, like:
>
> dlr-url=http://192.168.10.131/cgi-bin/dlr2me.pl%3Fdlr=%25d%3Fphone%3D%25p
>
> I am doing the %3F by heart... check if it is the right value.
>
> This is a frequently asked question. Shouldn't there be something about
> this in the user manual?
>
> Rene Kluwen
> Chimit
>
> >
> >
> > Hello All!
> >
> >         I've finally managed to "semi" configure DLR, and by semi I mean
> > this: in access.log i have
> >
> > This is the SENT msg:
> >
> > 2005-07-13 16:44:39 2005-07-13 22:44:38 Sent SMS [SMSC:SOMESMPP]
> > [SVC:tester] [ACT:] [BINF:] [from:333] [to:55046300]
[flags:-1:0:-1:-1:7]
> > [msg:12:dlrtest2you] [udh:0:]
[MSGIX:a553fd05-298f-4070-89d8-757cf66cc486]
> > [CODING:-1]
> >
> > After that I get this:
> >
> > 2005-07-13 16:51:55 2005-07-13 22:51:55 DLR SMS [SMSC:SOMESMPP]
> > [SVC:tester] [ACT:] [BINF:] [from:333] [to:55046300]
[flags:-1:-1:-1:-1:1]
> > [msg:114:id:0753745513 sub:001 dlvrd:001 submit date:0507131649 done
> > date:0507131656 stat:DELIVRD err:061 text:dlrtest2yout] [udh:0:]
> > [MSGIX:dbcd3a5b-1386-45db-936e-19b101eb4a41] [CODING:-1]
> >
> > And I've sent the message using Sendsms facility in kannel like this:
> >
> >
> >
http://192.168.199.5:13013/cgi-bin/sendsms?username=tester&password=foobar&t
o=55046300&from=333&text=dlrtest2you&smsc=SOMESMPP&dlr-mask=7&dlr-url=http:/
/192.168.10.131/cgi-bin/dlr2me.pl?dlr=%25d%3Fphone%3D%25p
> >
> > in my MySQL SQLBOX i see 2 entries just like in the access.log
> >
> > one Mobile Terminated that has dlr-url
> > http://192.168.10.131/cgi-bin/dlr2me.pl?dlr=%d?phone=%p
> > and dlr-mask 7
> >
> > and one Mobile Originated with dlr-url
> > http://192.168.10.131/cgi-bin/dlr2me.pl?
> > and dlr-mask 1
> >
> > NOTICE that the movile originated is missing the "dlr=%d?phone=%p" part,
> > so my simple perl CGI script gets nothing.
> >
> > what am i doing wrong??? any clues all of you Kannel Gurus?
> >
> > Sorry if i went into much detail in this mail, but i think it might help
> > more newbies like me if read sometime in the future!
> >
> >
> > Thank you all!!
> >
> >
> > Alejandro
> >
> >
> >
> >
> >
> >
>


Reply via email to