CCXML 1.0 Development Guide Home  |  Frameset Home


<redirect>  element

Not Enabled
The <redirect> tag will redirect an incoming phone call to the specified destination telephony address URL.  This URL can be a VOIP endpoint, another phone number, etc. Note that this element is unsupported at this time.



usage
<redirect dest="(ECMAScript Expression)" reason="(ECMAScript Expression)" hints="(ECMAScript Expression)">


attributes
dest Data Type: (ECMAScript Expression) Default: none - attribute is required
Not Enabled
This attribute indicates the telephone URL which evaluates to the target for the outbound call. Not specifying this element will certainly cause a fatal, application-stopping error.
reason Data Type: (ECMAScript Expression) Default: none - attribute is optional
Not Enabled
The reason attribute returns a user-defined ECMAScript string indicating the reason for the call being redirected. The value returned will be a standard HTTP status code, (i.e., "500" etc).
hints Data Type: (ECMAScript Expression) Default: Optional
The hints attribute can be used to specify information used by the platform to configure the event processor. The value of this attribute should equate to an object that contains an array property of "headers"; for instance:


<script>
  var Hints = new Object();
  Hints.headers = new Object();
  Hints.headers['x-mySipHeader'] = 'hello world';
</script>


Note that 'hints.headers' stores what headers to add to the sip request, and that only headers starting with an 'x-' prefix are sent.



parents
none


children
none


code samples
none


additional links
W3C Specification Telephone URL Formatting


  ANNOTATIONS: EXISTING POSTS
0 posts - click the button below to add a note to this page

login



© 2006 Voxeo Corporation  |  Voxeo IVR  |  VoiceXML & CCXML IVR Developer Site