cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
528
Views
14
Helpful
2
Replies

Invoke Web services from UCCX 8.5

Muhammad Usman
Level 1
Level 1

Hi,

I want to invoke Restful Webservice from my script, also i want to play the output of that webservice to customer as prompt, can any body send me a sample scipt or guide me here about the process. Thanks

1 Accepted Solution

Accepted Solutions

Jonathan Schulenberg
Hall of Fame
Hall of Fame

Unless I'm missing something, HTTP REST would be a simple HTTP POST/GET operation. The CCX sample script repository shows examples of the HTTP-related steps. If you're looking for SOAP, here are a few examples:

https://supportforums.cisco.com/docs/DOC-26957

https://supportforums.cisco.com/docs/DOC-23899

Please remember to rate helpful responses and identify helpful or correct answers.

View solution in original post

2 Replies 2

Jonathan Schulenberg
Hall of Fame
Hall of Fame

Unless I'm missing something, HTTP REST would be a simple HTTP POST/GET operation. The CCX sample script repository shows examples of the HTTP-related steps. If you're looking for SOAP, here are a few examples:

https://supportforums.cisco.com/docs/DOC-26957

https://supportforums.cisco.com/docs/DOC-23899

Please remember to rate helpful responses and identify helpful or correct answers.

Anthony Holloway
Cisco Employee
Cisco Employee

To add to what Jon said, and the links he has provided, if what you want to play is text, then you'll need UCCX Premium with the optional Nuance TTS server.  However, if what you want to play is audio, then you'll just need to make sure it's in the proper codec/format for what your UCCX is configured for: either G711 or G279.

Play Text To Speech Example (assume that your HTTP response has been parsed via XML steps, and your text is in a String variable):

Play Prompt (--Triggering Contact--, TTS[http_response_text])

Play Remote HTTP Audio Example:

Play Prompt (--Triggering Contact--, URL[http://myserver.local/uccx/prompt1.wav])

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: