Connect your own phone line

Your AI agents can call from your own numbers and answer them, through Twilio or any SIP provider. You do it yourself, in a few minutes. Nothing to ask us.

Which do you have?

Do your provider's steps first, then the four steps in the Studio.

What it costs

Twilio 4 steps in the Twilio Console

1Make a SIP trunk in Twilio

Sign in to the Twilio Console. Open Elastic SIP Trunking › Trunks and press Create new SIP Trunk. Give it any name.

Leave Secure Trunking off: we connect over UDP.

2Termination: how we reach Twilio

In your trunk, open Termination.

  1. Pick a Termination SIP URI, for example yourshop.pstn.twilio.com.
  2. Under Authentication › Credential Lists, add a new list with a user name and a password. Write both down: you type them in the Studio.

3Origination: how Twilio reaches us

In your trunk, open Origination and press Add new Origination URI. Paste:

sip:103.64.128.108:5060

The same address is on the Phone numbers page under What to set at your provider, with a Copy button.

4Numbers: put your numbers on the trunk

In your trunk, open Numbers and add the Twilio numbers your AI agents should call from and answer.

Then copy your Account SID and Auth Token from the Twilio Console home page. That is everything you need from Twilio.

Any other SIP provider 3 steps with your provider

1Ask your provider for three things

Any SIP trunk works: Plivo, Exotel, Tata, Vonage, your office PBX and others. Ask your provider for:

  1. the SIP address to send calls to (for example sip.yourprovider.com)
  2. a user name and password for the trunk, or that they let us in by our address instead
  3. how they want your caller ID written (with +, without +, or national)

2Give your provider our details

Our address (signalling IP)103.64.128.108
SIP port5060 over UDP (TCP and TLS are not supported)
Audio (RTP) portsUDP 16384-32768, to and from 103.64.128.108
CodecsPCMU and PCMA (G.711)

If your provider lets callers in by address, ask them to add 103.64.128.108 to the trunk's allowed IPs.

3Ask them to send your calls to us

For each of your numbers, your provider sends incoming calls to:

sip:+<your number>@103.64.128.108:5060

with your number in full, for example sip:+14155550100@103.64.128.108:5060.

If they send calls from other addresses than the SIP address above, ask for that list: you can type it in the Studio under More.

In the Studio 4 steps, the same for every provider

1Connect it in the Studio

Open Phone numbers. Under Your own calling provider press Connect a provider.

  1. Pick Twilio, your provider from the list, or Other provider.
  2. Twilio: paste the Account SID and Auth Token, and the trunk user name and password. Any other provider: the SIP address, and the user name and password (or choose that your provider lets us in by address).
  3. Press Save and test. With Twilio, pick your trunk from the list that appears, then press Save and test again.

When the test passes, the connection is switched on by itself.

2Bring in your numbers

On the connection, press Numbers.

  • Twilio: tick the numbers from your account.
  • Other providers: type your numbers, one per line, with the country code.

Press Bring in. If a number is already in use here and it is yours, press This is my number: we check and write to you.

3Give a number to an agent

Your numbers are now in the list on the same Phone numbers page. Next to a number, use choose who answers and pick an agent.

No agent yet? Make one under Agents first.

4Place a test call

On the connection, press Test call. Your own phone rings from your own number and you talk to your agent.

For a SIP provider this call is the real proof that the line works. If it does not ring, check what you gave your provider: our address, UDP, the audio ports.

If the card says calls on your own line start once our calling server is ready, you can still do every step now; we tell you when calls begin.

Stuck on a step? Write to us and say which step: we help you finish.