| answeronmedia |
Data Type: (true|false) |
Default: none - attribute is optional |
Determines when audio passes from second call leg to the first. If set to "TRUE," this will pass audio back to the originating call leg upon the first instance of media. In practice, this will typically mean the caller hears the standard "telephone ring" as if they had picked up a normal telephone and dialed the number. If set to "FALSE," there will be silence until an actual answer or callfailure is achieved.
Note that this attribute is primarily used to detect that a phone has been answered in the event that the destination number does not send back the proper ISDN signal upon pickup, (common to some 800 numbers). |
| callerID |
Data Type: (tel|pstn|sip) |
Default: none - attribute is required |
CallerID to present when placing the call. The list of allowable values declared for this attribute follow the same rules as the call value element/attribute combination, to wit:
- "tel:" classic phone number
- "pstn:" same as "tel:", deprecated value
- "sip:" SIP protocol address
|
| value |
Data Type: (tel|pstn|sip) |
Default: none - attribute is required |
The value for this attribute defines the URL describing the place to initiate a call to. An empty value will result in an error. Any value that does not begin with a valid prefix will be assumed to be a pure "tel:" number.
Valid URL values are:
- "tel:" classic phone number
- "pstn:" same as "tel:", deprecated value
- "sip:" SIP protocol address
Note that developers who use the non-US datacenters are required to specify an E164-formatted dial string:
tel:+[country code][number]
|
| voxeo-cpa-maskevent |
Data Type: (human|machine|unknown) |
Default: none - attribute is optional |
The 'cpa-maskevent' parameter lists the CPA results that should throw an event. This assures that only desired results, important to your specific application, will be acknowledged. The value for this parameter should be a comma-separated list, any combination of the following:
- human
- machine
- beep
- modem
- faxtone
- *sit
|
| voxeo-cpa-maskstop |
Data Type: (human|machine|unknown) |
Default: none - attribute is optional |
The 'cpa-maskstop' parameter lists the CPA results that, when received, will simply stop CPA from listening for further events. The value for this parameter should be a comma-separated list, any combination of the following:
- human
- machine
- beep
- modem
- faxtone
- sit
|
| voxeo-cpa-maxsilence |
Data Type: (ms) |
Default: none - attribute is optional |
The cpa.maxsilence variable is the user-defined variable which designates the amount of time that the CPA should wait before it stops the human vs. machine analysis and returns the result of ‘human’. The setting for this variable is best set between 1000 and 2000ms.
|
| voxeo-cpa-maxtime |
Data Type: (ms) |
Default: none - attribute is optional |
| The user-defined cpa.maxtime variable determines the amount of time that the CPA should wait before returning a result of ‘machine’ to the application. The ideal setting of this variable should be in the range between 5000 to 7000ms. Note that care must be taken when assigning the value to this variable, for if the callee’s initial utterance is longer than the maxtime value, the resultant value will be returned as ‘machine’. |
| voxeo-cpa-result |
Data Type: (human|machine|unknown) |
Default: none - attribute is optional |
This variable holds the resultant value of the human vs. machine analysis, which is determined when the call is answered. The possible results are:
|
| voxeo-cpa-runtime |
Data Type: (ms) |
Default: none - attribute is optional |
The user defined cpa.runtime variable is set to the desired length of time in which the analyzer should work before returning the final result. We will want to make certain that the time value set in this variable is longer than the added cpa.maxtime and cpa.maxsilence values, as well as setting this value to be longer than the ‘average’ length of an answering machine message. Most answering machine messages are no longer than 15000-20000ms in length, which would be a good range of values to insert for this variable.
|
| voxeo-cpa-version |
Data Type: (2.0) |
Default: none - attribute is optional |
This attribute sets the Call Progress Analyzer version. This currently should always be cpa.version=2.0
|
| onerror type="badnumber" |
The destination number is malformed, or returns a SIT tone. |
| onerror type="document" |
Document was unable to be fetched for all the reasons web servers are unavailable |
| onerror type="lineactive" |
Trying to issue a telephony event such as <answer> on an already active line |
| onerror type="telephony" |
Unable to issue a telephony event such as <call> or <playaudio> or <ftp> |
| onanswer |
This event occurs when a session determines that a call has been answered. This element is used as a handler to transition an action or event in a CallXML script after executing a <call> action. See the onanswer element description for further details. |
| oncallfailure |
This event occurs when the session determines that the attempted call cannot be completed because the dialed number is busy, a circuit is unavailable, a SIT tone was detected or other detectable call failure mode. The call is not automatically disconnected; rather, this element allows the developer to catch the event and attempt another action. See the oncallfailure element description for further details.
|
| onmaxtime |
This event occurs during user input if the user takes more time than is allowed by a maxTime attribute to input their entire response. See the onmaxtime element description for further details.
|