Methods
| Method | Description | Details |
|---|---|---|
| Credential-based | Username/password for SIP registration | See below |
| IP + Token | X-Telnyx-Token header with IP validation | Separate page |
| IP + Tech Prefix | 4-digit prefix prepended to dial string | Separate page |
| IP + P-Charge-Info | Phone number in P-Charge-Info header | See below |
| FQDN | Hostname-based inbound routing | See below |
Credential-based authentication
Username and password for SIP registration. POST /v2/credential_connectionsP-Charge-Info authentication
SIP header containing a phone number associated with the connection.FQDN authentication
Hostname-based inbound routing combined with credentials or IP authentication for outbound.| Inbound | Outbound |
|---|---|
| FQDN | Credentials |
| FQDN | IP address |
Comparison
| Method | Inbound | Outbound | Dynamic IP | Static IP |
|---|---|---|---|---|
| Credentials | ✓ | ✓ | ✓ | ✓ |
| IP + Tech prefix | ✓ | ✓ | - | ✓ |
| IP + Token | ✓ | ✓ | - | ✓ |
| IP + P-Charge-Info | ✓ | ✓ | - | ✓ |
| FQDN + Credentials | ✓ | ✓ | ✓ | ✓ |
| FQDN + IP | ✓ | ✓ | - | ✓ |