Connection Software

         Connection Software Ltd

Uploading ringtones using HTTP

With the It's Arrived service you can use a web URI to upload a RTTTL or RTX ringtone string to our library.


We have multiple servers, two of which are available for public use, so that in the event of an Internet failure you should still be able to connect to us. The two servers are and

Wherever you see you can use At least one of these servers should always be available and for maximum reliability you may wish to write your application to use should be unavailable for any reason.


You can use an HTTP, or HTTPS, POST to send your messages - but clearly the latter provides better security. You may use a GET rather than a POST, but GET has greater security issues, since you can very easily see the entire message including your Username and PIN on the URI line and suffers from truncation limitations.

POST header fields

When using the POST command you must specify the correct HTTP headers. In particular, the following must be set;

Content-Length: <the length of the query string>
Content-Type: application/x-www-form-urlencoded; charset="utf-8"


See Encoding Characters for information about how to encode messages that contain certain special characters.

To upload a RTTTL or RTX string

Parameter Maximum size Description
Username   Username - the Username required to access your It's Arrived account
PIN   PIN - the PIN required to access your It's Arrived account
Artist 20 The artist most commonly associated with the song
SongName 50 The full song name in plain English
Genre 3 The number associated with the song's genre. See Genre Values
Royalty 1 Royalty declaration for this song. See Royalty Values
Ringtone 1024 Ringtone RTTTL or RTX string. Special characters, such as <comma>, must be encoded according to the HTTP specification. For <comma> use %2C, for <colon> use %3A, for <equals> use %3D. See Encoding Characters.

Example - Using an RTX or RTTTL string (note that the body line has been broken for formatting, but that this is not an actual line break)

POST /uploadringtone HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset="utf-8"
Content-Length: 279



The Server will only respond back with either a library number, if successful,


or an error description, if unsuccessful. As there can be more then one error in the description, a semi-colon is used as a separator.

Error=song name in rtttl string is missing;Royalty value required

Dealing with Errors

  • If you are unable to establish a TCP/IP connection with then it is vital that you automatically failover to
  • If you receive a response code indicating an error condition DO NOT automatrically retry your request. For example if you are Out of Credit you will still be Out Credit. If you do enter a retry loop we may block your IP address as repeated retries may appear to us to be a Denial of Service attack.


SMS This page was last modified at 10:52 UTC on Tuesday June 09, 2009