If you don’t have your own PBX or carrier and only need a number for your agent, see Numbers and the ElevenLabs channel.
Before you start
You need:- A PBX (Asterisk, FreePBX, 3CX, or another) or a carrier that speaks SIP over the internet, with a public IP.
- A PBX that can authenticate with a username and password (digest) when it sends calls.
- Your numbers in international format (E.164), for example
+593984900754. - The agents that will answer, already created in Voice. They can be ElevenLabs or Vapi agents.
Trunks that connect over a VPN or with private addresses are not set up here: the Jelou team still configures them.
How it works
- Inbound calls: your PBX sends the call to
sip.jelou.aiwith the dialed number. Jelou hands it to the agent you assigned to that number. - Outbound calls (optional): when an ElevenLabs agent calls from one of your numbers, Jelou sends the call to your PBX, which places it through your carrier.
Connect a trunk
1
Open SIP trunks
In Voice, open SIP trunks and click Connect trunk.
2
Name it
The Name is how you’ll recognize the trunk in the list, for example
Carrier Quito.3
Choose how we recognize your trunk
Under How we recognize your trunk, pick one of two options:
With IP and password, fill in IPs your trunk calls from: one public IP or CIDR block (
/16 or smaller) per line.4
Decide whether your agents call through your trunk
Turn on Send the agents’ calls to your PBX only if you want your agents to call out through your trunk. You can leave it for later; the fields are explained in Outbound calls through your trunk.
5
Connect
Click Connect. Settings for your PBX opens with everything you need for the next step.
The settings for your PBX
Settings for your PBX shows each value with a button to copy it:
The same settings, except the password, stay in the trunk’s details, under Settings for your PBX.
Set up your PBX
Every PBX names things differently, but the steps are the same:- Create a SIP trunk to
sip.jelou.ai, port5060, over UDP or TCP. - Use the Jelou Username and Password as the authentication credentials. Don’t set up registration (REGISTER): your PBX authenticates on every call it sends.
- Send each call to the dialed number in international format, for example
sip:[email protected]. Jelou also recognizes the number without the+. - Use G.711 (
ulaworalaw) or G.722, and DTMF over RFC 4733 (also known as RFC 2833). - Allow the Jelou Public IP in your firewall: SIP on
5060and audio on10000-20000UDP.
Example for Asterisk (PJSIP)
Example for Asterisk (PJSIP)
pjsip.conf
Dial(PJSIP/+593984900754@jelou).Replace transport-udp with the name of your UDP transport and from-jelou with the context where you handle incoming calls. If the agents call out through your trunk, that context receives those calls: send them on to your carrier, with the number in the format you chose in Format of the number we send.extensions.conf
Add numbers
Click the trunk to open its details and, under Numbers, click Add number:
When you add it, Jelou registers the number with the agent’s provider and gets it ready for the calls your trunk sends.
A number can only be on one trunk, and it can’t be a line that already exists in Jelou. To change a number’s agent, remove it with Remove number and add it again with the new agent.
Outbound calls through your trunk
For your agents to call out through your trunk, edit the trunk with Edit trunk and turn on Send the agents’ calls to your PBX:
Then turn on Call out with this number on each number the agents can use. The calls an agent places from that number, including campaign calls, go out through your PBX.
Your PBX must accept the calls that come from the Jelou Public IP, either by recognizing that IP or by asking for the username and password you set up.
For now only ElevenLabs agents can call through a trunk.
Advanced
The Advanced section of the form adjusts how calls are sent:Trunk statuses
The Status column of the list shows how each trunk is doing:
If a trunk stays Not responding, check Your PBX host or IP, the Port, and the Transport, and that your firewall allows the Jelou Public IP. If your PBX doesn’t answer OPTIONS by design, turn off Check availability under Advanced.
Edit, pause, and delete
The menu in the Actions column has:Current limits
- A trunk can’t be recognized by its IP alone: it always uses a username and password. With IP and password, those credentials also only work from your IPs.
- TLS is only available for the calls Jelou sends to your PBX. Your PBX sends calls to Jelou over UDP or TCP.
- Only ElevenLabs agents call out through a trunk.
- The Jelou team sets up trunks over a VPN or with a private IP.