well first check you have set the send-sms url, port, username, passswd.
then make sure you send proper content type in a view kannel to know its xml
data
the example bellow is xml for wap push
same goes for plain text sms with some differences in the dcs headers :)
<?xml version="1.0" encoding="utf-8"?>
<message>
<submit>
<da><number>+3598xxxxxxxx</number></da>
<oa><number>kannel</number></oa>
<ud>%1B%06%01%AE%02%05%6A%00%45%C6%0C%03%77%61%70%2E%66%69%73%68%6B%61%2E%63%6F%6D%2E%75%61%2F%61%76%6F%6E%2F%62%75%6C%2F%63%33%00%01%03%41%56%4F%4E%00%01%01</ud>
<udh>%06%05%04%0B%84%23%F0</udh>
<dcs>
<mclass>-1</mclass>
<coding>1</coding>
<mwi>-1</mwi>
<compress>-1</compress>
<alt-dcs>-1</alt-dcs>
</dcs>
<pid></pid>
<rpi></rpi>
<vp>
<delay>60</delay>
</vp>
<timing>
<delay></delay>
</timing>
<priority>1</priority>
<statusrequest>
<dlr-mask>31</dlr-mask>
<dlr-url>http://localhost:44669/dlr.pgsql.php?smscID=%i&dlr=%d&answer=%A&to=%p&from=%P&ts=%T&smsID=fe68ab21daf9e5844cae60d9347df2ba&charset=%C&kannel_id=%I</dlr-url>
</statusrequest>
<from>
<user>usernamehere</user>
<pass>passwd_here</pass>
<account>account_name_here</account>
<bininfo>MT</account>
</from>
<to>smsc_id_here</to>
</submit>
</message>
-----Original Message-----
From: george varghese [EMAIL PROTECTED]
Sent: 20 ??? 2007 ?.
To: seik
Subject:KANNEL XML PUSH
> Hi all,
> I am using kannel 1.4.1 for sms push .
> I tried to send xml from my application to kannel as a Push.
> I am getting 403 ( forbidden ) error.
> Please help to solve this problem.
> I used the following xml
> <?xml version="1.0" ?>
> <da><number>919444312345</number></da>
> <oa><number>6767</number></oa>
> <ud>hello</ud>
> <from>
> <username>user123</username>
> <password>user456</password>
> </from>
> <to>ATLnew2</to>
> </submit>
> </message>
> Please help me the correct format of the xml used to hit the kannel
>
> regards
> george