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:
- Add the user to the directory.
- 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...