Is there a "dial" command for the Command Line Int

Is there a command that you can type in on the command line and that initiates a call from one extension (e.g. sip/201) to another (e.g. sip/202)?
So after typing the command extension 201 starts ringing and when it is anwered a call is set up automatically from extension 201 to extension 202.

You can’t do it through the CLI but you can go it through the AMI.

[code]asterisk*CLI> originate
There are two ways to use this command. A call can be originated between a
channel and a specific application, or between a channel and an extension in
the dialplan. This is similar to call files or the manager originate action.
Calls originated with this command are given a timeout of 30 seconds.

Usage1: originate <tech/data> application [appdata]
This will originate a call between the specified channel tech/data and the
given application. Arguments to the application are optional. If the given
arguments to the application include spaces, all of the arguments to the
application need to be placed in quotation marks.

Usage2: originate <tech/data> extension [exten@][context]
This will originate a call between the specified channel tech/data and the
given extension. If no context is specified, the ‘default’ context will be
used. If no extension is given, the ‘s’ extension will be used.[/code]

I’m guessing you could wrap this in an asterisk -rx “originate…”

Thanks, this is exactly what I meant!

and the call is being set ip.