@advancedMessage::isBypassPhoneIntro

Checks the advanced message and determines whether the flag to bypass the introduction for voice notifications is selected.

Syntax:

@advancedMessage::isBypassPhoneIntro()

Parameters:

None

Returns:

(Boolean) true if voice notifications should not play the introduction, otherwise false

Example:

The following example is taken from the default scripts:

IF (EXISTS(@advancedMessage))
  $bypassPhoneIntro = @advancedMessage::isBypassPhoneIntro()
ELSE
  $bypassPhoneIntro = (EXISTS($initiatingEvent.bypassPhoneIntro) && $initiatingEvent.bypassPhoneIntro == "true")
ENDIF
IF ($bypassPhoneIntro)
  @script::log("Bypassing Phone intro")
ELSE
  @phone::play("phrase", "thisis")
  @phone::play("phrase", "companyname")
  @phone::play("phrase", "callingfor")
ENDIF
$recordingExists = @phone::isRecording("name", $targetName)
IF($recordingExists)
  @phone::play("name", $targetName)
ELSE
  @phone::play("phrase", $recipient.firstName & " " & $recipient.lastName)
ENDIF