momsramen
11/19/2025, 2:49 AMAI Evy
11/19/2025, 2:49 AMAI Evy
11/19/2025, 2:49 AMclient.call.registerPhoneCall with the Node SDK, you specify the agent_id parameter to connect to a specific agent [(1) ]() [(2) ]() . The registered call will use the agent configuration associated with that agent_id [(1) ]() .
typescript
const phoneCallResponse = await client.call.registerPhoneCall({
agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
}) ;
[(1) ]() [(2) ]()
The response includes an agent_version field that indicates which version of the agent was used for the call [(1) ]() [(3) ]() . However, the available documentation doesn't explicitly detail how to ensure you're connecting to the published version versus a draft version when registering a phone call.
I don't have specific information in the sources about controlling published vs. draft versions when using registerPhoneCall. I'd recommend checking these potentially useful sources:
- [Register Phone Call]()
- [SDKs]()
Would you like me to provide a general answer based on my knowledge instead? Alternatively, for additional support:
- Visit [Contact Sales]()
- Visit [)AI Evy
11/19/2025, 2:49 AMAI Evy
11/19/2025, 2:49 AM