Connect a SIP trunk for voice

Route calls from your own phone carrier to your voice agent over a SIP trunk. Add the trunk, set authentication and test an inbound call.

Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.

A SIP trunk connects your own phone carrier to your voice agent. Use it when you already have phone numbers with a carrier and want calls to those numbers answered by the agent, without moving the numbers. If you would rather get numbers through a provider account, see Twilio.

Before you start

  • A voice agent. See Voice.
  • A phone number with a carrier that supports SIP trunking, and access to the carrier's routing settings.
  • The number in international format, such as +14155550123.

Add the trunk

  1. Open the agent and select Channels > Voice.
  2. Select Phone numbers and then Add SIP trunk.
  3. Enter a Trunk name and the Phone number in international format.
  4. Choose how calls are authenticated: Username and password or IP allowlist.
  5. Copy the SIP address that Askocto shows.
  6. In your carrier's settings, send calls for that number to the SIP address, using the same authentication.
  7. Select Save.

You should see the trunk listed with the status Connected once the carrier reaches it.

Fields

Field What it is
Trunk name A label for you, such as "Main line".
Phone number The number callers dial.
Authentication Username and password, or the carrier's IP addresses.
SIP address Where your carrier sends inbound calls.
Outbound caller ID The number shown on calls that the agent transfers or places.

Test an inbound call

  1. Call the number from your own phone.
  2. Listen for the agent's greeting and ask a question.
  3. Open Activity and check that the call appears with its transcript.

Tip: Add Transfer to phone before launch, so callers who ask for a person reach someone.

Remove a trunk

Select the trunk and choose Delete. Then change the routing at your carrier, so calls stop being sent to Askocto.

Troubleshooting

  • The call does not connect. Check the number format, the SIP address and that the carrier's authentication matches what you set.
  • The call connects and is silent. Ask your carrier to allow media from Askocto's addresses, and check any firewall in the path.
  • The agent answers the wrong number. Each number belongs to one agent. Check the trunk is saved on the right agent.

Something unclear or missing? Tell us and we will fix the page.