Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: kamalnba on October 24, 2019, 09:51:15 PM

Title: Logic to play Customer entered Phone number using Cordinals - Composer.
Post by: kamalnba on October 24, 2019, 09:51:15 PM
Hey There,


I am building Call Flow in composer and able to capture Customer 10 digit number using input block and dtmf source. I have stored the input into a vairiable, now i want to use the captured number and play back to customer to get the confirmation input. I am thinking to play the captured number using it using vox files in Cordinals. Any idea how this can be achieved.

TYA

Title: Re: Logic to play Customer entered Phone number using Cordinals - Composer.
Post by: cavagnaro on October 24, 2019, 11:04:24 PM
Just do it in Javascript, split it into an array and play each array element with a For
Title: Re: Logic to play Customer entered Phone number using Cordinals - Composer.
Post by: kamalnba on October 25, 2019, 02:59:13 PM
[quote author=cavagnaro link=topic=11469.msg52248#msg52248 date=1571958264]
Just do it in Javascript, split it into an array and play each array element with a For
[/quote]

Thank you for the reply, I am not really good at JS. Is there any script or example available which I can refer to create one?
Title: Re: Logic to play Customer entered Phone number using Cordinals - Composer.
Post by: cavagnaro on October 25, 2019, 03:01:34 PM
Google is your friend... And how on earth you ended up as Composer developer at all? [emoji22][emoji22]

Enviado de meu SM-G9650 usando o Tapatalk

Title: Re: Logic to play Customer entered Phone number using Cordinals - Composer.
Post by: kamalnba on October 25, 2019, 03:18:04 PM
[quote author=cavagnaro link=topic=11469.msg52253#msg52253 date=1572015694]
Google is your friend... And how on earth you ended up as Composer developer at all? [emoji22][emoji22]

Enviado de meu SM-G9650 usando o Tapatalk
[/quote]

;D ;D Will post the results of it soon..
Title: Re: Logic to play Customer entered Phone number using Cordinals - Composer.
Post by: kamalnba on November 08, 2019, 04:35:09 PM
[quote author=cavagnaro link=topic=11469.msg52253#msg52253 date=1572015694]
Google is your friend... And how on earth you ended up as Composer developer at all? [emoji22][emoji22]

Enviado de meu SM-G9650 usando o Tapatalk
[/quote]

I am able to play the cardinals without Java Script and by using Variables and different logic. ;)
Title: Re: Logic to play Customer entered Phone number using Cordinals - Composer.
Post by: cavagnaro on November 08, 2019, 04:37:52 PM
8)  Nice you made it work. There are many ways, yet JS is the easier tho ;) But using Composer loops will work too