dropsofsteel
01/08/2026, 11:17 AMAI Evy
01/08/2026, 11:17 AMAI Evy
01/08/2026, 11:18 AMtermination_uri – The termination URI used for outbound calls
- auth_username – The username for SIP trunk authentication
- auth_password – The password for SIP trunk authentication
- transport – Outbound transport protocol (TLS, TCP, or UDP)
Example:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.update('+14157774444', {
inbound_agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
nickname: 'Frontdesk Number',
outbound_agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
}) ;
console.log(phoneNumberResponse.inbound_agent_id) ;
Note: The FAQ in the Custom Telephony Overview states: "I need to change the configuration of the imported number, how can I do that? Right now you'd need to delete and re-import the number." [(2) ]()
However, the Update Phone Number API does expose termination_uri, auth_username, auth_password, and transport fields for updating. [(1) ]()AI Evy
01/08/2026, 11:18 AMAI Evy
01/08/2026, 11:18 AMdropsofsteel
01/08/2026, 11:18 AMAI Evy
01/08/2026, 11:18 AMAI Evy
01/08/2026, 11:19 AMAI Evy
01/08/2026, 11:19 AMAI Evy
01/08/2026, 11:19 AM