create_sip_trunk
Create a SIP trunk
Description
Connect the business's own PBX or call-centre software to its Twilio or Telnyx numbers over SIP. originationUri is where incoming calls go (sip:pbx.example.com); outbound calls authenticate with username + password (generated when left out and shown once, never kept by Hermoso) and/or allowedIps. numbers moves those numbers' calls onto the trunk. On Twilio it is an Elastic SIP trunk with a <domain>.pstn.twilio.com termination address; on Telnyx an FQDN, IP or credential connection (sip.telnyx.com). Without confirm:true nothing is created and the answer says what would be. The carrier bills the calls. Free. Needs Twilio or Telnyx connected (Connectors, or connect_connector).
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | |
originationUri | string | |
allowedIps | string[] | |
username | string | |
password | string | |
numbers | string[] | |
domain | string | Twilio: the termination name before .pstn.twilio.com |
secure | boolean | Twilio: TLS + SRTP only |
cnamLookup | boolean | Twilio: look up caller names on incoming calls |
outboundVoiceProfileId | string | Telnyx: the outbound voice profile (default: the account's first) |
confirm | boolean | true once the user agreed |
provider | "twilio" | "telnyx" | only when both are connected |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/create_sip_trunk.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_sip_trunk","arguments":{}}}
CLI
hermoso call create_sip_trunk --json '{}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
connect_connectorConnect a paste-a-key accountlist_sip_trunksList SIP trunksupdate_sip_trunkChange a SIP trunkset_softphoneBrowser softphone numbersdelete_sip_trunkDelete a SIP trunkimessage_audienceiMessage audience and opt-in linksbranded_calling_statusBranded caller ID statusmanage_imessage_groupsiMessage group chatsregister_branded_callingRegister branded caller IDimessage_conversationRead an iMessage conversation