The assign phone command assigns one or more telephone numbers to one or more 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 |
Phone number or phone number ranges in the form (phone1:phone2) |
chan_range |
Channel number 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.
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