this is a test of the static homepage

If it sounds too good to be true…

April 2nd, 2012 by Stefan Besling

…it usually is.

Unfortunately that applies, mostly, to the Nuvelld Queue we were so happy to announce just the other day.
As it turns out, Gustav Nuvelld was not actually a famous Swedish mathematician but in fact an infamous Swedish mailman who, instead of delivering his mail to its rightful recipients, dropped it into the sewers – giving rise to the now-common /dev/null concept.

Also, the image we were made to believe by usually credible sources to depict Nuvelld does, in fact, show Gösta Mittag-Leffler (the famous Swedish mathematician of the early twentieth century who, we are keen to stress, did not run off with Nobel’s wife and is not the reason there is no Nobel Prize for mathematics!).

On the bright side, VoiceObjects does indeed provide a way of leveraging the performance of /dev/null (surpassed only, we are told, by the performance of Mongo DB) by using vo.noopStatsWriter=true (in vo.properties). As strange as this may seem at first glance, it is actually a really useful capability when performing load tests that you do not want to be impacted by sub-par performance of test environment databases. Infostore records can flow from the VoiceObjects Servers producing them in a swift, steady stream – and you can focus your performance metrics on application and server. (Clearly, when moving to the production environment, you will also want to measure real Infostore DB throughput – in a separate test.)

We apologize for any and all inconveniences caused, and sincerely encourage you to always mind the gap.

For additional questions or comments, feel free to reach out to me on Twitter at @voxeostefan!

VoiceObjects 12 adds revolutionary Nuvelld Queue

April 1st, 2012 by Stefan Besling

When Gustav Nuvelld, the reclusive Swedish mathematician of the early twentieth century, published his singular masterpiece “On the parameterization of collapsible Hilbert spaces” in 1912, few of his colleagues took any note. When he died just a few months later in a boat accident the details of which could never be fully explained, nobody cared; his body was never found.
Only years later, with the works of celebrated physicists like Schrödinger, Planck, and Dirac would it become apparent in hindsight how far ahead of his contemporaries Nuvelld had really been. Einstein himself was quoted as saying that “If Nuvelld had lived to see quantum mechanics, we would be a lot closer to a Grand Unified Theory!”

Explaining his profound work in layman’s terms is almost impossible, yet the most important practical application of these penetrating insights is the counter-intuitive ability to almost arbitrarily speed up waiting in line – similar in nature to the famous befuddling Banach-Tarski paradox.

Now, a hundred years after its inventor’s death, Voxeo celebrates Nuvelld’s legacy by introducing the Nuvelld Queue to VoiceObjects 12. It represents a stunning breakthrough in performance for the Infostore usage data repository and is, to the best of our knowledge, the first product implementation using Nuvelld’s principles. It comes after years of internal research and countless prototypes tested, tuned, and polished by our best engineers.

Simply stated, the Nuvelld Queue gives you virtually unlimited scalability at constant performance and throughput. Whether you run 30 ports or 30,000 – with the Nuvelld Queue, Infostore data flows in a swift steady stream. Real-time data collection becomes feasible where formerly nightly dumps dominated.

This is great news for our many major enterprise customers who run ever-increasing amounts of traffic from voice, text and web channels on our systems and rely on rapid, integrated reporting. But even if your present needs are not yet as ambitious, you can still benefit.

Interested in drinking from the fire hose? VoiceObjects 12 will be made available to select customers and partners in a pre-release version soon. Let us know if you want in on the action! To secure your place, or for questions and comments, reach out to me on Twitter at @voxeostefan!

Separation of concerns

March 23rd, 2012 by Stefan Besling

Voxeo’s VoiceObjects lifecycle management platform is used by many large enterprises in various industries to build, run, analyze, and maintain their phone applications. Clearly then VoiceObjects needs to integrate with these organizations’ IT processes designed to protect both the internal integrity and stability of services, as well as caller’s data (specifically in environments dealing e.g. with credit card or other sensitive data).

In this article, I’ll look at how VoiceObjects supports some of these IT processes with a focus on access control and user management.

Development and Deployment

Typically, and for good reason, there is a fairly strict separation between the development of applications and their production deployment. After building, testing, and validating an application it is important that it goes into production unaltered. And once in production, it is crucial that no unplanned and unauthorized changes are made so as not to cause accidental yet costly outages.

On the development side, VoiceObjects provides the core role of a Designer. Designers work in Desktop for Eclipse to build applications, either alone or in teams, supported by collaborative development mechanisms such as object locking and versioning. Service Controllers are a slightly more elevated development-focused role; they can also deploy their applications within tightly defined boundaries in order to test them.

On the deployment side, the Server Controller is the key role. They have control of all deployment and monitoring capabilities, but cannot make changes to applications.

While strict separation is ideal in theory, “let me take a look” is of course routinely heard in practice and often inevitable for timely resolution of problem situations. So how can this be done safely? VoiceObjects provides the read-only user roles of Reviewer and Observer.
Reviewers can inspect projects and even leave comments for developers, yet they cannot make any changes to the applications themselves. This role is often used for Quality Assurance team members, or project managers.
Observers have read-only access to a deployment’s Control Center and can inspect call traffic, logs, error messages, and so on. Developers frequently have Observer access to production deployments, so they can assist with problems but cannot accidentally impact the system.

Four-Eye Principle

Another pair of tasks that are often kept separate is the administration of user accounts, and the actual operational work done with these accounts. This is particularly true in environments dealing with sensitive customer data (e.g. credit cards, bank accounts, etc.). One of the goals is to prevent rogue users from creating arbitrary new accounts for themselves, which they can then use to access protected information. To counter such attempts, VoiceObjects supports the “four-eye principle”.

The role of User Manager has been created specifically to work with user objects, and user objects only. When one User Manager creates a new user object, or modifies an existing one, this action needs to be cross-checked and approved by a second User Manager (or higher role) in order for the modification to be activated.

Independent of the specific user role, VoiceObjects also supports the delivery of credentials directly to users by email. This adds another level of indirection in that those creating or modifying a user object never get to see the password, which is automatically created by VoiceObjects. Additional policies control when and how often users can or need to change their password, which password strings are acceptable, and so on. Finally, an integration with existing user management frameworks (such as LDAP) is also possible.

Departmental Access

Large organizations sometimes want to use shared infrastructure differently in different departments, or in different regional offices. Still the central IT team needs to remain in charge of the overall installation and the collective set of deployments. Setups of this nature are ideally covered by the VoiceObjects Site concept of multi-tenancy.

Each site, corresponding to a department or regional office in the examples mentioned above, has its own sandbox within the single, enterprise-wide VoiceObjects installation. Within each such sandbox, all of the principles listed above can be employed, and full trees of users can be created and maintained. This enables each department, if necessary and desired, to maintain its own development/QA/deployment teams. They have full access to their own projects while being shielded from what other departments are doing. Each department can focus on their own work without the risk of impacting others, while IT can stay in control of the overall system.

In this setup, the Site Administrator role corresponds to the one in charge of each individual sandbox; the Server Administrator at the top corresponds to the central IT team managing the enterprise-wide VoiceObjects installation.

You can find all the details on VoiceObjects User Management in chapters 2 and 3 of the Administration Guide (PDF).

For questions and comments, reach out to me on Twitter at @voxeostefan!

E Pluribus Unum

March 19th, 2012 by Stefan Besling

When in the course of large deployments, it becomes necessary for one installation to dissolve the bands which have connected it with another, a decent respect to the opinions of our customers and partners requires that we should declare the causes which impel us to the separation.

In other words: While small to medium-sized deployments can be handled very well using the standard VoiceObjects clustering approach, matters get more interesting when you scale up to multi-thousand port installations that often also span different geographical locations e.g. for disaster recovery purposes. Using a single big cluster is impractical in this case, yet deploying multiple disconnected clusters adds the encumbrance of multiple Control Centers with separate monitoring and management commands.
To address this challenge, VoiceObjects 11 introduced the concept of the virtual cluster, which combines multiple “real” clusters into a deployment that can be monitored and managed as a unit: Out of many clusters, comes one virtual cluster.

The virtual cluster combines the flexibility of small-scale individual installations with the comfort of integrated monitoring and management. Its component units are loosely coupled and therefore easily replaceable. At the same time, it presents a unified, aggregated view and management interface that can be accessed through the graphical Control Center as well as through the SOAP-based Web Service Interface for custom monitoring and scripting.
In this sense, the virtual cluster is a piece in VoiceObjects’ cloud strategy, more on which we will provide over time in a series of blog postings.

When building a virtual cluster, we hold a number of pre-requisites to be self-evident:

  • All clusters must use the same Metadata Repository
    An integrated view can only be provided if all VoiceObjects clusters use the same  Metadata Repository since only then do they operate on the same underlying objects.
  • All clusters must run the same Server object
    Within the same Metadata Repository, all VoiceObjects clusters involved must also reference the same Server object. This ensures that they run the same set of services.
  • Server instance IDs must be unique across the virtual cluster
    In order to prevent conflicts and to allow for unique addressing, each individual server instance must have an ID that is unique across the entire virtual cluster.

In addition, certain settings must be respected in order to ensure the correct management of application caches across the virtual cluster.

What brings the virtual cluster together is the Virtual Control Center (VCC). Its configuration is easy – simply provide the list of component clusters with their server instances, and VCC does all the work of detecting what is or is not running at any given moment, aggregating views into a merged representation, and replicating commands across the virtual cluster. VCC even allows you to change this configuration dynamically in case you need to augment your cluster, or to change individual server instances.

On the “front end”, VCC exposes the exact same interface as a regular server instance – so clients such as Desktop for Eclipse and Desktop for Web can readily connect. The same is true for the VoiceObjects Web Service Interface, which enables you to create your own monitoring and maintenance scripts.

You can find detailed information about Virtual Control Center, including all requirements and configuration choices, in Appendix C of the Deployment Guide (PDF).

If you have any comments or questions, feel free to reach out to me on Twitter at @voxeostefan!

VoiceObjects 11.1 powers Mobile Web apps on Smartphones

January 30th, 2012 by Andreas Volmer

With the latest version of VoiceObjects, 11.1, the most visible and important addition was the new jQuery Mobile web driver that makes it possible to create great looking mobile web applications in like no time. If you have missed out on the developer Jam Session we did last week, be sure to take a peek at the slides from that webinar.

Also, we have updated the Prime Telecom sample application, which has been our demo application for multi-channel service implementation in VoiceObjects for quite a while now. It has received a polished, fancy new UI when used on Smartphones and Tablets. Having VoiceObjects 11.1 Desktop for Eclipse installed, go to our Demos and Templates page to download and install the Prime Telecom package to get started. You’ll learn how to create a self service application that provides a consistent user experience across IVR, text, and mobile channels, making best use of each of these channels.

Below, there’s some screenshots from Prime Telecom used on the iPhone.

Join our first Jam Session in 2012 – it is coming soon

January 19th, 2012 by swinterkamp

Our first developer jam session in 2012 is scheduled for Wednesday, January 25, 2012.

Andreas Volmer, Sr. Product Manager will talk about “iPhone, Android, Windows7: Creating Mobile Web Apps with VoiceObjects”

Creating mobile web applications with VoiceObjects has become easier again: We have integrated VoiceObjects with the JQuery mobile framework. Developers will now not only get a great, consistent out-of-the-box user interface on all relevant types of smartphones, but will also find it easy to tune the UI as needed.

In this webinar, Andreas will show you examples of the new mobile web interface, and explain what it takes to get there.

REGISTER NOW

Looking forward to welcome you in this session.

Welcoming JSON

January 10th, 2012 by Stefan Besling

JSON (short for JavaScript Object Notation) is a text-based representation of structured data, and as such an alternative to XML (Extensible Markup Language). JSON’s primary claim to fame is that when working with JavaScript, it can easily be transformed into JavaScript objects; however in general it is programming language-independent and can be used as a general purpose approach for data exchange. It has become increasingly popular especially in the context of RESTful interfaces.

The VoiceObjects Connector object has added comprehensive support for RESTful interfaces with the past few releases, and with VoiceObjects 11.1 we now also provide a variety of convenience mechanisms for dealing with JSON markup – XML has always been supported as the “native” language.

Assume we have a RESTful backend that returns the following JSON structure encompassing a user’s fictitious contact details:

{ "person":
{ "lastName":"Smith",
  "phoneNumber":12345,
  "address":{"streetAddress":"21 2nd Street", "postalCode":10021, "state":"NY", "city":"New York"},
  "age":25,
  "firstName":"John"
}}

Further assume that for the purpose of our application, we would like to extract the user’s first and last name as well as the city he lives in. How best to do this?

In previous versions of VoiceObjects, the answer would likely have been to use a Script object. This, of course, still works – but in 11.1 there is a much simpler way since VoiceObjects now implicitly and automatically converts JSON results into XML, on which you can then utilize XPATH expressions in the Result Mapping portion of the Connector object.
In our example, VoiceObjects automatically converts the JSON return value into the following XML structure (see below for more details on the conversion):

<person>
  <lastName>Smith</lastName>
  <phoneNumber>12345</phoneNumber>
  <address>
    <streetAddress>21 2nd Street</streetAddress>
    <postalCode>10021</postalCode>
    <state>NY</state>
    <city>New York</city>
  </address>

  <age>25</age>

  <firstName>John</firstName>
</person>

So we can use a Result Mapping as shown in this screenshot to extract first name, last name, and city:

Since the conversion from JSON to XML is not a one-to-one mapping, some ground rules need to be defined for boundary cases. They are as follows:

  • No XML attributes are used; everything is converted to elements.
  • If the JSON structure does not provide a “natural” XML root element that wraps the structure, then a wrapping outer element <root> is added.
  • If a list of items in JSON does not provide a “natural” wrapping XML element, then the wrapping element <array> is added.
  • XML-specific characters such as ampersand (&) or brackets (<,>) are automatically masked.

A simple example incorporating these rules would be the JSON structure

[1, "2<3", "a&b"]

which gets translated into the XML

<root>
<array>1</array>
<array>2&lt;3</array>
<array>a&amp;b</array>
</root>

RESTful backend interfaces sometimes also allow you to to specify your preferred result format, e.g. XML or JSON. Often this is done by setting the “Accept” header of your request appropriately.

VoiceObjects 11.1 lets you to do this, too, by setting an entry in the Connector object’s Parameter Set using a notation of the form #HeaderName#. So if you want to set the “Accept” header to “application/json” to indicate that you prefer a JSON result structure, you would do this:

For the Result Mapping inside Connector objects, the conversion from JSON to XML is done automatically. Outside of Connector objects, it is also possible to manually convert between XML and JSON using the two new Expression functions XML2JSON() and JSON2XML(). This uses the same conversion as that for Result Mapping.

As always, we’re looking forward to your feedback, so do not hesitate to contact us with any questions or comments you may have!

VoiceObjects 11.1

January 2nd, 2012 by Stefan Besling

First off, we’d like to take the opportunity to wish all our readers a happy, healthy, prosperous new year 2012!

And to contribute our part to a good start, we’d like to draw your attention to VoiceObjects 11.1, which is now available on both the Service Portal and the Developer Portal. Highlights include:

  • New jQuery Mobile driver
    The new jQuery Mobile driver for the mobile Web channel enables applications to use a near-native look and feel on iOS and Android devices. We’ll provide more details in a separate blog post soon.

         

  • Augmented Service-level configuration
    Rendering templates for the textual channels as well as libraries for dynamic Text-To-Audio (TTA) conversion can now be configured on the level of the Service object, making it easier to swap them out or to add new ones.
  • Enhanced JSON support
    The Connector object now provides built-in handling for responses in the JSON format and enables the use of the Result Mapping functionality on them. In addition, new Expression functions have been added to convert between JSON and XML. Here, too, a subsequent blog post is going to dig into more details and explore typical use cases.
  • Integration with external authentication frameworks (e.g. LDAP)
    The User object now provides additional configuration capabilities to easily connect to external authentication frameworks such as LDAP to facilitate single sign-on.

Give VoiceObjects 11.1 a try and let us know what you think!

Don’t miss Voxeo’s Customer Summit!

September 21st, 2011 by swinterkamp

Don’t miss our annual Voxeo Customer Summit which is scheduled for October 10-12,2011 in the JW Marriott Grande Lake in Orlando.

Get updates on Voxeo products and new features, network with customers, partners and friends of Voxeo and meet the Voxeo team.

Register today!

Looking forward to welcome you there!

VoiceObjects Implementation Analysis

July 29th, 2011 by Andreas Volmer

So, your VoiceObjects project has grown considerable from a humble start, new Modules are added on a daily basis, and you’re getting close to the user acceptance testing or going live date? At this point, you might want to do a few sanity checks on your VoiceObjects implementation, for example to verify consistency and completeness in event handling, tuning, and several settings that have an impact on reporting.

Now, going through your project object, opening and clicking your way through each object is of course a little cumbersome, to say the least. What if you could create simple, nifty call flow implementation reports with concise, easy-to-check lists, by just clicking a button?

“Wait!”, I hear you say, “VoiceObjects generates highly configurable, comprehensive, fully hyperlinked PDF documentation based on your applications. Why not use that?” And the answer is: Yes, please do! That documentation can indeed be customized to a high degree and is a great tool for checking the implementation. However, what I’m after here is much more focused, and will provide documents that provide one simple checklist or table at a time.

The solution that I am presenting here is based on the fact that VoiceObjects projects can be exported to VoiceObjectsXML (which is an XML format), and on XSL transformations (XSLT). All you need is a text editor (to edit XML documents) and a web browser. You’ll find sample code for download down below.

To get started, let’s focus on a simple task:

  • We want to get a sorted list of all Modules in your VoiceObjects application indicating whether the Enable History Tracking option is enabled or disabled (this option defines whether a Module will be part of the Module Sequence and Dominant Path Analysis reports in VoiceObjects Analyzer).
  • The list should have two parts; first a sorted list of names of all Module with History Tracking enabled, then all Modules with that option disabled.
  • The list should come as a simple HTML document that can be printed for documentation purposes, or copied and pasted into the full project documentation that our client is so eagerly waiting for.

The idea is to create an XSL transformation that takes the VoiceObjectsXML export file, parses it, filters out the data we’re interested in, and displays it in HTML. This is the XSL document that will do the trick:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
  <xsl:output method="xml" indent="yes" encoding="UTF-8"/>
  <xsl:template match="/VoiceObjectsXML">
    <html>
      <head>
        <title>VoiceObjects Implementation Report</title>
      </head>
      <body>
        <h2>History Tracking <em>Enabled</em></h2>
        <ul>
          <xsl:for-each select="module[@historyTracking='true']">
            <xsl:sort select="@name"/>
              <li><xsl:value-of select="@name"/></li>
            </xsl:for-each>
        </ul>
        <h2>History Tracking <em>Disabled</em></h2>
        <ul>
          <xsl:for-each select="module[@historyTracking='false']">
            <xsl:sort select="@name" />
            <li><xsl:value-of select="@name"/></li>
          </xsl:for-each>
        </ul>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>

If you have used the XPath query language before, this document will be an open book for you. XSL uses XPath expressions to browse through documents, filter for nodes with certain attributes, do sorting, and much more. What our sample XSL does is

  • locate the root <VoiceObjectsXML> node that every VoiceObjects project export file starts with;
  • generate a HTML header and some headlines;
  • iterate over all Modules in the VoiceObjectsXML document (node name: <module>), first selecting only those with the attribute historyTracking=’true’;
  • within each list, sort by and display the Module name (which is an attribute of the <module> element).

Now, we still need to know how to apply this XSL transformation to an existing project export file. Easy:

  1. Save your XSL transformation file in the same folder as your project export file. Let’s say you stored it under the name myTransformation.xsl.
  2. Now, open your VoiceObjects export file in a text editor, and insert a new line (referencing your xsl stylesheet) right after the first line:
            <?xml version="1.0" encoding="UTF-8"?>
            <?xml-stylesheet href="myTransformation.xsl" type="text/xsl" ?>
            <VoiceObjectsXML version="10.0">
              ...
            </VoiceObjectsXML>
  3. Save and close.
  4. Now, open that export file in your favorite web browser.

This is the result, when applied to the Prime Telecom sample application:

History Tracking Enabled

  • _Prime Telecom Portal
  • Call Back
  • Change Add-Ons
  • Change Bank Account Details
  • Change Email Address
  • Change Payment Settings
  • Change Postal Address
  • Enter new Credit Card
  • Main: Billing
  • Main: Customer Data
  • Main: Service Plan Mgr
  • Main: Support
  • Order Add-On
  • PIN Authentication (if necessary)
  • Present List of Add-Ons
  • Present Single Add-On
  • Transfer Call to Agent
  • Update Credit Card Expiration Date

History Tracking Disabled

  • Cleanup
  • Session Init

Obviously, this concept can be applied to a wide variety of checklist requirements. In the sample XSLT document that we provide in the link below, you will see how to generate comprehensive, ultra-focused overviews of …

  • … Layer objects that have “Layer State Logging” enabled / disabled, making sure that Business Analysts looking at the Personalization (or “Layer Usage Overview“) reports in VoiceObjects Analyzer will only be presented with Layer State reports that make actual business sense;
  • … all Tuning Parameters set on all dialog component objects;
  • … all Event Handlers, so as to verify consistency of all Event Handling implemented in your project and to check whether the Finish Task option was properly set on each Event Handler (which in turn is required for consistent reporting on Business Tasks);
  • … Input States with “Mask Caller Input” enabled / disabled (this is a feature that allows to mark Input objects as dealing with sensitive input such as credit card numbers or PINs)
  • … Menu objects and their menu items, to verify whether Menu options such as the Auto-Numbering, Return to the menu after subdialog processing, and others are properly set.

There’s of course many, many more report and checklists that you can generate this way. It’s a great technique to quickly check any aspect of your VoiceObjects implementation for accuracy, completeness and consistency.

And finally, here’s the download link promised earlier: VO_XSLT_Checklists.zip Extract this archive to some folder, then open PrimeTelecom.xml in a web browser (I’m using Firefox). It will display a series of sample checklists and tables. The XSLT document, VOanalysis.xsl, that is used here should be a good starting point for your own endeavors.