Thanks for the replies people.
This is the URL-part of the HTTP request (GET):
&dlr-mask=31&dlr-url=http%3A%2F%2Fwww.mollie.nl%2Fpartners%2Fapi%
2Fkannel%2Fdr.php%3Fr%3D42245515%26to%3D%25p%26status%3D%25d
As you might see, the URL is urlencoded. If I send a bogus URL
(forced with no 'http://') kannel gives me a warning even before
sending a message. Plus, if I replace www.mollie.nl with another host
it just works too. The machine witch is running kannel is a seperate
machine.
Regards,
Adriaan Mol
On Jan 25, 2007, at 10:28 AM, Julien Buratto wrote:
Can you post the complete HTTP request you are sending to kannel ?
Adriaan Mol ha scritto:
Hi,
We're looking for some help/advice with a Kannel problem we've just
encountered.
We're sending a message by posting a HTTP request to kannel from our
PHP-software. Here we include the dlr-url and dlr-mask parameters
(both
urlencoded). But for some reason the smsbox.log tells it could not
deliver the DLR report because the URL doesn't start with
`http://' nor
`https://'. But we are sure that we posted the DLR how it should be
posted. We tried it by using 'http://www.mollie.nl/a/dlr/dr.php'. The
weird thing is, when we try using another host, for example
'http://www.apple.com/a/dlr/dr.php' it just works without a
problem. We
can't figure out what the problem is.
This is what we receive in the smsbox.log:
2007-01-24 18:58:21 [31356] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <82.94.255.119>
2007-01-24 18:58:21 [31356] [3] INFO: sendsms used by <m0lli3>
2007-01-24 18:58:21 [31356] [3] INFO: sendsms sender:<m0lli3:Mollie>
(82.94.255.119) to:<31649139210> msg:<>>TEST:ROUTE:1075>
2007-01-24 18:58:22 [31357] [4] INFO: Starting delivery report
<m0lli3>
from <Mollie>
2007-01-24 18:58:22 [31493] [9] ERROR: URL </a/dlr/dr.php> doesn't
start
with `http://' nor `https://'
2007-01-24 18:58:22 [31493] [9] ERROR: Couldn't send request to
</a/dlr/dr.phpp>
Can someone help us here? Thanks in advance.
Best regards,
Adriaan
LinkedIn:
http://www.linkedin.com/in/adriaan