Lua → VBScript SwxWare v13.10
This function sends an alerting message to the originator of the current call.
local nReturn = PBXCall.Alerting()
This function returns a PBXResult value of PBXSuccess, PBXFailure or PBXCallTermOriginatorDisconnected.
If the current call is already in state Alerting or Connected the function call will be ignored.
Common usage of this function is to signal s standard ringing tone will be played in the direction of the caller. The call is not connected and therefore consumes not costs.
Please note the timeouts of the pstn / provider when handling with this message directly.
Beside sending alerting you can also sent a call proceeding message using the PBXCall.CallProceeding() function.
You can also skip the alerting phase for the current call by using the PBXCall.SkipAlerting() function.