dcphealth_99900
08/27/2025, 11:30 PMAI Evy
08/27/2025, 11:30 PMAI Evy
08/27/2025, 11:31 PMAI Evy
08/27/2025, 11:31 PMAI Evy
08/27/2025, 11:31 PMdcphealth_99900
08/27/2025, 11:32 PMAI Evy
08/27/2025, 11:32 PMAI Evy
08/27/2025, 11:32 PMoutbound_agent_id when creating or importing a phone number [(2) ]() [(3) ]() . The phone number will automatically use the assigned agent when conducting outbound calls [(3) ]() . If you set outbound_agent_id to null, the number won't be able to initiate outbound calls without an agent ID override .
Here's how you can make an outbound call with a specific agent:
javascript
const registerCallResponse = await retell.call.createPhoneCall({
from_number: '+14157774444', // replace with the number you purchased
to_number: '+12137774445', // replace with the number you want to call
retell_llm_dynamic_variables: { // replace with the dynamic variables you want to send (optional)
name: 'John Doe',
blood_group: 'B+'
},
custom_sip_headers: { // replace with custom sip headers you want to send (optional)
X-Custom-Header: 'Custom Value'
}
}) ;
[(1) ]()
This gives you flexibility to use the same phone number with different agents for different outbound calling scenarios.AI Evy
08/27/2025, 11:32 PMAI Evy
08/27/2025, 11:32 PM