I don't use XML Post. But see http://www.kannel.org/download/1.5.0/userguide-1.5.0/userguide.html#POSTXML.
In your case you set your smsc-id to "test" . Your configuration (kannel.conf) should be such that it accepts test as an smsc-id. From: John alero [mailto:[email protected]] Sent: zaterdag 14 september 2013 5:47 To: Rene Kluwen Cc: [email protected]; [email protected] Subject: Re: KANNEL POST XML: Dear Rene, Can you share some parameters hints for the same. On Sat, Sep 14, 2013 at 12:25 AM, Rene Kluwen <[email protected]> wrote: Try to add a value for smsc in your xml that gives a hint to Kannel as to where to where to route the message to. From: users [mailto:[email protected]] On Behalf Of John alero Sent: donderdag 12 september 2013 9:06 To: [email protected]; [email protected] Subject: KANNEL POST XML: Hii, I am using kannel 1.5.0 for sms push . I tried to send Post xml from my application to kannel as a Push. I am getting below error. Bearerbox log: 2013-09-12 12:28:29 [29877] [24] WARNING: Cannot find SMSCConn for message to <91xxxxxxxx>, rejected. 2013-09-12 12:28:29 [29877] [24] DEBUG: SMSC[UNKNOWN]: creating DLR message 2013-09-12 12:28:29 [29877] [24] DEBUG: SMSC[UNKNOWN]: DLR = 2013-09-12 12:28:29 [29877] [24] WARNING: Message rejected by bearerbox, no router! SMSBOX log: 2013-09-12 12:28:29 [29905] [3] DEBUG: Status: 202 Answer: <Sent.> 2013-09-12 12:28:29 [29905] [3] DEBUG: Delayed reply - wait for bearerbox 2013-09-12 12:29:19 [29905] [9] ERROR: URL <> doesn't start with `http://' nor `https://' 2013-09-12 12:29:19 [29905] [9] ERROR: Couldn't send request to <> Access.log [date:2013-09-12 12:15:42] [status:Receive DLR] [SMSC:] [SVC:test] [ACT:] [BINF:] [FID:] [META:] [from:TESTMS] [to:91XXXXXXXX] [flags:-1:-1:-1:-1:16] [msg:12:NACK/no SMSC] xml post request code: <?xml version="1.0" encoding="UTF-8"?> <message> <submit> <da><number>91XXXXXXXXX</number></da> <oa><number>TESTMS</number></oa> <ud>Test</ud> <statusrequest> <dlr-mask>31</dlr-mask> <dlr_url>http%3A//10.0.0.25/test.php%3Fdlr%3D%25d%26to%3D%25p%26smsID%3D%25A %26smppname%3D%25o%26dlrtime%3D%25T%26servicename%3D%25n%26smscid%3D%25i%26< /dlr_url> </statusrequest> <!-- request from application to Kannel --> <from> <username>abc</username> <password>abc1</password> <account>test</account> </from> <to>test</to> </submit> </message> I am waiting for your suggestion.
