Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata
  • This works in an "interesting" way, it first will call your phone, then call outbound.

  • It will have multiple CDR entries, and one looks like an "inbound" call, but its step one of originate

Examples are best!

telnet localhost 5038
Action: login
Username: UserName
Secret: Passw0rd
Events: off
Action: Originate
Channel: Local/842
Context: from-internal
Exten: 91347123456
Priority: 1
Callerid: 1234556789
Timeout: 30000

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_Originate

Syntax

Action: Originate
ActionID: <value>
Channel: <value>
Exten: <value>
Context: <value>
Priority: <value>
Application: <value>
Data: <value>
Timeout: <value>
CallerID: <value>
Variable: <value>
Account: <value>
EarlyMedia: <value>
Async: <value>
Codecs: <value>

Arguments

ActionID - ActionID for this transaction. Will be returned.
Channel - Channel name to call.
Exten - Extension to use (requires Context and Priority)
Context - Context to use (requires Exten and Priority)
Priority - Priority to use (requires Exten and Context)
Application - Application to execute.
Data - Data to use (requires Application).
Timeout - How long to wait for call to be answered (in ms.).
CallerID - Caller ID to be set on the outgoing channel.
Variable - Channel variable to set, multiple Variable: headers are allowed.
Account - Account code.
EarlyMedia - Set to true to force call bridge on early media..
Async - Set to true for fast origination.
Codecs - Comma-separated list of codecs to use for this call.
  • No labels