Bug Vanquisher

14 December 2008


Filed under: Dev inside! — Tanveer Badar @ 12:50 AM

Oh! Not this:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CallManager.aspx.cs" Inherits="VoiceSite.CallManager" %>
<ccxml version="1.0" xmlns:voxeo="http://community.voxeo.com/xmlns/ccxml">

But this:

CCXML.CCXMLControl control1 = new CCXML.CCXMLControl( );
control1.Controls.Add( new CCXML.Transition( CCXML.CCXMLEvents.Alerting , "evt" , "init" ) );
System.IO.StringWriter sw = new System.IO.StringWriter( );
control1.RenderControl( new HtmlTextWriter( sw ) );

which results in

<ccxml version="1.0">
  <transition name="evt" state="’init’" event="connection.CONNECTION_ALERTING"></transition>

A work in progress. :)

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: