Re: DLR status problem in Kannel1.4.1
"Rodrigo Cremaschi" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi there!
Your dlr-url is MALFORMED. You better try something like (just an example)
<dlr-url>
http://localhost/cgi-bin/url.php?O-0-726340-201227-2-1-US2-SJOB=6&SEG=1-1E931119
</dlr-url>
Hope this helps.
R.
On 1/11/07, migital <[email protected]> wrote:
>
> Even with kannel1.2.1 i was using the similar url and the message gets
> delayed. But with kannel 1.4.1 it is creating problem.
>
> See the logs below which i got when i was using kannel1.2.1 and the message
> gets delivered :
>
>
> 2007-01-11 00:45:49 [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'.
> 2007-01-11 00:45:49 [1] DEBUG: HTTP: Destroying HTTPClient area af280.
> 2007-01-11 00:45:49 [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.
> 2007-01-11 00:45:55 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
> 2007-01-11 00:45:55 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms>
> from <127.0.0.1>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: XML: <<?xml version="1.0"
> encoding="UTF-8"?>
> <message><submit><da><number>919810301478</number></da><oa><number>14781</number></oa><ud>T
> HIS IS FOR
> TESTING</ud><statusrequest><dlr-mask>31</dlr-mask><dlr-url>O-0-726340-201202-2-1
> -US2-SJOB=6
> SEG=1-34B7109A</dlr-url></statusrequest><from><user>tester</user><password>foob
> ar</password></from><to>smpp</to><vp><delay>2007-01-14T05:48:07Z</delay></vp></submit></mes
> sage>>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <from> value
> <<user>tester</user><password>f
> oobar</password>>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <user> value <tester>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <password> value <foobar>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <da> value
> <<number>919810301478</number>>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <number> value <919810301478>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <oa> value
> <<number>14781</number>>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <number> value <14781>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <to> value <smpp>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <statusrequest> value
> <<dlr-mask>31</dlr-mas
> k><dlr-url>O-0-726340-201202-2-1-US2-SJOB=6 SEG=1-34B7109A</dlr-url>>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <dlr-mask> value <31>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <dlr-url> value
> <O-0-726340-201202-2-1-US2-S
> JOB=6 SEG=1-34B7109A>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <vp> value
> <<delay>2007-01-14T05:48:07Z</del
> ay>>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <delay> value
> <2007-01-14T05:48:07Z>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <vp> value
> <<delay>2007-01-14T05:48:07Z</del
> ay>>
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <delay> value
> <2007-01-14T05:48:07Z>
> 2007-01-11 00:45:55 [3] DEBUG: Source 2007-01-14T05:48:07Z Parsed Sun, 14
> Jan 2007 05:48:0
> 7 GMT date
> 2007-01-11 00:45:55 [3] DEBUG: XMLParsing: tag <ud> value <THIS IS FOR
> TESTING>
> 2007-01-11 00:45:55 [3] DEBUG: validity 1168753687 now 1168494355 delta
> 259332
> 2007-01-11 00:45:55 [3] INFO: sendsms used by <tester>
> 2007-01-11 00:45:55 [3] INFO: sendsms sender:<tester:23241> (127.0.0.1)
> to:<919810301478> m
> sg:<THIS IS FOR TESTING>
> 2007-01-11 00:45:55 [3] DEBUG: message length 19, sending 1 messages
> 2007-01-11 00:45:55 [3] DEBUG: Status: 202 Answer: <Sent.>
> 2007-01-11 00:45:55 [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'.
> 2007-01-11 00:45:55 [1] DEBUG: HTTP: Destroying HTTPClient area af280.
> 2007-01-11 00:45:55 [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.
> 2007-01-11 00:45:55 [4] INFO: Starting delivery report <tester> from
> <919810301478>
> 2007-01-11 00:45:55 [4] DEBUG: Msg object at be680:
>
>
>
>
>
>
>
> migital wrote:
> >
> > Earlier I was using the kannel version1.2.1 and now I have upgraded to
> > kannel version1.4.1. When I was using kannel1.2.1, everything was working
> > fine, but now with the new version of kannel1.4.1, I am getting problems
> > in getting the status back, I am getting " DLR-URL field misformed ,
> > rejected" in smsbox logs.
> >
> > Can anybody please point me what can be the problem?
> >
> > Thanks,
> >
> >
>
> --
> View this message in context: http://www.nabble.com/DLR-status-problem-in-Kannel1.4.1-tf2951784.html#a8273187
> Sent from the Kannel - Dev mailing list archive at Nabble.com.
>
>
>