Upgrade 3CX to v18 and get it hosted free!

Asterisk cmd Originate

Author image

Synopsis

Originate a call. New in Asterisk 1.6.2.

Syntax

Originate(tech_data,type,arg1[,arg2[,arg3]])

Arguments

  • tech_data – Channel technology and data for creating the outbound channel. For example, SIP/1234.
  • type – This should be ‘app’ or ‘exten’, depending on whether the outbound channel should be connected to an application or extension.
  • arg1 – If the type is ‘app’, then this is the application name. If the type is ‘exten’, then this is the context that the channel will be sent to.
  • arg2 – If the type is ‘app’, then this is the data passed as arguments to the application. If the type is ‘exten’, then this is the extension that the channel will be sent to.
  • arg3 – If the type is ‘exten’, then this is the priority that the channel is sent to. If the type is ‘app’, then this parameter is ignored.

Description

This application originates an outbound call and connects it to a specified extension or application. This application will block until the outgoing call fails or gets answered. At that point, this application will exit with the status variable set and dialplan processing will continue.

This application sets the following channel variable before exiting: ${ORIGINATE_STATUS}: This indicates the result of the call origination.
Possible values:

  • FAILED
  • SUCCESS
  • BUSY
  • CONGESTION
  • HANGUP
  • RINGING
  • UNKNOWN: In practice, you should never see this value. Please report it to the issue tracker if you ever see it.

See also


Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.