Picture of Khalil 5054
Registered 4 years 322 days
Khalil 5054 Wednesday, 5 August 2020, 01:03 PM
Reading a script at the start of the call using rcc api
Hi,

I was recently able to make a call using the rcc api, so my next objective is to read a script to the one I am calling, and wait for an answer.

I have looked at multiple options like https://wiki.innovaphone.com/index.php?title=Howto:Auto_Greeting, but was wondering if I could get a recommendation for how to do this?

Best Regards,
Khalil
Andreas Fink
Moderator Registered 13 years 110 days
Andreas Fink (innovaphone) Wednesday, 5 August 2020, 01:08 PM
Re: Reading a script at the start of the call using rcc api
Hello Khalil,

by "read a script" do you mean a Text to Speech application?

Best Regards
Andreas Fink
Picture of Khalil 5054
Registered 4 years 322 days
Khalil 5054 Wednesday, 5 August 2020, 01:17 PM
Re: Reading a script at the start of the call using rcc api
Hi Andreas,

Yes, I would like a message to be read via text to speech, if that is possible..

Best Regards,
Khalil
Andreas Fink
Moderator Registered 13 years 110 days
Andreas Fink (innovaphone) Wednesday, 5 August 2020, 01:39 PM
Re: Reading a script at the start of the call using rcc api
We have no text-to-speech engine in our API. You will need to create a WAV faile and convert it to apropriate codec (like G711 or OPUS.

This file can be conifgured at a Waiting Queue Object in the PBX. With this Waiting Queue Object it is possible to call the destination and play the audio file after connect.

Wone thing is not cleare for me, what do you mean by "wait for an answer"?

Best Regards
Andreas Fink
Picture of Khalil 5054
Registered 4 years 322 days
Khalil 5054 Wednesday, 5 August 2020, 01:59 PM
Re: Reading a script at the start of the call using rcc api
Thanks sounds like there is a possibility to make what I want work. So first, what I mean by wait for an answer is that, the script will say something like: "can you take this shift", then ones being called need to submit an answer, how they answer is not important as long as we are able deduce whether they can or not..

In this documentation: https://wiki.innovaphone.com/index.php?title=Howto:Using_the_Voicemail_object_as_a_post_call_review it recommends using http://www.fromtexttospeech.com/ to create the script and then convert it using https://www.innovaphone.com/en/services/support/convert.html , with this conversion be appropriate codec?

Do you have more specifics on how to use waiting queue object ?

Best Regards,
Khalil
Andreas Fink
Moderator Registered 13 years 110 days
Andreas Fink (innovaphone) Wednesday, 5 August 2020, 05:29 PM
1 of 1 users consider this post helpful
Re: Reading a script at the start of the call using rcc api
If you expect a DTMF tone as answer it could be visible as CallInfo.

Regarding Waiting Queue, you may review this Wiki Article based on the Book from iCT training:
http://wiki.innovaphone.com/index.php?title=Course13:IT_Connect_-_07_Waiting_Queues

However, it should be possible to start a call from Wating Queue , instead from User Object.

The converter web page you referred to is exactly where you could prepare your audio announcements - it will deliver multiple files in different formats. In case you want to create announcements on the fly, you have to convert the files using SoX or ffmpeg.

Best Regards
Andreas
Picture of Khalil 5054
Registered 4 years 322 days
Khalil 5054 Thursday, 6 August 2020, 11:30 AM
Re: Reading a script at the start of the call using rcc api
Thanks this was super helpful, the only thing I haven't figured out is how I will be able to call certain someone and have the waiting queue object play the audio file. So I was able to call the waiting queue object directly and it started playing the audio file immediately because I set the time to play setting to 0, but how would I establish a call to someone and then play the audio file from the waiting queue object?

Really appreciate your help Andreas smile

Best Regarnds,
Khalil
← You can define your color theme preference here