Jump to content


< Back to Forum


 

Sending Random Text With Numbers As A Voice


  • Please log in to reply

#1 ID2016 10 February 2017 - 06:06 AM

Hi,

 

The VG worked great with only numbers or only text. How can I code that it will allow to sent a random text - numbers and letters. For example if I need to send an address (not prerecorded).For example this message: The address of the lab is 123 Adam street Meron city zip 123456.

 

Thanks.



#2 SupportTeam 10 February 2017 - 06:27 AM

Are you referring to playing information to caller using TTS ? or something else?

 

If TTS then can you post the VoiceGuide trace capturing the call and post the .WAV files generated by TTS engine in the VoiceGuide's \temp\ subdirectory?



#3 ID2016 10 February 2017 - 07:42 AM

There is the zipped logs file.

The VG script name ReadText.vgs.

I am trying to send a random text that contains both text and numbers so it will be read at a run time.

Thank you.Attached File  LOGS02092017.zip   16.5KB   15 downloads



#4 ID2016 10 February 2017 - 07:45 AM

Just adding .WAV files that were generated in temp directory.

 

Yes it is using TTS to send the text.

 

Thank you.Attached File  LOGS02092017 (2).zip   85.73KB   15 downloads



#5 SupportTeam 11 February 2017 - 07:15 AM

Is the problem that the ZIP part of the text:

 

"Our address is 1234 Oak ave Tree city  zip 12376"

 

Is being converted by TTS to "Twelve thousand three hundred and seventy six" ? Or is something else the issue?

 

The vgTts trace was not attached so not sure which TTS engine is used n this system. Can you please attach the most recent vgTts trace file that captures system startup and the call being made?



#6 ID2016 14 February 2017 - 10:17 AM

Yes the problem is what you indicated:"Our address is 1234 Oak ave Tree city  zip 12376" is being converted by TTS to "Twelve thousand three hundred and seventy six" ?

 

I am attaching the logs and wav.

 

Please advise.

 

Thank you.Attached File  Logs02132017.zip   192.18KB   13 downloads



#7 ID2016 14 February 2017 - 10:31 AM

I forgot to mention that no vgTts logs were generated. 



#8 SupportTeam 14 February 2017 - 01:16 PM

I forgot to mention that no vgTts logs were generated.

 

Is the logging turned off in VG.INI file?

 

Can you please re-enable logging by setting all log options in the [Log] section of VG.INI to a value of 10 and then restart the VoiceGuide service.

 

Then make a call and post both the ktTts and the vgEngine logs generated.



#9 ID2016 15 February 2017 - 12:54 AM

All logs are enabled. ktTts are generating for other calls but not for the case that I mentioned. 



#10 SupportTeam 15 February 2017 - 01:07 AM

If the logs are enabled in VG.INI then vgEnigne and other logs (ktTts, ktTel, etc) must be created.

 

Can you please .ZIP up all the files created in VoiceGuide's \log\ subdirectory in last few days and post them here. We can then see what is happening on system.



#11 ID2016 15 February 2017 - 05:35 AM

Attached File  LOGS02142017.zip   5.49MB   15 downloadsHere are the log files.

 

It looks like if I add "." before the number in the sentence that I want to send as a voice, then this number will be stated as separate digits.

 

Is there any other way for this to work?

 

Thank you. 



#12 SupportTeam 15 February 2017 - 05:55 AM

The trace files uploaded cover a 10 day period, and it appears that VoiceGuide service was not restarted at all during that time.

 

Can you please stop and start the VoiceGuide service and then .ZIP post the trace files from today only - these logs will then contain the startup information that we need to see.



#13 ID2016 17 February 2017 - 10:48 AM

Attached File  LOGS02162017.zip   691.47KB   16 downloadsI restarted VG and also added space after every number. But now the call doe snot go through.

Attaching logs files.

Thank you.



#14 SupportTeam 17 February 2017 - 04:38 PM

Traces show that system was restarted at 17:26 and 17:30 and the outgoing calls were made.

Did you confirm the dialed numbers were ringing and the system played messages when those calls were answered?

 

For incoming calls the Config.xml is set to use a .WAV file as the script to use when incoming calls are answered, but there does not appear to be any incoming call attempts into this system after restart was made.

We recommend using a scirpt with a single Play module and

 

What TTS engine is being use don this system? Is it just the default TTS that came with Win2008 (Microsoft Anna) or is another TTS used?

Have you tried using the "context" XML tags when specifying the TTS to be spoken? eg:

 

Hello, your PIN number is <context ID = "number_digit">3432</context>



#15 ID2016 17 February 2017 - 11:56 PM

I do not use the script in Config.xml file.

Instead I call vgs script in either of two ways: via the OutboundCallLoader; or placing record directly into OutDial database from my program.

I use TTS Anna to translate words to speech. 

 

When I use vgs script to send only digits it all works fine. 

 

When I use a text that has numbers in it  using a different vgs script that also uses TTS Anna to say the message that is sent, at it speaks the digits as a complete numbers like one thousand four hundred etc instead of a separate digits. I need it to say a separate digits. I added spaces between the numbers but this stopped from receiving any voice message. it calls the phone number but nothing is being said.

 

My question  is how can I sent text that includes numbers but i want them to be read digits.

 

Thank.



#16 SupportTeam 19 February 2017 - 12:47 AM

Please put this as the text to be spoken:

 

Hello, your PIN number is <context ID = "number_digit">3432</context>

 

Copy above exactly as is. The <context ID = "number_digit">  section tells TTS engines how to speak out the number.