Determine Valid Phone Numbers for a Broadcast Job

$phone_mask action mask [output-string]

The $phone_mask commands in user job properties are treated as an extension of the $phone_mask commands in the configuration file, and are applied to any phone number not rejected by the configuration file masks. Note that the 'decline' action (~) cannot be used on this command because a line will already have been selected.

The parameters on this command are used as follows:

action determines restriction or processing. You can specify either the code letter or the keyword:
c | convert convert phone numbers matched to mask, using output-string, for further phone-mask processing.
+ | accept accept phone number. For special purposes, the symbol + may be followed by a numeric TOSEND queue number (from 0 to the maximum queue number) which qualifies the mask as applying only to items in this queue number.
- | reject reject phone number.  For special purposes, the symbol + may be followed by a numeric TOSEND queue number (from 0 to the maximum queue number) which qualifies the mask as applying only to items in this queue number.
mask pattern used to match the phone number as follows:
(0 .. 9, comma) match actual digits of supplied phone number
X match any numeric digit, or a comma, of supplied phone number
* match all remaining digits, or commas, in supplied phone number (only valid at end of mask).
output-string pattern used to convert phone number, as follows:
(0 .. 9) digits to be used in next match
X digit of supplied phone number
* (at end, with a * at the end of mask) remaining digits of supplied phone number (otherwise * is dialed)

The output-string parameter is required on convert commands; it must not be specified on reject commands.

Default: number accepted provided it passes the $phone_mask checks specified in the configuration file

Example:

$phone_mask convert XXXXXXX 630XXXXXXX

$phone_mask - 630XXXXXXX ; no calls to 630 area