Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Freeswitch 1.6 Cookbook

You're reading from   Freeswitch 1.6 Cookbook Over 45 practical recipes to empower you with the latest FreeSWITCH 1.6 features

Arrow left icon
Product type Paperback
Published in Jul 2015
Publisher
ISBN-13 9781785280917
Length 190 pages
Edition 1st Edition
Concepts
Arrow right icon
Toc

Table of Contents (9) Chapters Close

Preface 1. Routing Calls FREE CHAPTER 2. Connecting Telephones and Service Providers 3. Processing Call Detail Records 4. External Control 5. PBX Functionality 6. WebRTC and Mod_Verto 7. Dialplan Scripting with Lua Index

Creating users


Each FreeSWITCH system has a directory of users. In most cases, a user is literally a person who has a telephone. When we say that we are "adding a user," we mean that we are creating a user account in the directory of users. Each "user" has the SIP credentials for making outbound calls, as well as a PIN number for accessing the voicemail. In fact, you cannot have a voicemail box without having a corresponding user account.

Getting ready

As a minimum, you will need a terminal window to issue commands to your system. To use the add_user script, your system will need to have Perl installed.

How to do it...

There are two basic steps for creating a user. The steps are as follows:

  1. Add the user to the directory.

  2. Add the corresponding extension number to the dialplan.

Let's assume we have a fresh installation of FreeSWITCH, which means that we have user ID's 1000 through 1019 (the Local_Extension in conf/dialplan/default.xml is set to route calls to these ID's).

Let's add a new user with...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime