CallButler Scripting - Script Constants

Sep 10, 2008 at 12:33 AM

Script constants are useful tools for any custom scripting job.  They can also be used to speak dynamic data when using a text to speech greeting.  Below is an outline of the CallButler constants that can also be found in the CallButler Users Manual:

Constant

Description

@ApplicationDirectory@

The directory path to the application executing the inTELiscript.

@CallerDisplayName@

The display name of the caller. This is usually considered the Caller ID of the caller.

@CallerHost@

The host of the caller. In the case of SIP VoIP, this is the name of the computer or server where the call is being made from.

@CallerUsername@

The username or telephone number of the caller.

@DayName@

The name of the current day. Example -  Monday, Tuesday, Wednesday, etc.

@DayNumber@

The current number for the day of the month.

@DialedHost@

The hostname of the number that was dialed to reach CallButler.

@DialedUsername@

The username or telephone number that was dialed to reach CallButler.

@FileTime@

The current date and time expressed in a single number.

@GUID@

A globally unique identifier.

@Hour@

A number for the current hour.

@LongDate@

The current date in a long format string. Example - Wednesday, May 16, 2001. Note that the format for this is dependant on your system language and culture.

@LongTime@

The current time in a long format string.  Example - 3:02:15 AM. Note that the format for this is dependant on your system language and culture.

@Minute@

The current minute.

@MonthName@

The name of the current month.

@MonthNumber@

The number of the current month.

@ScriptFileDirectory@

A path to the directory in which the current call script resides.

@ScriptFilePath@

A full path to the location of the current call script.

@Second@

The current second.

@ShortDate@

The current date in a short format string. Example - 3/8/2006. Note that the format for this is dependant on your system language and culture.

@ShortTime@

The current time in a short format string. Example - 2:55 PM. Note that the format for this is dependant on your system language and culture.

@TempDirectory@

A path to the system temp directory.