Before you begin
From your carrier, collect:- The SIP trunk address (a public host name or IP address, with a port if your carrier uses one, for example
trunk.example.comor203.0.113.10:5060). - The SIP username and password, unless your carrier authorizes your traffic by IP address.
- The transport your carrier expects. Use TCP unless your carrier requires something else.
- The phone numbers on the trunk, in E.164 format (for example
+15555550123).
Add the line in the dashboard
1
Add the configuration
Open Telephony, choose Add configuration, and select SIP trunk (any carrier).
2
Enter the trunk details
Fill in SIP trunk address, SIP username, SIP password, and Transport. TCP (recommended) is the default. UDP can fail because a call’s setup message can be larger than one UDP packet, so choose it only when your carrier requires it.
3
Add the numbers
Add the numbers on this trunk under Phone numbers. They are used as caller IDs.
4
Save and check
Save the configuration. Athena checks the address and login when you save. When the line gets a number, Athena starts building its call route in the background; if that does not finish, the first call builds it. Review any setup step or warning shown on the configuration.
5
Test with a controlled destination
Place a call to a phone you control and confirm it rings, both sides can hear each other, and the run completes.
Add the line with the API
POST /api/v1/organizations/sip-trunks/provision creates the line, adds its numbers, and builds its call route in one request. It accepts your API key in X-API-Key (see API quickstart).
Keep SIP passwords in your backend’s secret store, never in browser code or logs.
Check readiness
Both the provision response andGET /api/v1/organizations/telephony-configs/{config_id}/readiness return the same object:
ready: truemeans the line can place calls now.ready: falsecomes with areasonwritten for you to act on, for example “Add at least one active phone number to this line.”route_statedescribes the line’s call route, such asunverified,verified, orfailed.
GET only reads. It never creates a route, so a line whose route is not built yet reports that the route is built on the first call or by the provision request. It returns 404 when the configuration is not in your organization.
When the carrier refuses a line
If your carrier refuses calls on a line, for example because SIP trunking is not enabled on the account, Athena stops placing calls on that line. Telephony shows A SIP line was refused by the carrier with the affected line names, and readiness reports the refusal. Nobody is called through a slower fallback path. Fix the carrier account, then check readiness again. Campaigns that use a line that is not ready do not fail their contacts. While the line is still getting ready, the campaign waits and checks again; otherwise it pauses so you can review it. Resume the campaign after the line is ready. See Run campaigns.Limits
- This page covers outbound calling. A SIP trunk line does not take inbound calls or carry call transfers by itself.
- A green readiness check is configuration evidence. It does not prove that a particular call rang; confirm with a controlled test call and the run.
- Use Connect telephony for the other telephony options in your account and for removing a configuration.