Named Macros in Configuration Templates¶
macro.CUC_HTML_NotificationTemplateName
{{ data.SiteDefaultsDoc.defaultcuchtmlnotificationtemplate | name:macro.DPSITE }}
By default, the macro:
DPSITE
resolves to the site name at the current hierarchy, in other words:{{ data.BaseSiteDAT.SiteName }}
The macro therefore resolves to the CUC notification template with the same name as the current site.
macro.CUC_DEFAULT_USER_TEMPLATE
Standard Common Phone Profile
macro.CUCM_LINE_callForwardBusy_callingSearchSpaceName
{{ fn.evaluate macro.CUCM_LINE_callForwardBusy_callingSearchSpaceName-2 }}
The macro uses a macro function call to resolve another macro. Refer to the notes at the relevant macro.
macro.NEXT_AVAILABLE_LINE
{{ data.InternalNumberInventory.internal_number | used:fn.false,available:fn.true | direction:up,limit:1 }}
Returns the next available line from the internal number inventory.
macro.MappedE164fromDNLookup
{{ fn.get_e164_number cft.LineX.dirn.pattern }}
Look up the mapped E164 number given a DN.
macro.E164MaskMappedorPubNum
(( fn.is_none_or_empty macro.MappedE164fromDNLookup == false )) <{{fn.replace macro.MappedE164fromDNLookup,\}}> <{{data.DpSite.pubNumber || direction:local }}> Takes the results of ``macro.MappedE164fromDNLookup`` and checks to see if it returned a value. If not, return the published number Used in the various CFTs in Quick Add Subscriber – for ``device/cucm/Phone``, ``device/cucm/DeviceProfile``, ``device/cucm/RemoteDestinationProfile``.
macro.CUCM_UDT_commonPhoneProfile
Standard Common Phone Profile
macro.CUCM_UDT_ownerUserId
Current Device Owner's User ID
macro.CUCM_UDT_phoneButtonTemplate
Universal Device Template Button Layout
macro.SITENAME
{{ data.VOSS-Site-DialPlan.SiteName }}
During site creation, an instance of
data/VOSS-Site-DialPlan
is created at the site hierarchy. This data model stores a reference to the name of the site.