-
Server Script API (Lua)
Server Script API (Lua)
Introduction
PBXCall
- PBXCall.Activate()
- PBXCall.Alerting()
- PBXCall.CalledPartyName()
- PBXCall.CalledPartyNumber()
- PBXCall.CalledPartyNumberCanonical()
- PBXCall.CallId()
- PBXCall.CallingDeviceName()
- PBXCall.CallingDeviceType()
- PBXCall.CallingEntityId()
- PBXCall.CallingEntityType()
- PBXCall.CallingPartyName()
- PBXCall.CallingPartyNumber()
- PBXCall.CallProceeding()
- PBXCall.CallType()
- PBXCall.Charges()
- PBXCall.ConnectedName()
- PBXCall.ConnectedNumber()
- PBXCall.DeletePhoneCallListEntry()
- PBXCall.DialedNumber()
- PBXCall.Disconnect()
- PBXCall.Hold()
- PBXCall.IsFaxToneDetected()
- PBXCall.IsInternal()
- PBXCall.IsOnHold()
- PBXCall.IsOriginatorDisconnected()
- PBXCall.LastRecordedMessage()
- PBXCall.LastRecordedMessageLength()
- PBXCall.OriginalCallingPartyName()
- PBXCall.OriginalCallingPartyNumber()
- PBXCall.PlayMessage()
- PBXCall.PostDialingDigits()
- PBXCall.RecordMessage()
- PBXCall.SecondaryCallingPartyNumber()
- PBXCall.SendEMail()
- PBXCall.SkipAlerting()
- PBXCall.TransferrerName()
- PBXCall.TransferrerNumber()
- PBXCall.WaitForDisconnect()
PBXUser
- PBXUser.Away()
- PBXUser.AwayViaPresence()
- PBXUser.BusyRedirect()
- PBXUser.BusyRedirectNumber()
- PBXUser.DelayedRedirect()
- PBXUser.DelayedRedirectNumber()
- PBXUser.DelayedRedirectTimeout()
- PBXUser.DoNotDisturb()
- PBXUser.DoNotDisturbViaPresence()
- PBXUser.EnableParallelCall()
- PBXUser.FreeStatusText()
- PBXUser.IsBusy()
- PBXUser.IsLoggedIn()
- PBXUser.IsOutlookBusy()
- PBXUser.IsOutOfOffice()
- PBXUser.Name()
- PBXUser.Now()
- PBXUser.NumberOfNewVoiceMessages()
- PBXUser.ParallelCallNumbers()
- PBXUser.PhonePin()
- PBXUser.UnconditionalRedirect()
- PBXUser.UnconditionalRedirectNumber()
- PBXUser.UserId()
PBXGroup
- PBXGroup.CallerIsMember()
- PBXGroup.GroupID()
- PBXGroup.IsBusy()
- PBXGroup.IsLoggedIn()
- PBXGroup.Name()
PBXScript
- PBXScript.CompareNumbers()
- PBXScript.ConvertToCanonical()
- PBXScript.EndScript()
- PBXScript.GetAudioFileLength()
- PBXScript.GetPBXConfig()
- PBXScript.GetUserByAddress()
- PBXScript.InstallLanguageId()
- PBXScript.Now()
- PBXScript.OutputTrace()
- PBXScript.OutputTraceEx()
- PBXScript.PreviousScripts()
- PBXScript.SendEMail()
- PBXScript.Sleep()
- PBXScript.SystemLanguageId()
- PBXScript.Type()
- PBXScript.Version()
PBXWebRequest
-
3 pages in this category
-
Introduction
Last Updated:Lua → VBScript SwxWare v13.10 The following interfaces are available: PBXCall This interface covers properties and methods being related to the current call. PBXUser This interface covers properties and methods being related to the user the current script is running for. If the current script runs in a group context (i.e. this is a call routing for a group) this interface does not exist! (from SwyxWare 13.27) Please read here to figure - 1,471 views
-
Predefined Constants
Last Updated:Lua → VBScript SwxWare v13.10 Many of the Server Script API functions make use of predefined constants for parameters and/or return values. PBXResult -- Script result values PBXSuccess = 0 PBXFailure = 1 PBXTimeout = 2 PBXCallTermNormalCallClearing = 3 PBXCallTermDestinationBusy = 4 PBXCallTermReject = 5 PBXCallTermCancelled - 304 views
-
User or Group context
Last Updated:Lua → VBScript SwxWare v13.27 A call routing script can run on a user or a group context. Differ context If the script is running in a user context the PBXUser interface is available while the PBXGroup interface is not. If it is running on a group context the PBXGroup interface is available while the PBXUser interface is not. If your script is used in both contexts (user and group) and needs to make use of PBXUser/PBXGroup functio - 279 views
-