« Back to General Discussion

Events with a dot in their names

Combination View Flat View Tree View
Threads [ Previous | Next ]
I tried to use a HotLink to throw a user-defined event and then to catch it in a HotEvent. (Studio 5)

Following VXML naming conventions for user-defined events, I named it
com.myname.myevent

The Studio application deployed fine, but Call Services would not ''deploy' it until I took the dots (periods) out of the event name. It told me that there was an error in the application and it couldn't be deployed.

Is this expected?

Is it both the HotLink and the HotEvent that have trouble with the dots in the event name? Or just the HotLink? I'd assume I could use a HotEvent to catch standard events like 'error.badfetch' - which has a dot in it, right?

Janine,

You can define your own events in both HotLink and HotEvent, with or without dots.

The actual issue, as you mentioned in a separate post, is not with the dots in the event name, but with the "com.audium" prefix. While you can throw any event in HotLink, including "com.audium.NAME" ones, you cannot catch "com.audium.NAME" in your custom HotEvent.

The "com.audium" class is a reserved class and cannot be caught by custom HotEvents. Note that Audium uses those events to deal with server related activities and overwriting those events might cause Call Services to not be stable and behave incorrect.

With that said, I have created an issue in our internal bug tracking system to add a check for "com.audium" name in a custom HotEvent.

Hence, while you custom event "com.myname.myevent" will work fine in HotEvent, the event "com.audium.myevent" you previously defined ill not work.

Hope this helps,
Michael