Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

Have you ever wondered why the jtel System has so many variables available in the configuration of the Service Number parameters?

...

  • So why so many?
  • And why does the list keep on growing with every release?
  • And what can I do with them?

Demo Scenario

To help you understand, let's consider a simple demo scenario where the system is shared by several branch offices.

...

Warning
iconfalse

You start to think that this is all getting a bit repetitive ...

Is there a Better Way?

The good news is: yes, there is!

You only have to build the application once, and you can re-use the application for all three service numbers.

Here's what to do:

Use Variable Objects

Variable Objects in the jtel IVR are used to execute the same functionality as "normal" objects, but based on the contents of a variable.

...

So putting the value 2 in the ID - Voice Prompt field will play "JTEL - Willkommen".

Info
iconfalse

Try it out!

Use Variables

You can also use variables here. That's where these "variable" objects get their names.

...

Info
iconfalse

Try it out!

Hint: add a variable assignment object directly after the start object. Then change the ID value in the Play Voice with variable ID object to $myPrompt.

Populate the Variables using the Service Number Parameters

Now for the trick with the service number parameters.

...

Info
iconfalse

Get the idea?

You can now build the application just once, using variable objects for:

  • The opening times / holidays check object
  • The play voice objects
  • The connect to sales and support objects

Finished Application

The finished application will look something like this:

Variable Objects

Let's look inside the variable objects. As you can see, these all reference parameters (variables) defined in the service number parameters.

Branch Opening Hours

Welcome

Closed

Connect Sales

Connect Support

Service Number Parameters

And finally let's see the relevant service number parameters.

Other Service Numbers

The other two service numbers would be configured in the same way - using the same routing application, but different sets of parameters for the prompts, opening times and holiday lists, and connect destinations.

Info
iconfalse

Remember: you always need to specify the language parameter for the service!

Conclusions

Using "variable" objects enables you to create generic, re-usable applications.

...