Webex · Schema

VoicemailInfo

CallingCollaborationCommunicationEnterpriseMessagingVideo Conferencing

Properties

Name Type Description
enabled boolean Voicemail is enabled or disabled.
sendAllCalls object Settings for sending all calls to voicemail.
sendBusyCalls object Settings for sending calls to voicemail when the line is busy.
sendUnansweredCalls object
notifications object Settings for notifications when there are any new voicemails.
transferToNumber object Settings for voicemail caller to transfer to a different number by pressing zero (0).
emailCopyOfMessage object Settings for sending a copy of new voicemail message audio via email.
messageStorage object
faxMessage object
View JSON Schema on GitHub

JSON Schema

webex-voicemailinfo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VoicemailInfo",
  "title": "VoicemailInfo",
  "type": "object",
  "required": [
    "enabled",
    "sendAllCalls",
    "sendBusyCalls",
    "sendUnansweredCalls",
    "notifications",
    "transferToNumber",
    "emailCopyOfMessage",
    "messageStorage",
    "faxMessage"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "example": true,
      "description": "Voicemail is enabled or disabled."
    },
    "sendAllCalls": {
      "type": "object",
      "required": [
        "enabled"
      ],
      "properties": {
        "enabled": {
          "type": "boolean",
          "example": true,
          "description": "All calls will be sent to voicemail."
        }
      },
      "description": "Settings for sending all calls to voicemail."
    },
    "sendBusyCalls": {
      "type": "object",
      "required": [
        "enabled",
        "greeting",
        "greetingUploaded"
      ],
      "properties": {
        "enabled": {
          "type": "boolean",
          "example": true,
          "description": "Calls will be sent to voicemail when busy."
        },
        "greeting": {
          "type": "string",
          "enum": [
            "DEFAULT",
            "CUSTOM"
          ],
          "description": "`DEFAULT` indicates the default greeting will be played. `CUSTOM` indicates a custom `.wav` file will be played.\n * `DEFAULT` - The default greeting will be played.\n * `CUSTOM` - Designates that a custom `.wav` file will be played.\n"
        },
        "greetingUploaded": {
          "type": "boolean",
          "example": true,
          "description": "A custom greeting has been uploaded."
        }
      },
      "description": "Settings for sending calls to voicemail when the line is busy."
    },
    "sendUnansweredCalls": {
      "type": "object",
      "required": [
        "enabled",
        "greeting",
        "greetingUploaded",
        "numberOfRings",
        "systemMaxNumberOfRings"
      ],
      "properties": {
        "enabled": {
          "type": "boolean",
          "example": true,
          "description": "Enables and disables sending unanswered calls to voicemail."
        },
        "greeting": {
          "type": "string",
          "enum": [
            "DEFAULT",
            "CUSTOM"
          ],
          "description": "`DEFAULT` indicates the default greeting will be played. `CUSTOM` indicates a custom `.wav` file will be played.\n * `DEFAULT` - The default greeting will be played.\n * `CUSTOM` - Designates that a custom `.wav` file will be played.\n"
        },
        "greetingUploaded": {
          "type": "boolean",
          "example": true,
          "description": "A custom greeting has been uploaded"
        },
        "numberOfRings": {
          "type": "number",
          "example": 3,
          "description": "Number of rings before unanswered call will be sent to voicemail."
        },
        "systemMaxNumberOfRings": {
          "type": "number",
          "example": 15,
          "description": "System-wide maximum number of rings allowed for `numberOfRings` setting."
        }
      }
    },
    "notifications": {
      "type": "object",
      "required": [
        "enabled"
      ],
      "properties": {
        "enabled": {
          "type": "boolean",
          "example": true,
          "description": "Send of unanswered calls to voicemail is enabled or disabled."
        },
        "destination": {
          "type": "string",
          "example": "[email protected]",
          "description": "Email address to which the notification will be sent. For text messages, use an email to text message gateway like `[email protected]`."
        }
      },
      "description": "Settings for notifications when there are any new voicemails."
    },
    "transferToNumber": {
      "type": "object",
      "required": [
        "enabled"
      ],
      "properties": {
        "enabled": {
          "type": "boolean",
          "example": true,
          "description": "Enabled or disabled state of giving caller option to transfer to destination when pressing zero (0)."
        },
        "destination": {
          "type": "string",
          "example": "6527",
          "description": "Number voicemail caller will be transferred to when they press zero (0)."
        }
      },
      "description": "Settings for voicemail caller to transfer to a different number by pressing zero (0)."
    },
    "emailCopyOfMessage": {
      "type": "object",
      "required": [
        "enabled",
        "emailId"
      ],
      "properties": {
        "enabled": {
          "type": "boolean",
          "example": true,
          "description": "When `true` copy of new voicemail message audio will be sent to the designated email."
        },
        "emailId": {
          "type": "string",
          "example": "[email protected]",
          "description": "Email address to which the new voicemail audio will be sent."
        }
      },
      "description": "Settings for sending a copy of new voicemail message audio via email."
    },
    "messageStorage": {
      "type": "object",
      "required": [
        "mwiEnabled",
        "storageType",
        "externalEmail"
      ],
      "properties": {
        "mwiEnabled": {
          "type": "boolean",
          "example": true,
          "description": "When `true` desktop phone will indicate there are new voicemails."
        },
        "storageType": {
          "type": "string",
          "enum": [
            "INTERNAL",
            "EXTERNAL"
          ],
          "description": "Designates which type of voicemail message storage is used.\n * `INTERNAL` - For message access via phone or the Calling User Portal.\n * `EXTERNAL` - For sending all messages to the person's email.\n"
        },
        "externalEmail": {
          "type": "string",
          "example": "[email protected]",
          "description": "External email address to which the new voicemail audio will be sent.  A value for this field must be provided in the request if a `storageType` of `EXTERNAL` is given in the request."
        }
      }
    },
    "faxMessage": {
      "type": "object",
      "required": [
        "enabled"
      ],
      "properties": {
        "enabled": {
          "type": "boolean",
          "example": true,
          "description": "When `true` FAX messages for new voicemails will be sent to the designated number."
        },
        "phoneNumber": {
          "type": "string",
          "example": "2025551212",
          "description": "Designates phone number for the FAX. A value for this field must be provided in the request if faxMessage `enabled` field is given as `true` in the request."
        },
        "extension": {
          "type": "string",
          "example": "1234",
          "description": "Designates optional FAX extension."
        }
      }
    }
  }
}