We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Language pt-BR

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
sisinternet
Posts: 8
Joined: Fri Mar 19, 2010 4:46 pm

Language pt-BR

Post by sisinternet »

Hello,

We ask that the language was habilta pt-BR on our account.

Today we received the return that was enabled when more test verified that the log was not enabled, the following error.

###############################################################

Message from ASR engine:

---------

SWI_ERROR_GENERIC| error| canonicalizeDefaultLanguage | Unable to load language 'pt-BR'!

---------
bargein set to true

INPUTMODES set to "DTMF VOICE"

Audio segment added to prompt queue from TTS application/synthesis+ssml for:

---------

<?xml version='1.0'?><speak>

A serious error of type </speak>
---------

bargein set to true

INPUTMODES set to "DTMF VOICE"

Audio segment added to prompt queue from TTS application/synthesis+ssml for:

---------

<?xml version='1.0'?><speak>error.grammar.choice</speak>

---------

bargein set to true

INPUTMODES set to "DTMF VOICE"

Audio segment added to prompt queue from TTS application/synthesis+ssml for:

---------

<?xml version='1.0'?><speak> has occurred. Exiting. </speak>

---------

VXI::exit_element()

starting playback: bargein=true, inputmodes="dtmf speech"

Newly queued prompts are now being played
###############################################################

Could you please check.

Thank´s

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Language pt-BR

Post by support »

Hi,

Could you please provide the code that you are using to test this IVR issue?

We have tested the following code and have found no issues:

rsprosodytest.php:

Code: Select all

<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
    <form>
        <block>
            <prompt>
                This sentence uses the default prosody settings.
                    <speak xml:lang="pt-BR"><voice name="Raquel" gender="female">
                      <prosody volume="25.0">
                        Olá!. Meu nome é Raquel. O tempo está hoje ensolarado.
                      </prosody>
                    </voice></speak>
            </prompt>
        </block>
    </form>
</vxml>
Regards,
Plum Support

sisinternet
Posts: 8
Joined: Fri Mar 19, 2010 4:46 pm

Re: Language pt-BR

Post by sisinternet »

Here is a snippet:

Code: Select all

<?xml version="1.0" encoding="ISO-8859-1"?>
<vxml version="2.1" xml:lang="pt-BR">
  <!-- INICIO MENU -->
  <menu dtmf="false" scope="dialog" id="menuPrincipal">
    <prompt bargein="true">
      Seja bem vindo ao portal de voz da Brascargo.
      Fale a qualquer momento.

      Entregas.
      Coletas.
      Baixas.
      Armazenagens.
      Contatos.
      Repetir opções.
    </prompt>
    <choice next="#entrega">Entrega</choice>
    <choice next="#coleta">Coleta</choice>
    <choice next="#baixa">Baixa</choice>
    <choice next="#servicoIndisponivel">Armazenagen</choice>
    <choice next="#contatos">Contatos</choice>
    <choice next="#menuPrincipal">Repetir opcoes</choice>
    <choice next="#menuPrincipal">Repetir</choice>
    <choice next="#menuPrincipal">Opcoes</choice>
  </menu>
  <!-- FIM MENU -->

  <!-- INICIO MENU ENTREGA -->
  <menu dtmf="false" scope="dialog" id="entrega">
    <prompt bargein="true">
      Consulta Simples.
      Consulta Detalhada.
      Consulta via S,M,S.
    </prompt>
    <choice next="Consultas/SimplesNF.aspx">Consulta Simples</choice>
    <choice next="Consultas/SimplesNF.aspx">Simples</choice>
    <choice next="Consultas/DetalhadaNF.aspx">Consulta Detalhada</choice>
    <choice next="Consultas/DetalhadaNF.aspx">Detalhada</choice>
    <choice next="#servicoIndisponivel">Consulta via SMS</choice>
    <choice next="#servicoIndisponivel">Via SMS</choice>
    <choice next="#servicoIndisponivel">SMS</choice>
  </menu>
  <!-- FIM MENU ENTREGA -->  
</vxml>


Following the structure that sent sample is pronounced in Portuguese but the option to speak is not recognized.

Code: Select all

<?xml version="1.0" encoding="ISO-8859-1"?>
<vxml version="2.1" xml:lang="pt-BR">
  <!-- INICIO MENU -->
  <menu dtmf="false" scope="dialog" id="menuPrincipal">
    <prompt bargein="true">
		<speak xml:lang="pt-BR">
		<voice name="Raquel" gender="female">
		<prosody volume="25.0">
		  Seja bem vindo ao portal de voz da Brascargo.
		  Fale a qualquer momento.

		  Entregas.
		  Coletas.
		  Baixas.
		  Armazenagens.
		  Contatos.
		  Repetir opções.
		</prosody>
		</voice>
		</speak>
    </prompt>
    <choice next="#entrega">Entrega</choice>
    <choice next="#coleta">Coleta</choice>
    <choice next="#baixa">Baixa</choice>
    <choice next="#servicoIndisponivel">Armazenagen</choice>
    <choice next="#contatos">Contatos</choice>
    <choice next="#menuPrincipal">Repetir opcoes</choice>
    <choice next="#menuPrincipal">Repetir</choice>
    <choice next="#menuPrincipal">Opcoes</choice>
  </menu>
  <!-- FIM MENU -->

  <!-- INICIO MENU ENTREGA -->
  <menu dtmf="false" scope="dialog" id="entrega">
    <prompt bargein="true">
      Consulta Simples.
      Consulta Detalhada.
      Consulta via S,M,S.
    </prompt>
    <choice next="Consultas/SimplesNF.aspx">Consulta Simples</choice>
    <choice next="Consultas/SimplesNF.aspx">Simples</choice>
    <choice next="Consultas/DetalhadaNF.aspx">Consulta Detalhada</choice>
    <choice next="Consultas/DetalhadaNF.aspx">Detalhada</choice>
    <choice next="#servicoIndisponivel">Consulta via SMS</choice>
    <choice next="#servicoIndisponivel">Via SMS</choice>
    <choice next="#servicoIndisponivel">SMS</choice>
  </menu>
  <!-- FIM MENU ENTREGA -->  
</vxml>

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Language pt-BR

Post by support »

Hi,

The reason you are encountering this error is because you are attempting to do Portuguese speech recognition for your IVR application. This is noted within this line in your IVR code:

Code: Select all

<vxml version="2.1" xml:lang="pt-BR">
Currently, we do not support pt-BR as a speech recognition option for our IVR platform, as noted here under US production hosting:
For speech recognition, we currently only offer American English speech recogition, Spanish speech recognition, French-Canadian speech recognition for hosting. If you are interested in any other speech recognition languages, please contact your sales representative.
Please do not confuse this with pt-BR as a Realspeak text-to-speech (TTS) voice that is available for hosting.

Regards,
Plum Support

Post Reply