For the udh and text to work they have to be url-encoded though i.e. udh=%06%05%04%%15%81%00%00 etc.
I think that the 06050415810000 is working only for Nokia(smart messaging) but maybe I am wrong.
-----Original Message-----
From: Gustav Tresselt [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 26, 2003 3:21 PM
To: [EMAIL PROTECTED]
Subject: Re: RingTone
> I get a string like this [1] from a ringtone generating program.
> Can someone please tell me how to send it trough kannel?
>
> Thank you.
>
> [1]
> 024A3A51D195CDD004004D34B694210228E1C8109908448B483126E241065640069040E7084265D040E69A4186D642271642669642070042069642260042664E00
For this kind of Smart Messaging you need an UDH (a header).
Use the UDH 06050415810000, which is "standard" for ring tones.
(It should sometimes be different/longer when the tone is split
up, but Kannel will handle this).
-----------
Example for returning ringtone from webpage (if you've set up
Kannel to return messages from a webpage)
use the following headers:
X-Kannel-UDH: 06050415810000
Content-Type: application/octet-stream
Then the message (actual ringtone):
024A3A51D195CDD004004D34B694210228E1C8109908448B483126E241065640069040E7084265D040E69A4186D642271642669642070042069642260042664E00
-----------
For push-sending fill in your values below:
http://<localhost_or_kannel_machine_IP>:13013/cgi-bin/sendsms?username=<user>&password=<pass>&to=<destination>&udh=06050415810000&text=024A3A51D195CDD004004D34B694210228E1C8109908448B483126E241065640069040E7084265D040E69A4186D642271642669642070042069642260042664E00
(The url above should work with a standard set up pushsms with an account (user/pass))
greetings,
Gustav Tresselt
