Voice message variables

Moderator: areski

Voice message variables

Postby wilsonsaints » Wed May 15, 2013 1:43 pm

Hi all,

It is possible to use variables in the TTS voice message, such as:

"Hello Sir #CONTACT_NAME#. The payment of #CONTACT_JSON_PARAMETER1# is delayed".

Thank you,

Wilson
wilsonsaints
 
Posts: 3
Joined: Wed May 15, 2013 1:31 pm

Re: Voice message variables

Postby areski » Wed May 15, 2013 3:32 pm

Yes you can address any fields from contact data.

-- {last_name}
-- {first_name}
-- {email}
-- {country}
-- {city}
-- {contact}

As well as the additional fields that you inserted in Json can be used,
To give an example if you have in your json field :
{"age" : "32"}
Then in TTS you can use the following text :
Hello {last_name}, is your age {age}
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Voice message variables

Postby wilsonsaints » Wed May 15, 2013 4:40 pm

Newfies is amazing. Thank you very much.
wilsonsaints
 
Posts: 3
Joined: Wed May 15, 2013 1:31 pm

Re: Voice message variables

Postby areski » Wed May 15, 2013 5:02 pm

Glad to hear some great feedback
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Voice message variables

Postby joedialer » Tue Sep 24, 2013 9:37 pm

The variables are not working in the survey play node.
The TTS is reading the actual variable instead of replacing it with the data from the phone book.
For example:
I type the following in the Play script: {last_name} I also tried %last_name% and $%last_name%
But when the campaign ran it just read me the above expression instead of the person last name.
joedialer
 
Posts: 9
Joined: Tue Sep 24, 2013 2:54 am

Re: Voice message variables

Postby areski » Tue Sep 24, 2013 10:56 pm

That should work seamlessly with {last_name}.
If the problem persist on your installation I will recommend to contact our team for support.
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Voice message variables

Postby joedialer » Tue Sep 24, 2013 11:09 pm

I wan to make sure I am doing this from the right page.
I go to Survey Module, I add a new Survey.
I name the Survey and select English for TTS
On the section I choose 'Play Message'
I give the message a title, but do not select any sound files
Then I click on the edit script button and I type the following:
Hello your name is {last_name}
and I click complete survey.

An I missing something?
joedialer
 
Posts: 9
Joined: Tue Sep 24, 2013 2:54 am

Re: Voice message variables

Postby areski » Tue Sep 24, 2013 11:13 pm

That sounds correct but you have to make sure that your imported contacts have a value for the last_name field
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Voice message variables

Postby joedialer » Tue Sep 24, 2013 11:16 pm

I manually added the contact to test. I entered first name and last name for the contact.
Does TTS not work with manual contact entry?
joedialer
 
Posts: 9
Joined: Tue Sep 24, 2013 2:54 am

Re: Voice message variables

Postby areski » Tue Sep 24, 2013 11:22 pm

it does work with manual entries
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Next

Return to Installation

Who is online

Users browsing this forum: No registered users and 19 guests

cron