Page 1 of 1

pronouncing each digit indvidually from dialpaln

PostPosted: Sat Dec 14, 2013 6:33 pm
by saleh
I've a 10 digits telephone number in the dialplan in a variable, say $xyz.
if I use, same=>n,swift("${xyz}), swift pronounces in billion, million etc. How can I tell swift to pronounce each digit individually?

Re: pronouncing each digit indvidually from dialpaln

PostPosted: Mon Dec 16, 2013 10:49 am
by Patrick
Saleh,

You should be able to get the digits read by inserting a comma after each number

from the command line

swift 1,2,3,4,5
gets you one two three four five

whereas
swift 12345
gets twelve thousand three hundred forty five