A place to ask questions, connect with others, and stay in the know
I have an scenario where I want to record an audio and send it to a third party service just after being recorded and during execution of the callflow.
A very simple callflow will be like the one I show here. User utterance is recorded using <record> tag and then recorded utterance is sent to a 3rd party service via an HTTP REST request.
Record block has an "Output Result" property which assigns the collected data to a user-defined variable for further processing. I would expect to have a file descriptor of the audio in this variable so it can be sent to the service. However, I'm receiving a string with the file path ('file://C:\\Program Files\\GCTI\\gvp\\GVP_Media_Control_Platform\\callrec\\0184024E-1000667E\\callrec.0184024E-1000667E.230824032157.wav').
I've take a look at the generated code and I've seen how "Output Result" assigned variable is being assigned to a new variable like this:
<assign name="AppState.record_file" expr="'file://' + Record1RECORD$.dest" />
This explain why file path is received instead of file content. Indeed, if I edit generated code as:
<assign name="AppState.record_file" expr="'Record1RECORD" />
, then I receive the audio propperly.
Does anybody know if there is a bug related to code generation or am I missing something?
Thanks in advance,
Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources
Every year, Genesys® orchestrates more than 70 billion remarkable customer experiences for organizations in more than 100 countries. Through the power of our cloud, digital and AI technologies, organizations can realize Experience as a Service℠, our vision for empathetic customer experiences at scale. With Genesys, organizations have the power to deliver proactive, predictive, and hyper personalized experiences to deepen their customer connection across every marketing, sales, and service moment on any channel, while also improving employee productivity and engagement. By transforming back-office technology to a modern revenue velocity engine Genesys enables true intimacy at scale to foster customer trust and loyalty.