@session::isBypassPhoneIntro

Checks all notifications for the current User, and returns true if any notification has the bypass phone intro flag.

Syntax:

@session::isBypassPhoneIntro()

Parameters:

None

Returns:

(Boolean) true if phone introduction should be bypassed.

Example:

$bypassPhoneIntro = @session::isBypassPhoneIntro()
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