Archive for the ‘Uncategorized’ Category

Agile bug tracking with Skype

Monday, April 1st, 2013

Typically, our blog posts deal with new features in our CXP product, or with best practices in how to build applications on the platform. This time, however, we want to open the kimono a little and share some development process best practices that enable us to deliver releases independent experts call the “most significant technological advancement within the enterprise communications industry“.

Being a truly international company with offices on multiple continents and distributed development teams, we use online communication tools a lot to stay in touch by chat, voice calls, or video conferences – tools such as Skype. And still it took some creative thinking outside the box to leverage Skype for an altogether different use case – creative thinking that as “passionate problem solving” is one of our core corporate values.

Everybody who has worked in professional software development knows that one of the most crucial pieces of infrastructure is a good bug tracking system. To stay on top of issues, and to ensure their timely resolution, key requirements are:

  • easy access for everybody involved in the development process;
  • good prioritization to focus on the important and/or urgent;
  • convenient search functionality to find existing entries;
  • good handling of supplemental resources (log files, screenshots, etc.);
  • notifications alerting relevant parties of ticket updates.

It was a true “Eureka!” moment when we realized that to get all of this we didn’t need yet another additional system – we could get it, and much more, from the Skype chats we were already using to ensure unlocked communication!

So how do we do it?
All of our developers, testers, and other relevant or interested parties (e.g. Product Management) are in a shared Bug Tracking chat. Any issue that is found is posted to this chat, and its unique time stamp serves as “ticket” identifier. Supplemental resources such as log packages, screenshots, etc. can also easily be posted and shared in the chat and are available to everybody else.
Interactions are automatically persisted in the chat history, and can be consulted again at any later time by straightforward searches. Replication of the information to each client, DNS-like, comes for free!

Notifications on any new entry or update are automatic, and even configurable in the Skype client – including filter settings that let developers target issues in specific product components they’re responsible for through appropriate key words. A great functionality that is hard to find in other bug tracking systems, and that has given us a measurable efficiency boost.

In addition to the regular Skype clients, many of us also use additional tools such as Skyperious that provide even more fine-grained control and advanced search functionality. It also powers the unique way we do “ticket” prioritization – by word cloud!

Instead of having somebody with potentially limited insight into the issue arbitrarily assign some priority, this method ensures that priority emerges naturally, in a “wisdom of crowds” manner, from the work that those who know what they are doing perform on the issues. It has sharpened and aligned our priorities in ways we had not formerly considered possible.

We have been using this approach for about 7 months now, and the results we’ve had are nothing short of amazing. It matches our high-powered agile development methodology perfectly, drives extremely effective sprints, and empowered us to do things for our upcoming CXP 13 release that simply would not have been possible with any legacy bug tracking solution. (To learn more, join Tobias Goebel’s webinar on April 9.)

That one flash of insight has opened the door to a better way of engineering, and we’ve never looked back!

We hope this bit of behind-the-scenes insight has been of interest to you, and perhaps even provided some inspiration for how to optimize your own processes. Let us know what you think on Twitter @voxeostefan – we’d love to hear your success stories!

Can you text or tweet to rent a car? Yes you can!

Monday, August 6th, 2012

When companies think about automating service inquiries to reduce call center costs, improve service and availability, they think of IVR. And if they think ahead, they think apps. But texting, or even tweeting? Not so much. In a recent blog post I had discussed the idea of using SMS or Twitter for self-service. I had shown examples like car reservation, food or movie orders, and also lead generation on Twitter. I have now gone ahead and created a protoype of a car rental service purely accessible via SMS and Twitter, so that you can experience the convenience yourself. I am using the LinguaSys Carabao engine to interpret the texts and extract slot values.

SMS and Twitter have one thing in common: they force their users to be short and concise with their communication. Furthermore, they are pervasive, fast, and asynchronous – i.e., they do not force users into giving up everything else they are currently doing. In a nutshell: SMS and Twitter are the most convenient self-service channels out there, particularly suited for repetitive, simple tasks.

Check out this interaction on SMS:

And next, a similar dialog done entirely on Twitter (read from bottom to top):

Look at the timestamps. It took only 13 seconds (!) from me expressing my intent to receiving the confirmation code for the car.

Excited to try it out yourself? Text something like the above to +1 (571) 385-0708, or tweet to @VoxeoCar. The dialogs are managed by VoiceObjects, Voxeo’s multi-channel Application Lifecycle Suite. (Uptime for this demo is not guaranteed)

Note that this works as the rental car company has the user’s cell phone number and/or their Twitter ID on file; that’s how they can relate an inquiry to a customer profile, allowing them to assume standard preferences for things like car type and extras, as defined in the customer’s profile (the profile could be managed through a mobile app, also powered by VoiceObjects).

Has the frequent business traveller ever seen a more convenient way to reserve a car? I am one, and I have not. I would LOVE to use a service like this. What are we waiting for?

Get in touch:

Or leave a comment below.

Mobile Self-Service Apps and the Contact Center – How to Bridge the Gap

Wednesday, July 18th, 2012

Using mobile apps for customer self-service is not new. Companies that offer self-service on more traditional channels like voice (IVR & Contact Center) and Web sites see apps as another way of deflecting expensive calls from the call center – and rightly so. A lot of repetitive, simpler tasks can be done by the customers themselves and do not require agent interaction, such as checking your account balance, paying a bill, renting a car, ordering a product, checking order status, etc.

Apps are where the customers are: they are mobile, they sit in the customer’s pocket. However, there are times when a customer is stuck while self-serving. That’s the time when they usually start searching for the companies’ phone number, switch to the phone feature of their smartphone and start making a call into the contact center. If the company is smart, their IVR allows an option to talk to an agent; nowadays, the reason for customers calling in is often a need to speak to an agent as they have already TRIED self-service. Don’t make the mistake of trying to lock a caller into your IVR with no way out!

If the company is smarter, they let the caller authenticate as a customer with the IVR, connect them to an agent that sits in front of a screen that pulls up the customer’s record automatically. CTI (Computer Telephony Integration – an antiquated term if you ask me; contact centers are more and more shifting to a pure VoIP and thus “software”- i.e. “computer”-based infrastructure) is already technology that bridges some of the gap. But there is still a disconnect. Why does a customer have to a) search for the phone number, and b) leave the app?

There are vendors out there that try to solve the problem by addressing a) only. They provide callback buttons in the app. A customer that is stuck at a certain point can hit a button that will make the contact center call them back, optimally with the app AND the customer context already known when the agent says “Hello…”.

If you ask me, that is not enough. Why do I have to leave the app? Maybe I want to continue exploring, finish the transaction, but simply have a question or need some help in using the app? Voxeo has an answer: Click-To-Talk! Bottomline: a context-sensitive, in-app phone experience.

Using Voxeo VoiceObjects, you can not only build your mobile self-service portal Web app and your IVR presence and SMS services (and Twitter-based self-service solutions) and manage them out of one integrated, enterprise-grade Application Lifecycle Suite… you can now embed a context-sensitive Click-To-Talk button right within your app.

What does context-sensitive mean? It basically means that when you click it, you will be connected to an agent that a) knows you, and b) knows what you tried to do and where you are stuck. They have the context of where you are in your (self-)service transaction. You do not leave the app – the button enables an in-app phone experience. The context-sensitivity is achieved through a CTI link between VoiceObjects, the runtime server driving the app experience, and the contact center. Voxeo has a lot of experience integrating into various contact center suites. The Click-To-Talk feature is realized through Phono, Voxeo’s softphone solution that can sit in any Web browser – or mobile device, allowing phone-to-SIP or phone-to-PSTN connections.

The following screenshot shows how a mobile self-service app with a Click-To-Talk button can look like:





As you can see, you see …nothing. Just a button that says “Talk to Agent Now”. As a matter of fact, if your customer hits that button, an actual phone connection will be established into your call center. The appearance of the app will not change – the transaction can still be completed, maybe with help from the agent.



The biggest challenge with this approach is call volume – how can you provide near-zero wait times to not disrupt the experience? The key lies in knowing your customer and taking context into account when providing this magic button. Using in-app authentication and subsequent CRM integration, you can find out if the customer is eligible for this premium service. Using the CTI link, you can pre-determine agent availability. If you deem the customer eligible and agents are available, turn the button into a Click-To-Talk experience. Otherwise, either hide the button altogether, or turn it into a regular Callback feature, potentially asking the user for their preferred callback phone number. That way, you can ensure optimal experience when you’re ready for it. By only offering the button further down the self-service transaction dialog tree, you additionally prevent misuse. Those users that haven’t authenticated yet or haven’t even TRIED to serve themselves will not see that button. Using Voxeo’s runtime VoiceObjects application server, you can control when and how the magic button is used.


Interested? Get in touch! I would also love to hear your comments/feedback/questions. You can add them below.


Exploring Twitter as a Self-Service Channel

Sunday, May 27th, 2012

Voxeo embraces the idea of Unified Self-Service: “being where the customer is”, serving them on the channel of their choice. Where are lots of them today? Social networks. And more and more every day.

Twitter is traditionally seen as a medium to ask questions, share ideas, and get in touch on. It started as a place for friends and people sharing the same interests, but becomes more and more a hub for customer communication as well. Twitter itself identifies this on their homepage:

What makes this channel so successful? And why do I think it would work as a self-service channel? I think it is its simplicity and convenience: no need to fill out forms on the Web (first waiting for them to load on a mobile device that might currently be where no bars are…), or call a contact center (waiting in queues or dealing with IVRs). I can throw out ideas and questions in free form, not following anyone’s design guidelines (be they GUI or VUI in nature).

How would self-service work over Twitter? Well, what if people asked questions or tweeted things such as:

  • “Where is the closest ATM?“
  • “Wonder where the best pizza is around here…“
  • “I’m in downtown Orlando next week. Anyone got hotel recommendations?“

And what if you’re a bank, pizza, or hotel chain? Wouldn’t it be great if you could invite these people to try out your offerings by automatically engaging in a dialog on Twitter, such as:

  • “@tpgoebel Closest ATM? Tweet ‘ATM’ from smartphone with geolocation turned on, or send ur address, eg ‘55 E Central Blvd, Miami FL’“
  • “@tpgoebel Try out #Ginos! Follow me and DM your cell phone number. You’ll get a 15% discount next time you visit us!“
  • “@tpgoebel We’re conveniently located at beautiful Lake Eola in downtown Orlando. Show us this tweet and you’ll get a welcome cocktail on the house!“

And wouldn’t it be even better if the surprised Twitter users would take you up on your offers and visit your store, restaurant, hotel?

I’ve recently built a functioning prototype of such an application using Voxeo VoiceObjects. Check it out (read from bottom to top):

Notice how the application even embeds a link to Google Maps in its response. A simple touch on the link and I’ll get directions to the closest ATM on my smartphone. How convenient is that?? (And look at the time stamps of the conversation: I got my result in way under a minute – next time I need to find the closest ATM, I’ll simply tweet with geolocation on, and I’ll get my response in a matter of seconds).

Wait a minute – how is that “self-service”?, you might ask; the above examples show some form of “lead generation”, no? (Which, of course, is cool enough). But think a step further: if you collected your customer’s Twitter account ID on sign-up, just like you collect their email address and phone number already, you could offer your existing IVR and mobile Web self-service options also on Twitter. Look at these examples and you’ll see what I mean:

  • “@Avis need a car at PHX tomorrow at 3pm”
    • “@tpgoebel A compact car will be ready for you at PHX on 5/28 at 3pm. Confirmation code #354158“
  • “@JimmyJohns repeat last order”
    • “@tpgoebel A tuna sandwich will be delivered to 189 S Orange Ave in Orlando FL. Confirmation code #132547″
  • “@Dish order Men in Black 3”
    • “@tpgoebel Men in Black 3 will be available for the next 48 hours on channel 65. Enjoy!“

The power of Unified Self-Service is there for you and your business to exploit. The possibilities are endless, your customers will love it. What are you waiting for? Start taking them seriously – start being where they are!


(On the topic of Twitter applications, also check out my recent blog post on a personal Twitter reader for the mobile me…)

See my webinar on the topic:

Meet the Business Tasks

Thursday, May 3rd, 2012

Applications are built in the Voxeo VoiceObjects platform using an object-oriented approach that is based on a set of core object building blocks. Some of these objects relate to standard programming primitives (such as loops or variables); some relate to interactions with the caller (such as inputs or menus). Yet some also relate directly to business-oriented aspects of the application, such as the Layer or the topic of this blog article: the Business Task.

The goal here is to introduce you to the concept, briefly explain how to use it in your applications, and to sketch some of the substantial benefits you can reap for very little effort.

The Concept

When customers call a self-service application, they usually don’t do so for the fun of it. They have a question they want answered, or a transaction they want to perform. As such, from the customer’s point of view the call cannot be considered successful simply if speech recognition worked and the application did not crash somewhere in the middle. Callers must have received their answer, or completed their transaction in order to really be contented with the application’s performance.

So application developers and business analysts face the challenge of tracking this “semantic” information in addition to the more technical data on recognition quality, application errors, etc. This is where Business Tasks come in. They model specific caller actions of different types:

  • Authentication
    E.g. logging in using an account number and PIN, or possibly authentication using biometric means.
  • Information
    E.g. asking for an account balance or an insurance quote.
  • Notification
    E.g. sending out an SMS or email to the caller.
  • Routing
    E.g. transferring the caller to a human agent.
  • Transaction
    E.g. making a money transfer or buying a product.
  • Other
    Open-ended category to capture sundry other tasks.

At the highest level, Business Tasks distinguish between “complete” and “incomplete” termination. Tolstoy wrote that “Happy families are all alike; every unhappy family is unhappy in its own way.” In much the same sense there is effectively one way of completing a Business Task successfully, but many different ways for it to fail. Callers may change their mind and navigate elsewhere, or just hang up. Recognition may fail and prevent callers from making progress. A backend system may be down – and so forth.
Specifically, VoiceObjects distinguishes between seven different types of issues:

  • Backend Error
    The task finished unsuccessfully because a backend system failed or was not available.
  • Business Logic
    The task finished unsuccessfully because a certain business logic requirement was not met (e.g. an intended transaction exceeded a maximum set for the account).
  • Caller Abort
    The task finished unsuccessfully because the caller explicitly aborted it e.g. through a command or through negative confirmation.
  • Recognition Failure
    The task finished unsuccessfully because of recognition problems such as No Inputs and No Matches.
  • Task Restart
    The task finished unsuccessfully because the same task was started again.
  • Session Termination
    The task finished unsuccessfully because the session ended, i.e. the caller hung up or was transferred somewhere else.
  • Technical Error
    The task finished unsuccessfully because of a technical problem within the application.

Along with a task’s status it is often desirable to also log certain bits of data. In the case of a car insurance quote e.g. it might be relevant to know the make and model the caller inquired about. For money transfers, the amount might be relevant. And there are, in fact, cases in which different types of data are of interest depending on whether the task was completed successfully or not.

That’s why each Business Task carries two (optional) parameter sets defining the data to be logged in case it completes successfully or unsuccessfully. There is also a convenience option to use the same data in both cases.

How To Implement

When implementing a VoiceObjects application, you can think of a Business Task as an interval: From where a specific task is started, to where it is completed successfully. You only need to define these end points; VoiceObjects Server pretty much takes care of the rest for you.

The way to start a Business Task is by use of the Expression function STARTTASK(). The Expression object should be positioned at the appropriate place (or places) in the dialog flow at which the caller starts with the activity modeled by the Business Task. The start of a task is indicated in the dialog flow by a green “start” icon.

BTFlow

A Business Task can be finished “manually” at any point using the Expression function FINISHTASK(). Typically this is used to finish it successfully, i.e. as “completed”. Finishing a task is indicated in the dialog flow by a red “stop” icon.

BTFlow2

One of the great advantages in using Business Tasks is that you do not need to explicitly track all possible outcomes. Rather, VoiceObjects Server takes care of this automatically and thus not only reduces your workload, but also eliminates the potential for errors or omissions – thereby improving the quality and consistency of the statistics data that is collected.
At the same time, you have the ability to influence precisely how VoiceObjects Server handles the automatic task completions. Specifically, this concerns the behavior in event handlers (i.e. when something goes wrong), in navigation (i.e. when the caller decides to move elsewhere), and in jumps within the application.

In all of these cases, you can select whether to finish the currently active task, all tasks (see below) – or to do nothing. If a task is finished, then its completion status is automatically inferred from the context. As an example, if you define an event handler for “No Match” and let it finish the active task, then that task is automatically finished with the status “Recognition Failure”. Likewise, a handler for “Error – Connector” automatically assigns a status of “Backend Error”.

Combined with the native VoiceObjects principle of inheritance, this means that you can define this behavior once within your root Module and have immediate, automatic, and consistent handling throughout your entire application.

How It Works

Once you have defined start and end points of task intervals, and made the selections for automatic completion, VoiceObjects Server takes it from there.
During a dialog session, it maintains a stack of Business Tasks. Only one of them is active at any given time, but others may be further down the stack, in an inactive state, ready to pop up again once the current one finishes.

All of this process is fully automatic and requires no interaction from your side. It gives you the powerful ability, though, to determine that e.g. in the example pictured above, the caller chose to buy a stock but then, before completing that transaction, first obtained some additional information on the stock in question. Only after having checked this information successfully did he return and finalize the purchase.

In other words: Business Tasks give you a panoramic window on caller behavior.

Infostore and Analyzer

Business Task information is available within the application (through the Expression functions TASKSTATUS, TASKREFID, and LASTTASK), but the primary interest tends to be in what gets written to Infostore. Two separate tables (VOLDTASKSTATS and VOLDTASKDATA) capture this information in detail, including e.g.

  • completion status and performance of the task itself
    e.g. duration, number of input states, etc.
  • application performance while the task was active
    e.g. No Input/No Match events, errors that occurred, etc.
  • external interactions while the task was active
    e.g. calls to backend systems, database dips, etc.

VoiceObjects Analyzer offers a variety of insightful reports based on this data.

Since a Business Task effectively delineates an interval during which a caller attempted to achieve a certain goal, it lends itself to correlation with many other facts such as:

  • Layers
    An example is shown in the picture above – how well are your different customer segments achieving their goals? In the example, the preferred Platinum category seems to have a problem that requires looking into.
  • Recognition quality
    When callers fail to achieve their goals, it is of course crucial to analyze why this happens. Insufficient recognition quality can be a factor, caused e.g. by a lack of tuning in grammars or the speech recognition engine, or by application factors such as misleading prompts.
  • Backend performance
    Another key factor deciding caller success is the performance of backend systems – in terms of both availability and responsiveness. Few callers wait a minute for a transaction to complete, so you will see many tasks aborted with “Session Termination”.
    I’ll provide more details on the rich data that VoiceObjects Server collects in regard to backend access in an upcoming blog article.

So if your application does not use Business Tasks yet, identify the key goals that callers want to achieve within it and cover them as described in the How To Implement section. The resulting Infostore data will help you understand much better what does and does not work for callers, and why – and thereby help you in making the application better!

You can find more information on Business Tasks and how to use them in the Design Guide as well as in the Object Reference. Both of them are freely available on the Developer Portal, along with our software downloads. There is also a Best Practices document with hands-on examples.

As always, for questions and comments, reach out to me on Twitter at @voxeostefan.

Tweets from the Cloud

Tuesday, April 17th, 2012

I recently pondered some facts:

  • VoiceObjects now has an extension to integrate with Twitter as another channel of communication (check it out)
  • The Voxeo cloud can:
    • make outbound phone calls,
    • read back dynamic information,
    • record the caller’s voice.

So why not combine all of this, I thought to myself, and build a Twitter Reader mash-up?

So I went and built an app that would:

  • call me on my phone whenever someone mentioned me (i.e. my user name @tpgoebel) on Twitter,
  • read the tweet to me, and
  • allow me to record a response and post a URL to that recording back to Twitter.

I was preparing for a trip to present Voxeo technology to an automaker that offers in-car infotainment services, so this seemed like a perfect way to show off what we can do. Now, let me show you how I did it!

Monitoring Twitter

Our VoiceObjects Twitter channel extension can be setup to either monitor the public timeline for keywords (people tweeting about a product, a brand, or whatever else), or monitor a user’s timeline for direct messages (DMs) or mentions (“@tpgoebel How cool is that?? #Voxeo #VoiceObjects #Twitter”). So I set it up to monitor the timeline of my own Twitter account, @tpgoebel. It is currently configurable through an XML configuration file, so here is a snippet of my configuration:

Socialite Configuration Example

So now, whenever someone mentions my name, it triggers a VoiceObjects service called “TwitterReader”.

Launching a phone call

I built one VoiceObjects application to serve three purposes in one:

  1. When launched via a tweet, trigger the outbound call and end the VoiceObjects session.
  2. When launched via the outbound call, check if an answering machine was reached and if so, leave the tweet as a message.
  3. When launched via an outbound call and a human picked up (wait, that’s me!), play the tweet, and give me options to hear it again, respond to it, or send out a general tweet (ie without mentioning the original Twitterer).

So my application starts with a branch:

TwitterReader Call Flow

I am using Modules for each branch mainly for reporting purposes, so I can easily consume a report that shows me how often a tweet was left on my answering machine vs. me listening to it right away.

Launching the outbound call is done via Voxeo’s HTTP-based token API, i.e. a simple call to our CCXML launcher URL:

http://session.voxeo.net/SessionControl/4.5.40/CCXML10.start?tokenid=108797a718975342a8ed&callerid=14074564555&numbertodial=3212011725&TwitterMsg=XXX

The CCXML places the outbound call and applies Call Progress Analysis to determine if it’s me or my voicebox answering. It passes a Boolean parameter detectedMachine into the VoiceObjects session, upon which I can do my branching.

If you want to learn more about outbound calling with VoiceObjects, read my recent post on the topic.

Reading the tweet and tweeting back

Once I know a human picked up, I read the tweet back using TTS (VoiceObjects’ Twitter channel makes parameters like the message, its author, and a lot of other meta information available in the session context) and offer an option to record a response using VO’s Recording object. I then use bit.ly’s REST API to shorten URLs and convert the URL that points to the recording to a conveniently short URL I can use in my tweet:

TwitterReader Call Flow

Finally, I use VoiceObjects’ own REST API to send a tweet out to the world, mentioning the original Tweeter’s name (so that my response shows up in his “mentions inbox”), and include the shortened URL pointing to my recording. That way he can listen to my response:

Tweet mentioning meMy response

(That’s an “I” ;-) )

Pretty simple, huh? Now I should go out and sell it and become rich…

While the Twitter extension to VoiceObjects was rather built to help automate Twitter as another dialog channel of customer communication, I felt this would be a compelling way of showing what Voxeo technology can do. And the in-car application actually makes sense, don’t you think? And if we take it a step further and integrate this with our partners at Interactions, to add transcription to it, you’ll have a reliable hands-free Twitter client on your phone!

Message me at @tpgoebel if you would like to try it out yourself!

Separation of concerns

Friday, March 23rd, 2012

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

Monday, March 19th, 2012

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!

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

Thursday, January 19th, 2012

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

Tuesday, January 10th, 2012

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!