Limit the number of concurrent users of this profile
$user_limit limit [dftusr]
This command is used to limit the number of callers who may use the User Profile containing this command. This facility is provided for service bureau CopiaFacts users who need to control the resources used by a client.
The maximum number of users is not a licensing issue, more a control issue. A warning will be displayed in the trace file when a call is declined as a result of this command: the count of such calls may influence a service-bureau client to increase the allocation of lines.
The parameters on this command are used as follows:
| limit | the maximum number of concurrent users allowed |
| dftusr | the DID number of the alternate user profile which will be selected if the call has been answered |
The limit is only checked when a user profile is selected by DID; when the user profile is assigned to a specific channel, the system administrator can control usage by allocation of telephone numbers and this facility is not relevant. CopiaFacts checks the DID using DNIS data before the call is answered, and if the limit is exceeded will reject the call with a BUSY response. For some legacy boards, the call would have been answered before the check was made; only in this case was the dftusr parameter needed.
No limit is applied on outbound calls. You can use the $fax_send_channel command to limit the number of channels used for outbound calls.
Currently, this limit is applied per node. CopiaFacts cannot currently count user profiles on other machines.
Default: none (optional feature)
Example:
Allow six concurrent users of this DID profile, use 00009999.USR instead for the seventh and subsequent callers:
$user_limit 6 9999