Override
Definition
The Override verb is used to modify the behavior of a specific call by overriding certain attributes. This verb is added to the top of FlexML instructions and the URL passed will override the status_callback_url and status_callback_method of the Call object for that specific call.
Supported Attributes
These attributes can be used to modify the Override verb. They are inserted as name-value pairs in the start-tag.
| Attribute | Data Type | Description |
|---|
| Attribute | Data Type | Description |
|---|---|---|
| statusCallbackMethod | string | The method to override the status_callback_method value. |
| statusCallbackUrl | string | The URL to override the status_callback_url value. |
Example
The following is re-assigning the statusCallbackUrl and statusCallbackMethod for this specific set of instructions.
<Response>
<Override statusCallbackUrl="http://www.example.com/path/to/handler" statusCallbackMethod="GET" />
<Play streaming="true" timeLimit="30">
http://www.example.com/path/to/media.mp3
</Play>
</Response>
Nesting Rules
- You cannot nest other verbs or nouns within the
Overrideverb. - You cannot nest the
Overrideverb within other FlexML verbs.