Macro Expansion with Phone Numbers

Macro expansion provides many options for retrieving and manipulating phone number data for use with communications events or commands. This topic applies to event and command parameters only.

The macro @Phone is often used to retrieve a phone number; for a detailed description of this macro and its encoded logic, see Macros for Parameter Values. Alternatively, you can explicitly specify the name of a field from which to extract phone number data.

Note: When you work with phone number fields in event and command parameter definitions, you must be aware of how phone number data is formatted in your deployment of the Siebel Business Applications and of the implications of the formatting. Dialing filters must be specifically designed and implemented to accommodate local requirements for transforming phone number data from the stored format. For phone number data stored in fields using the DTYPE_PHONE data type, when matching phone number data through QuerySpec or QuerySpec2 event response functions, you might have to use LIKE rather than = (equals) in predicate clauses.

For information about phone number formatting, including formatting for international numbers, see Siebel Applications Administration Guide.

You can use the following special macro-expansion features when retrieving phone number data: