Can Voice SMS spell out words?

Help with Voice SMS

Can Voice SMS spell out words?

Postby Jonathan » Thu Mar 04, 2010 5:52 pm

You can get Voice SMS to spell out the letters in a word instead of pronounce it by using some simple XML tags.
To mark certain words requiring spelling, use the <spell></spell> tag.

E.g. <a>This is a test message. <spell>language</spell>. I just spelt the word language. </a>

To use the Text-to-Speech (TTS) XML, your message needs enclosing in an XML tag. If you're not needing to set any other TTS XML options for the whole message, make sure you wrap it with <a></a> tags.

If you are using the ReST API to send Voice SMS you will need to wrap your message body in CDATA tags. An example Voice SMS message would look like:

<?xml version='1.0' encoding='UTF-8'?>
<messages>
<message>
<from>447000000000</from>
<to>447000000000</to>
<type>Voice</type>
<body><![CDATA[<a>This is a test message. <spell>language</spell>. I just spelt the word language. </a>]]></body>
<lang>en-GB</lang>
<retries>1</retries>
</message>
</messages>
Jonathan
 
Posts: 7
Joined: Thu Mar 04, 2010 5:48 pm

Return to Voice SMS



cron
© Esendex Ltd 2010
Company Registration Number: 04217280