JavaScript

CallFire enables you to use basic JavaScript within your Callfire XML tags. The supported tags are <setvar>, <stash>, <if>, <equal> and <notEqual>.

The following example checks to see whether ${call.lastinput} (is greater than 5700 and less that 6305) or (greater than 102 and less than 300):


read-my-pin

A simple way to increment a variable might be the following:

${questions} + 1

In-built JavaScript functions are also available — example isNAN(string):

More JavaScript

For more information, visit this list of built-in functions!