> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.voys.freedom.WatchCall

- Component: `appmixer.voys.freedom.WatchCall`
- Kind: Trigger
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.voys 1.2.4](https://connectors.appmixer.com/connector/appmixer.voys/1.2.4.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.voys/1.2.4/component/appmixer.voys.freedom.WatchCall>

Triggers when a new call is created, ringing, in progress or ended.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Status (`status`) | select | Select an event that you want to observe on calls. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Call Id (`call_id`) | string | - |
| Timestamp (`timestamp`) | string | - |
| Status (`status`) | string | - |
| Reason (`reason`) | string | - |
| Version (`version`) | string | - |
| Direction (`direction`) | string | - |
| Caller (`caller`) | object | - |
| Caller Number (`caller.number`) | string | - |
| Caller Name (`caller.name`) | string | - |
| Caller Account Number (`caller.account_number`) | string | - |
| Caller User Numbers (`caller.user_numbers`) | array | - |
| Caller User Emails (`caller.user_emails`) | array | - |
| Destination (`destination`) | object | - |
| Destination Number (`destination.number`) | string | - |

## Full metadata (component.json)

```json
{
  "version": "1.0.0",
  "name": "appmixer.voys.freedom.WatchCall",
  "author": "Appmixer <info@appmixer.com>",
  "description": "<p>Triggers when a new call is created, ringing, in progress or ended.</p>",
  "private": false,
  "quota": {},
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Call Id",
          "value": "call_id",
          "schema": {
            "type": "string",
            "example": "ua4-ams-prd-1733735515.29340564"
          }
        },
        {
          "label": "Timestamp",
          "value": "timestamp",
          "schema": {
            "type": "string",
            "example": "2024-12-09T09:11:55.875026+00:00"
          }
        },
        {
          "label": "Status",
          "value": "status",
          "schema": {
            "type": "string",
            "example": "ended"
          }
        },
        {
          "label": "Reason",
          "value": "reason",
          "schema": {
            "type": "string",
            "example": "completed"
          }
        },
        {
          "label": "Version",
          "value": "version",
          "schema": {
            "type": "string",
            "example": "v2"
          }
        },
        {
          "label": "Direction",
          "value": "direction",
          "schema": {
            "type": "string",
            "example": "outbound"
          }
        },
        {
          "label": "Caller",
          "value": "caller",
          "schema": {
            "type": "object",
            "example": {
              "number": "+15555550123",
              "name": "Jane Doe",
              "account_number": "101",
              "user_numbers": [
                "201"
              ],
              "user_emails": [
                "jane.doe@example.com"
              ]
            }
          }
        },
        {
          "label": "Caller Number",
          "value": "caller.number",
          "schema": {
            "type": "string",
            "example": "+15555550123"
          }
        },
        {
          "label": "Caller Name",
          "value": "caller.name",
          "schema": {
            "type": "string",
            "example": "Jane Doe"
          }
        },
        {
          "label": "Caller Account Number",
          "value": "caller.account_number",
          "schema": {
            "type": "string",
            "example": "101"
          }
        },
        {
          "label": "Caller User Numbers",
          "value": "caller.user_numbers",
          "schema": {
            "type": "array",
            "example": [
              "201"
            ]
          }
        },
        {
          "label": "Caller User Emails",
          "value": "caller.user_emails",
          "schema": {
            "type": "array",
            "example": [
              "jane.doe@example.com"
            ]
          }
        },
        {
          "label": "Destination",
          "value": "destination",
          "schema": {
            "type": "object",
            "example": {
              "number": "+15555550188",
              "target": {
                "number": "+15555550188",
                "name": null,
                "account_number": null,
                "user_numbers": [],
                "user_emails": []
              }
            }
          }
        },
        {
          "label": "Destination Number",
          "value": "destination.number",
          "schema": {
            "type": "string",
            "example": "+15555550188"
          }
        }
      ]
    }
  ],
  "properties": {
    "schema": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "created",
            "ringing",
            "in-progress",
            "ended"
          ],
          "default": "created"
        }
      },
      "required": [
        "status"
      ]
    },
    "inspector": {
      "inputs": {
        "status": {
          "type": "select",
          "index": 0,
          "label": "Status",
          "tooltip": "<p>Select an event that you want to observe on calls.</p>",
          "options": [
            {
              "content": "created",
              "value": "created"
            },
            {
              "content": "ringing",
              "value": "ringing"
            },
            {
              "content": "in-progress",
              "value": "in-progress"
            },
            {
              "content": "ended",
              "value": "ended"
            }
          ],
          "defaultValue": "created"
        }
      }
    }
  },
  "auth": {
    "service": "appmixer:voys"
  },
  "webhook": true,
  "icon": "(data URI omitted)"
}
```
