Connecting Phone Numbers to Millis via SIP
/register_sip_call
/register_sip_call
API endpoint. Depending on your location, select either the EU-West or US-West region for lower latency:
https://api-eu-west.millis.ai/register_sip_call
https://api-west.millis.ai/register_sip_call
agent_id
: (Optional) The ID of the Millis AI agent that will handle the call.agent_config
: (Optional) Configuration options for the agent, allowing you to customize behavior.
agent_id
and agent_config
are provided, the parameters in agent_config
will override the original parameters for the agent tied to agent_id
.agent_config
for a temporary configuration, which will be used to construct an agent to handle the call.metadata
: (Optional) Any additional information to attach to the session, giving the agent context to enhance its response. To learn more about how metadata works, visit the Metadata Guide.include_metadata_in_prompt
: (Optional) Boolean value indicating if the metadata should be included in the agent’s conversational prompt.call_id
and a sip_uri
. This sip_uri
is the address you will use to route your phone calls to Millis.
Response Example:
sip_uri
to reroute the call from your phone system to Millis. Your phone system will forward the call audio to Millis, where the voice agent can interact with the caller.