cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
748
Views
5
Helpful
4
Replies

UCCX playing music or a prompt while the script processes a SOAP call.

rastetterj
Level 1
Level 1

Hello,

 

I have a SOAP call that takes a relatively long time to process, ~15 seconds.  I would like to trigger MOH or some type of prompt while the script is processing the data, once the result is returned I would like the music/ prompt to stop and deliver the result to the customer.

Please let me know what additional information you need.

4 Replies 4

johnirey1
Level 1
Level 1

Unfortunately, there is no built in way to do this.  If you didn't need the output of the request, you could just use the trigger application step to process in the background.  Not helpful for you though..

I was hoping this was not the case.  Any "creative" ideas you can offer to try and make this work?

I really don't like the prolonged silence.

It isn't elegant, but in theory you could:

  • fire off an application that goes and fetches the data
  • play some audio that is longer than the data fetch
  • During the audio, the background process gets the data and puts it somewhere (like a simple DB table)
  • when the audio ends, go query the DB for a fast response.

 

It isn't perfect, because your 15 second processing time may vary, but it could work.

This could work!  Thanks.  I will give it a shot.