Pre-req 1: Account Balance
Sign up and top up the account with a small amount of credit, e.g. $5.Pre-req 2: Outbound Voice Profile (OVP)
Pre-req 3: Credential Based SIP Connection
outbound_voice_profile_id is the id returned in the previous API request.
Pre-req 4: Phone Number
For ease of activation, choose US or CA phone numbers as there exists no regulatory requirements for their immediate use.connection_id from the previous step.
pending in the immediate response. After a short wait, poll the order status.
status is success before proceeding.
Setting Up and Using the Demo App
Follow this instruction to create a telephony credential. The demo app should have the following configuration- “Authentication” → “Credential”
- “SIP Username” → from telephony credential
- “Password” → from telephony credential
- “Caller ID Name” → purchased phone number in +E164 format
- “Caller ID Number” → purchased phone number in +E164 format
registered in the log to the right.
Making Call
To make an outbound call, put the destination phone number in +E164 format. Ensure the destination country is in thewhitelisted_destinations of the configured OVP.
Receiving Call
Open another tab and successfully register another client. From that client, dial[xxx]@sip.telnyx.com where xxx is the sip_username of the telephony credential of the first client. It starts with gencred.
