Skip to main content
When you add a Twilio line, Athena uses your Twilio keys to create an Elastic SIP Trunk for that line (secured with TLS and SRTP, with its own credential list) and places every call through it. You don’t create the trunk yourself.

Before you start

  • The Account SID (starts with AC) and Auth Token of the Twilio account that owns your phone numbers.
  • Elastic SIP Trunking available on that account.
  • The Twilio number you want to call from, in international format (for example +14155550100).

Add the line

1

Create the line

Open Telephony, select Add configuration, choose Twilio, and enter the Account SID and Auth Token. When you save, Athena checks with Twilio that these keys can use Elastic SIP Trunking. If they can’t, the save is refused and the dialog says what to change.
2

Add your number

Open Manage Phone Numbers on the line and add the number you call from. It must belong to the same Twilio account.
3

Wait about one minute

Athena creates the trunk. In the Twilio console under Elastic SIP Trunking > Trunks, a trunk named dograh-<line number> appears.
4

Place a test call

Saving proves the keys; a test call proves the line.
Don’t edit or delete a dograh-... trunk or its credential list while the line is in use.

Using the API

Create the line with POST /api/v1/organizations/telephony-configs, then add numbers with POST /api/v1/organizations/telephony-configs/{config_id}/phone-numbers (reference). A save refused because of the keys returns HTTP 422 with the fix in detail.

When calls don’t go out

If a call still doesn’t go out, send support the line’s configuration ID and the time of the test call. Don’t send keys.