Webex · Schema

GetLocationInterceptObject

CallingCollaborationCommunicationEnterpriseMessagingVideo Conferencing

Properties

Name Type Description
enabled boolean Enable/disable location intercept. Enable this feature to override any Location's Call Intercept settings that person configures.
incoming object Inbound call details.
outgoing object Outbound Call details
View JSON Schema on GitHub

JSON Schema

webex-getlocationinterceptobject-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GetLocationInterceptObject",
  "title": "GetLocationInterceptObject",
  "type": "object",
  "required": [
    "enabled"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "example": true,
      "description": "Enable/disable location intercept. Enable this feature to override any Location's Call Intercept settings that person configures."
    },
    "incoming": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "INTERCEPT_ALL",
            "ALLOW_ALL"
          ],
          "description": "Select inbound call options.\n * `INTERCEPT_ALL` - Intercept all inbound calls.\n * `ALLOW_ALL` - Allow all inbound calls.\n"
        },
        "voicemailEnabled": {
          "type": "boolean",
          "example": true,
          "description": "Enable/disable to route voice mail."
        },
        "announcements": {
          "type": "object",
          "properties": {
            "greeting": {
              "type": "string",
              "enum": [
                "DEFAULT",
                "CUSTOM"
              ],
              "description": "Greeting type for location intercept.\n * `DEFAULT` - Play default greeting.\n * `CUSTOM` - Play custom greeting.\n"
            },
            "fileName": {
              "type": "string",
              "example": ".wav",
              "description": "If set to `CUSTOM` for greeting, filename of previously uploaded file."
            },
            "newNumber": {
              "type": "object",
              "properties": {
                "enabled": {
                  "type": "boolean",
                  "example": true,
                  "description": "Enable/disable to play new number announcement."
                },
                "destination": {
                  "type": "string",
                  "example": "2147691003",
                  "description": "Incoming destination phone number to be announced."
                }
              },
              "description": "Settings for new number announcement."
            },
            "zeroTransfer": {
              "type": "object",
              "properties": {
                "enabled": {
                  "type": "boolean",
                  "example": true,
                  "description": "Enable/disable to transfer to phone number."
                },
                "destination": {
                  "type": "string",
                  "example": "2147691005",
                  "description": "Transfer phone number to be called when '0' is dialed."
                }
              },
              "description": "Transfer number details."
            }
          },
          "description": "Announcements details."
        }
      },
      "description": "Inbound call details."
    },
    "outgoing": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "INTERCEPT_ALL",
            "ALLOW_LOCAL_ONLY"
          ],
          "description": "Outbound call modes\n * `INTERCEPT_ALL` - Intercept all outbound calls.\n * `ALLOW_LOCAL_ONLY` - Allow local outbound calls.\n"
        },
        "transferEnabled": {
          "type": "boolean",
          "example": true,
          "description": "If `true`, allows transfer and forwarding for the call type."
        },
        "destination": {
          "type": "string",
          "example": "2147691007",
          "description": "If enabled, set outgoing destination phone number."
        }
      },
      "description": "Outbound Call details"
    }
  }
}