I'm trying to send an sms using a perl script that posts XML to Kannel.
But I'm getting "Authorization failed for sendsms" .
My kannel.conf section for the account is:
group = sendsms-user
username = smssender
password = acc355
My XML is:
$message =<<EOF;
<?xml version=\"1.0\"$encoding?>
<message>
<submit>
<da><number>(number to send sms to)</number></da>
<oa><number>(number sms is from)</number></oa>
<ud>test message</ud>
<dcs>
<mclass>mclass</mclass>
<coding>coding</coding>
<mwi>mwi</mwi>
<compress>compress</compress>
<alt-dcs>alt-dcs</alt-dcs>
</dcs>
<pid>pid</pid>
<rpi>rpi</rpi>
<from>
<username>smssender</username>
<password>acc355</password>
</from>
</submit>
</message>
EOF
I'm posting to http://localhost:13014/cgi-bin/sendsms
What have I got wrong in the XML?
Thanks
Tony