Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

2. Call Control > Originating a Call Using the Dialplan

Originating a Call Using the Dialplan

Problem

You would like to originate a call from the Asterisk dialplan.

Solution

Asterisk provides an application for originating calls from the dialplan. To originate a call and connect it to an application, you would do this:

exten => s,1,Originate(SIP/myphone,app,Playback,all-your-base)

Alternatively, you can originate a call and connect it to an extension in the dialplan:

exten => s,1,Originate(SIP/myphone,exten,default,s,1)

Discussion

The Originate() application takes up to 5 arguments. The first two are:

Tech/data

This is the channel technology and associated data that the call will be originated to. The syntax is the same as is used with the commonly used Dial() application.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint