Skip to Content
Switching to VoIP
book

Switching to VoIP

by Theodore Wallingford
June 2005
Intermediate to advanced
502 pages
21h 48m
English
O'Reilly Media, Inc.
Content preview from Switching to VoIP
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
420
|
Chapter 17: Asterisk Reference
The Asterisk CLI
Asterisk’s CLI is where you, the administrator, control and monitor the Asterisk
PBX. The Asterisk CLI provides you with real-time information about voice chan-
nels, extensions, contexts, and more. Using the CLI, you can start and stop the
Asterisk server, as described earlier in the chapter. You can do status queries about
the voice channels, place and hang up calls, and add or remove extensions and con-
texts.
If the Asterisk server is already running, you can launch the Asterisk CLI by starting
another instance of Asterisk in client mode:
# asterisk –r
The first command you should probably learn is help, which displays a list of valid
commands or, when used as follows, gives command-specific assistance:
pbx*CLI> help show channels
Notice the pbx*CLI> prompt. This prompt will vary depending on the Unix host-
name of your machine—in this case, it’s
pbx.
Md5secret The MD5 hash of the peers SIP username and pass-
word; optional measure designed to make password
transmittal more secure.
Musiconhold The default class of music-on-hold to use with calls to
and from this peer.
default
Nat
Allows this peer to be behind a NAT firewall and still
work with Asterisk.
yes; no
Pickupgroup
The number of the pickup group that this SIP channel is
a member of. ...
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

Voice over IP First-Step

Voice over IP First-Step

Kevin Wallace
Securing VoIP

Securing VoIP

Regis Jr (Bud) Bates
Low-cost Smart Antennas

Low-cost Smart Antennas

Qi Luo, Steven Shichang Gao, Chao Gu, Wei Liu

Publisher Resources

ISBN: 0596008686Catalog PageErrata