Author Topic: IVR Routing Variables and manipulation functions  (Read 838 times)

Offline SimonB

  • New Member
  • *
  • Posts: 1
  • Country: gb
  • Karma: +0/-0
    • View Profile
IVR Routing Variables and manipulation functions
« on: June 28, 2019, 09:47:20 AM »
Hi all,

New here and looking for some guidance, or links to help with IVR routing workflows handling.

I have the basics down, can read DB etc and handle call flows and collectings digits etc.

However, I am struggling to find information or objects to allow me to manipulate variables for logic, for example;

I retrieve an XML string from a web service call, I need to inspect the returned string, find something and extract value to a variable.

So, i get back, for example <return><ID>123</ID><Name>Test</Name><Age>23</Age></return> into a single variable.
How would I grab a tag from that return string to another variable?
In other IVR products and languages, e.g. c# I would have something like index = variable.find("<Age>") and could extract info with something like variable.mid(index+5,2)

Thanks in advance
Simon


 

Sitemap 1 2 3 4 5 6 7 8 9 10