The assign phone command assigns one or more telephone numbers and passwords to one or more channels.
Note:
You must be logged in as root to assign passwords to channels.
Synopsis
assign phone
phone_range
to chan
chan_range
Description
Arguments for assign phone are described in the following table:
Argument |
Description |
phone_range |
Telephone number or telephone number ranges in the form (phone1:phone2) |
chan_range |
A single channel number, a comma-separated list of channel numbers, or channel number ranges in the form (chan1-chan2). |
Note:
To specify a range of telephone numbers and channels, the number of channels that you specify must match the number of telephone numbers you specify.
If you enter an assign phone command for a channel that is administered for VoIP Station protocol, you will be asked to enter a password for VoIP station authentication. You can enter a password that contains up to eight digits, or none
(for no password).
Example
The following example assigns the telephone number 555-1234 to channel 3:
assign phone 5551234 to chan 3
The following example assigns the telephone numbers 555-1234 to 555-1236 to channels 0 through 3:
assign phone 5551234:5551236 to chan 0-2
See also