Get IVR variable via client API

Talk with others about developing applications for Switchvox

Moderators: bmdhacks, dpodolsky, tristand, jwitt, joshuas

Get IVR variable via client API

Postby 935main » Thu Mar 22, 2012 3:29 pm

It doesn't appear that any of the client APIs include the capability to get the current state of a global IVR variable - is that correct? We have a few global switches that admins can change by dialing an extension and toggle the variable but I'd really like to be able to have a Switchboard panel display the current state of those variables visually. Any way to do that?

I can see how to add an IVR, remove an IVR, get an IVR's basic information...but no way to get the current state of a named global IVR variable. :(
935main
Newsterisk
 
Posts: 1
Joined: Thu Mar 22, 2012 3:26 pm

Re: Get IVR variable via client API

Postby dpodolsky » Thu Mar 22, 2012 5:00 pm

Yes we do have these. You were probably looking at creating and viewing IVR extensions, and below that is a section to interact with different pieces of IVRs (global Variables and ring hints).

With the API you can add, get info, remove, and update.

IVR Global Variables
Name Description
switchvox.ivr.globalVariables.add Add a new Global IVR Variable.
switchvox.ivr.globalVariables.getList Gets all Global IVR variables and their values.
switchvox.ivr.globalVariables.remove Removes a global IVR variable.
switchvox.ivr.globalVariables.update Updates the value of a Global IVR variable.
dpodolsky
Oldsterisk
 
Posts: 325
Joined: Thu Apr 23, 2009 2:35 pm


Return to Switchvox Developers

Who is online

Users browsing this forum: No registered users and 0 guests