text
stringlengths
0
152
Priority
s
1
Application ConfBridge
Data
Timeout
500
30000
CallerID
Matthew Jordan
<(555) 867-5309>
Description
This header is accepted by most AMI actions. It is used to provide a unique
identifier that will also be included in all responses to the action. It gives
you a way to identify which request a response is associated with. This is
important since all actions, their responses, and events are all transmitted
over the same connection (unless using AMI over HTTP).
This header is critical and must be specified. This describes the outbound
call that will be originated. The value is the same syntax that would be
used for the channel argument to the Dial() application in the dialplan.
This header is used to specify a location in the dialplan to start executing
once the outbound call has answered. The Context, Exten, and Prior
ity headers must be used together. When using these headers, the
Application and Data headers should not be used.
See the documentation for the Context header.
See the documentation for the Context header.
The Application and Data headers can be used instead of the Con
text, Exten, and Priority headers. In this case, the outbound call is
directly connected to a single application once the call has been answered.
See the documentation for the Application header.
This header specifies how long to wait in milliseconds for an answer before
giving up on an outbound call. The default is 30000 milliseconds (30
seconds).
This header can be used to specify the caller ID used for the outbound call.
Account
someaccount
This header sets the CDR account code for the outbound call.
310
|
Chapter 17: Asterisk Manager Interface and Call Files
Option
Variable
Example value
VARIABLE=VALUE or
FUNCTION(argu
ments)=VALUE
Codecs
ulaw,alaw
EarlyMedia true
Async
true
Description
The Variable header can be used to set both channel variables or
channel functions on the outbound channel. It can be specified multiple
times.
This option can be used to limit which codecs are allowed for the outbound
call. If not specified, the set of codecs configured in the channel driver
configuration file will still be honored.
If this header is specified and set to true, the outbound call will get
connected to the specified extension or application as soon as there is any
early media.
If this header is specified and set to true, this call will be originated
asynchronously. This will allow you to continue executing other actions on
the AMI connection while the call is being processed.
The simplest example of using the Originate action is via telnet:
$ telnet localhost 5038
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Asterisk Call Manager/4.0.3
Once the connection is established, you need to log in.