Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Invoke Web services from UCCX 8.5

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
VIP Super Bronze

Invoke Web services from UCCX 8.5

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.

2 REPLIES
VIP Super Bronze

Invoke Web services from UCCX 8.5

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.

Re: Invoke Web services from UCCX 8.5

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.

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.
272
Views
14
Helpful
2
Replies
CreatePlease to create content