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.
Do your provider's steps first, then the four steps in the Studio.
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.
In your trunk, open Termination.
yourshop.pstn.twilio.com.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.
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 SIP trunk works: Plivo, Exotel, Tata, Vonage, your office PBX and others. Ask your provider for:
sip.yourprovider.com)| Our address (signalling IP) | 103.64.128.108 |
|---|---|
| SIP port | 5060 over UDP (TCP and TLS are not supported) |
| Audio (RTP) ports | UDP 16384-32768, to and from 103.64.128.108 |
| Codecs | PCMU 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.
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.
Open Phone numbers. Under Your own calling provider press Connect a provider.
When the test passes, the connection is switched on by itself.
On the connection, press Numbers.
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.
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.
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.