enableSipRouting
Enable SIP-based routing for this agent. When enabled, a routing callback endpoint is registered at the specified path. Incoming SIP calls are matched against registered usernames and directed to this agent.
When autoMap is true, SIP usernames are automatically mapped to the agent route.
Parameters
autoMap
When true, automatically map SIP usernames to the agent route.
path
URL path for the SIP routing endpoint.
Returns
AgentBase — Returns this for method chaining.