VBScript → Lua
This function sends an alerting message to the originator of the current call.
PBXCall.Alerting
This function returns an integer value of PBXSuccess (0) on success. See list of defined return values.
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.
By Tom Wellige