D. CPL system variables

sysCallDuration
(read only)
Returns the duration of the current connection, in the format HH:MM:SS. Prior to execution of an command this value is undefined.
sysCalledParty
(read only)
If the current call was originated by an ISDN subscriber, this variable contains the called party number, otherwise "<unknown>". If the call is a SIP call the content of the To: header field of the INVITE request is returned, e.g. "foertel@ibm.net".
sysCallingParty
(read only)
If the current call was originated by an ISDN subscriber, this variable contains the calling party number, otherwise "<unknown>" is returned. If the call is a SIP call the content of the From: header field of the INVITE request is returned.
sysCalls
(read only)
Number of times this script was called by the server (not the number of actually accepted calls). Currently not implemented.
sysConnections
(read only)
Number of calls actually accepted by this script (since server startup). Currently not implemented.
sysDate
(read only)
Returns the current date in the format YYYY/MM/DD
sysDay
(read only)
Returns the current day of week (1=monday, ..., 7)
sysDtmf

Contains the last DTMF key sequence recognized by an or trigger.
sysHostname
(read only)
Returns the current hostname.
sysOrigin

Returns "phone" if the current call is a phone call. If a SIP INVITE request is being processed, "sip" is returned.
sysStatus
(read only)
Contains 0, if the last CPL command was executed successfully. Values greater than 0 are indicating errors.
sysTime
(read only)
Returns the current time in 24 hour format HH:MM:SS
sysTrace

Returns 1 if command tracing is on, otherwise 0. Tracing may be enabled or disabled by setting this variable. Tracing informations are written to stderr. Command tracing is turned off by default.
sysUsername
(read only)
Returns the current user name.


File was created Wed Feb 26 18:31:47 1997 by tex2html