***

title: register_sip_username
slug: /reference/python/agents/agent-base/register-sip-username
description: Register a specific SIP username to route calls to this agent.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[ref-agentbase]: /docs/server-sdks/reference/python/agents/agent-base

Register a specific SIP username that should be routed to this agent. Usernames are
matched case-insensitively.

## **Parameters**

<ParamField path="sip_username" type="str" required={true} toc={true}>
  SIP username to register for this agent.
</ParamField>

## **Returns**

[`AgentBase`][ref-agentbase] -- Returns self for method chaining.

## **Example**

```python {6-7}
from signalwire import AgentBase

agent = AgentBase(name="support", route="/support")
agent.set_prompt_text("You are a helpful assistant.")
agent.enable_sip_routing()
agent.register_sip_username("help-desk")
agent.register_sip_username("customer-service")
agent.serve()
```