Navigation:  Commands > User Profile / User Job Properties [USR, UJP] >

$phone_mask [UJP]

Previous pageReturn to chapter overviewNext page

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.
- | reject reject phone number.
mask pattern used to match the phone number as follows:
(0 .. 9) match actual digits entered by caller
X match any digit of supplied phone number
* match all remaining digits of 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

 


Topic url: http://www.copia.com/support/refmanual/index.html?%24phone_mask_ujp.htm