Before you start
- Your Plivo main account Auth ID (starts with
MA) and Auth Token, from the Plivo console home page. Subaccount keys (Auth ID starting withSA) cannot set up SIP trunking, and Athena refuses them when you save. - SIP Trunking listed in your Plivo console menu.
- The Plivo phone number you want to call from, in international format (for example
+918000000000).
Add the line
1
Create the line
Open Telephony, select Add configuration, choose Plivo, and enter the Auth ID and Auth Token. When you save, Athena checks with Plivo that these keys can set up 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. The number must belong to the same Plivo account.
3
Wait about one minute
Athena creates the trunk. In the Plivo console under SIP Trunking > Outbound trunks, a trunk named
dograh-<line number> appears and shows Active.4
Place a test call
Saving proves the keys; a test call proves the line.
Don’t edit or delete a
dograh-... trunk while its line is in use. You can delete trunks that belong to lines you have deleted in Athena.Using the API
Create the line withPOST /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.