Properties
| Name | Type | Description |
|---|---|---|
| ip | string | This is the address of the gateway. It can be an IPv4 address like 1.1.1.1 or a fully qualified domain name like my-sip-trunk.pstn.twilio.com. |
| port | number | This is the port number of the gateway. Default is 5060. @default 5060 |
| netmask | number | This is the netmask of the gateway. Defaults to 32. @default 32 |
| inboundEnabled | boolean | This is whether inbound calls are allowed from this gateway. Default is true. @default true |
| outboundEnabled | boolean | This is whether outbound calls should be sent to this gateway. Default is true. Note, if netmask is less than 32, it doesn't affect the outbound IPs that are tried. 1 attempt is made to `ip:port`. @de |
| outboundProtocol | string | This is the protocol to use for SIP signaling outbound calls. Default is udp. @default udp |
| optionsPingEnabled | boolean | This is whether to send options ping to the gateway. This can be used to check if the gateway is reachable. Default is false. This is useful for high availability setups where you want to check if the |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/SipTrunkGateway",
"title": "SipTrunkGateway",
"type": "object",
"properties": {
"ip": {
"type": "string",
"description": "This is the address of the gateway. It can be an IPv4 address like 1.1.1.1 or a fully qualified domain name like my-sip-trunk.pstn.twilio.com."
},
"port": {
"type": "number",
"description": "This is the port number of the gateway. Default is 5060.\n\n@default 5060",
"minimum": 1,
"maximum": 65535
},
"netmask": {
"type": "number",
"description": "This is the netmask of the gateway. Defaults to 32.\n\n@default 32",
"minimum": 24,
"maximum": 32
},
"inboundEnabled": {
"type": "boolean",
"description": "This is whether inbound calls are allowed from this gateway. Default is true.\n\n@default true"
},
"outboundEnabled": {
"type": "boolean",
"description": "This is whether outbound calls should be sent to this gateway. Default is true.\n\nNote, if netmask is less than 32, it doesn't affect the outbound IPs that are tried. 1 attempt is made to `ip:port`.\n\n@default true"
},
"outboundProtocol": {
"type": "string",
"description": "This is the protocol to use for SIP signaling outbound calls. Default is udp.\n\n@default udp",
"enum": [
"tls/srtp",
"tcp",
"tls",
"udp"
]
},
"optionsPingEnabled": {
"type": "boolean",
"description": "This is whether to send options ping to the gateway. This can be used to check if the gateway is reachable. Default is false.\n\nThis is useful for high availability setups where you want to check if the gateway is reachable before routing calls to it. Note, if no gateway for a trunk is reachable, outbound calls will be rejected.\n\n@default false"
}
},
"required": [
"ip"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/vapi-siptrunkgateway"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.