Questions and answers about IVR programming for Plum DEV
Moderators: admin, support
-
goochalba
- Posts: 18
- Joined: Wed Jun 13, 2012 9:01 pm
Post
by goochalba »
Hi,
Which voice is the default voice for the demo site? It is a female voice. And if I want to try different voices using the following code
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<block>
<prompt>
Hi
</prompt>
<assign name="CallerID" expr="session.telephone.ani"/>
<submit next="./jsp/commuter.jsp" namelist="CallerID"/>
</block>
</form>
</vxml>
What is the best way to do it? I see there is a <voice> tag but I am not sure where to put it? Also how do I know which
voices I have available?
Thanks in advance!
Mike
-
support
- Posts: 3632
- Joined: Mon Jun 02, 2003 3:47 pm
- Location: Boston, MA
-
Contact:
Post
by support »
Hi,
The default voice for AT&T Natural Voices is "crystal.
The list of voices for AT&T can be found here:
http://www.plumvoice.com/docs/dev/devel ... erence:tts
Here is some sample code that allows you test the voices:
Code: Select all
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
<form>
<field name="pinnumber" type="digits">
<prompt>
<voice name="mike">
Please enter your PIN.
</voice>
</prompt>
<filled>
<prompt>
<voice name="mike">
You entered
<say-as type="digits">
<value expr="pinnumber"/>
</say-as>
</voice>
</prompt>
</filled>
</field>
</form>
</vxml>
Hope this helps.
Regards,
Plum Support
-
goochalba
- Posts: 18
- Joined: Wed Jun 13, 2012 9:01 pm
Post
by goochalba »
Works great thank you!