I'm trying to have the call answered and speak in english, then spanish then french. However it generates 500error whenever i have the 2nd <speak> tag in the xml.
it didnt work like this
Code: Select all
<vxml version = "2.0" ><property name="inputmodes" value="dtmf"/><property name="interdigittimeout" value="5s"/><form id="getInput"><field name="pin" type="digits?minlength=1;maxlength=15"><prompt><voice name="Tom">Please, enter your pin now.</voice><speak xml:lang="es-MX"><voice name="Javier">Hola! Para el espagñol, por favor, pulse dos.<break/><break/></voice></speak>[b]<speak xml:lang="fr-CA">[/b]<voice name="Julie">Pour continuer en français, presser trois</speak></voice></prompt></field><noinput>We did not receive your request<reprompt/></noinput><noinput count="3">Sorry, I can't hear you, please try you call again later. Goodbye.<disconnect/></noinput><block><submit namelist="session.telephone.ani pin session.telephone.dnis session.id" next="vxml_plum.pl"/></block></form></vxml>
Code: Select all
<vxml version = "2.0" ><property name="inputmodes" value="dtmf"/><property name="interdigittimeout" value="5s"/><form id="getInput"><field name="pin" type="digits?minlength=1;maxlength=15"><prompt><voice name="Tom">Please, enter your pin now.</voice><speak xml:lang="es-MX"><voice name="Javier">Hola! Para el espagñol, por favor, pulse dos.<break/><break/></voice></speak><voice name="Julie">Pour continuer en français, presser trois</voice></prompt></field><noinput>We did not receive your request<reprompt/></noinput><noinput count="3">Sorry, I can't hear you, please try you call again later. Goodbye.<disconnect/></noinput><block><submit namelist="session.telephone.ani pin session.telephone.dnis session.id" next="vxml_plum.pl"/></block></form></vxml>
http://www.plumvoice.com/docs/dev/voicexml:tags:speak
http://www.plumvoice.com/docs/dev/voicexml:tags:voice
i tried
<voice xml:lang="fr_fr"> and
<speak xml:lang="fr-CA">
thank you
sasa