Skip to Content
Asterisk: The Future of Telephony, 2nd Edition
book

Asterisk: The Future of Telephony, 2nd Edition

by Jim Van Meggelen, Jared Smith, Leif Madsen
August 2007
Intermediate to advanced
608 pages
20h 33m
English
O'Reilly Media, Inc.
Content preview from Asterisk: The Future of Telephony, 2nd Edition

Name

Originate — Originates call

Generates an outbound call from Asterisk, and connect the channel to a context/extension/priority combination or dialplan application.

Parameters

Channel

[required] Channel name to call. Once the called channel has answered, the control of the call will be passed to the specified Exten/Context/Priority or Application.

Exten

[optional] Extension to use (requires Context and Priority).

Context

[optional] Context to use (requires Exten and Priority).

Priority

[optional] Priority to use (requires Exten and Context).

Application

[optional] Application to use.

Data

[optional] Data to pass as parameters to the application (requires Application).

Timeout

[optional] How long to wait for call to be answered (in ms).

CallerID

[optional] Caller ID to be set on the outgoing channel.

Variable

[optional] Channel variable to set. Multiple variable headers are allowed.

Account

[optional] Account code.

Async

[optional] Set to true for asynchronous origination. Asynchronous origination allows you to originate one or more calls without waiting for an immediate response.

ActionID

[optional] An identifier that can be used to identify the response to this action.

Privilege

call, all

Example

Action: Originate
Channel: SIP/linksys2
Context: lab
Exten: 201
Priority: 1
CallerID: 
	           
Response: Success
Message: Originate successfully queued
            
Action: Originate
Application: MusicOnHold
Data: default
Channel: SIP/linksys2
	           
Response: SuccessMessage: Originate successfully queued
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Asterisk: The Future of Telephony

Asterisk: The Future of Telephony

Jim Van Meggelen, Jared Smith, Leif Madsen
Switching to VoIP

Switching to VoIP

Theodore Wallingford

Publisher Resources

ISBN: 9780596510480Errata Page