AsterNet Class Library (Sandcastle documentation)
AsterNet Class Library (Sandcastle documentation)
AsterNET.Manager.Action
OriginateAction Class
OriginateAction Properties
Account Property
Action Property
Application Property
Async Property
CallerId Property
Channel Property
Context Property
Data Property
Exten Property
Priority Property
Timeout Property
Variable Property

| OriginateAction Properties

The OriginateAction type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| Account | Get/Set the account code to use for the originated call. The account code is included in the call detail record generated for this call and will be used for billing.
| Action | Get the name of this action, i.e. "Originate". (Overrides ManagerAction Action.)
| ActionId | (Inherited from ManagerAction.)
| Application | Get/Set Application to use on connect (use Data for parameters)
| Async | Get/Set true if this is a fast origination. For the origination to be asynchronous (allows multiple calls to be generated without waiting for a response). Will send OriginateSuccess- and OriginateFailureEvents.
| CallerId | Get/Set the caller id to set on the outgoing channel.
| Channel | Get/Set Channel on which to originate the call (The same as you specify in the Dial application command) This property is required.
| Context | Get/Set the name of the context of the extension to connect to. If you set the context you also have to set the exten and priority properties.
| Data | Get/Set the parameters to pass to the application. Data if Application parameter is user
| Exten | Get/Ser the extension to connect to. If you set the extension you also have to set the context and priority properties.
| Priority | Get /Set the priority of the extension to connect to. If you set the priority you also have to set the context and exten properties.
| ProxyKey | You can use this as a simple authentication mechanism. Rather than have to login with a username & password, you can specify a ProxyKey that must be passed from a client before requests are processed. This is helpful in situations where you would like to authenticate and execute an action in a single step. (Inherited from ManagerAction.)
| Server | Specify a server to which to send your commands (x.x.x.x or hostname). This should match the server name specified in your config file's "host" entry. If you do not specify a server, the proxy will pick the first one it finds -- fine in single-server configurations. (Inherited from ManagerAction.)
| Timeout | Get/Set the timeout for the origination in milliseconds. The channel must be answered within this time, otherwise the origination is considered to have failed and an OriginateFailureEvent is generated. If not set, Asterisk assumes a default value of 30000 meaning 30 seconds.
| Variable | Obsolete. Get/Set the variables to set on the originated call. Variable assignments are of the form "VARNAME=VALUE". You can specify multiple variable assignments separated by the '|' character. Example: "VAR1=abc|VAR2=def" sets the channel variables VAR1 to "abc" and VAR2 to "def".

Top
See Also

#### Reference

OriginateAction Class
AsterNET.Manager.Action Namespace