System Functions
SwyxWare gives current information about the call just received for the processing by a script. This current information can be, for example
*assigned to a variable (Set Variable),
*inserted into the text of an e-mail (The Use of Variables in E-Mail Texts or Send email) or
*being declared, see Say Number, Say Date or Say Time.
* 
When using system functions, note that they only occur in expressions that are subject to the syntax listed above.
 
The following system functions are available:
Name
Explanation
IpPbx.Away
Add or define status „Away“
IpPbx.CallingName
Add or define the name of the caller
IpPbx.CallingNumber
Add or define the number of the caller
IpPbx.DoNotDisturb
Add or define "Do not disturb"
IpPbx.OneWayConference
Add mode for one-way conference
IpPbx.SecondaryCallingNumber
Add secondary number
IpPbx.UserFreeStatusText
Add or define statustext of the user
CallDuration()
Duration of the call in seconds
CalledNumber()
Add called number
CallID()
Number fort he unique identification of this call. This identification is also used in the Call Detail Records (CDRs).
CallStart()
Starting time of the call in the format hh:mm:ss
CurDate()
Current date in the format dd.mm.yyyy
CurDateTime()
Time and date of the beginning of the call in the format hh:mm:ss dd:mm:yyyy
CurDay()
Current day (with preceding zero) in the format dd
CurDayOfWeek()
Day of week of the begin of the call in the format e.g., “Monday”
CurHour()
Current hour (with preceding zero) in the format hh
CurMinute()
Current minutes (with preceding zero) in the format mm
CurMonth()
Current month (with preceding zero) in the format mm
CurSecond()
Current seconds (with preceding zero) in the format ss
CurTime()
Current time in the format hh:mm:ss
CurYear()
Current year (yyyy)
ExternalCall()
External call
InternalCall()
Internal call
IsAway()
Status of the user is "Away"
IsBusy()
User is busy
IsDoNotDisturb()
Status of the user is "Do not disturb"
IsLoggedIn()
User is logged on to a device.
IsOutlookBusy()
Calendarstatus of the user is "busy"
IsOutOfOffice()
Calendarstatus of the user is "away"
LastCause()
Contains information about the last redirection action (connect to, loop, FollowMe) within the current call handling. The following values are possible:
*PBXSuccess (0)
*PBXFailure (1)
*PBXTimeout (2)
*PBXCallTermNormalCallClearing (3)
*PBXCallTermDestinationBusy (4)
*PBXCallTermReject (5)
*PBXCallTermWrongNumber (12)
*PBXCallTermConnectToCallerImpossible (13)
*PBXCallTermDestinationUnreachable (14)
*PBXNoChannelAvailable (18)
*PBXNetworkCongestion (19)
*PBXIncompatibleDestination (20)
*PBXOriginatorDisconnected (22)
NotLoggedIn()
Benutzer is logged off
OneWayConferenceSuffix()
Supplies the attachement, which was added to the destination number for one-way conference.
PIN()
Personal Identification Number of the person called.
PostDialingDigits()
Add suffix dial number
RecordLen()
Length of the recorded voice message in seconds
VoicemailOriginatorEMailAdress()
Insert e-mail address configured on the server of the sender of the voice message.
Last modified date: 06.16.2023