VBScript → Lua SwxWare v4.40
The following server configuration properties can be requested from the PBXConfig object. All properties are read-only.
PBXScript.OutputTrace "CountryCode: " & g_PBXConfig.CountryCode PBXScript.OutputTrace "AreaCode: " & g_PBXConfig.AreaCode PBXScript.OutputTrace "PublicAccessPrefix: " & g_PBXConfig.PublicAccessPrefix PBXScript.OutputTrace "LongDistanceCallPrefix: " & g_PBXConfig.LongDistanceCallPrefix PBXScript.OutputTrace "InternationalCallPrefix: " & g_PBXConfig.InternationalCallPrefix PBXScript.OutputTrace "NumberRangeStart: " & g_PBXConfig.NumberRangeStart PBXScript.OutputTrace "NumberRangeEnd: " & g_PBXConfig.NumberRangeEnd PBXScript.OutputTrace "NonDeliverableCallsNumber: " & g_PBXConfig.NonDeliverableCallsNumber PBXScript.OutputTrace "VoicemailFromAddress: " & g_PBXConfig.VoicemailFromAddress
By Tom Wellige