autoMapSipUsernames
Automatically register SIP usernames based on the agent’s name and route
properties. Convenience method that derives common username variations so callers
can reach the agent via SIP without manual registration.
The method registers:
- A lowercase, alphanumeric-only version of the agent name (e.g.,
"supportagent") - A lowercase, alphanumeric-only version of the route when different from the name
- A vowel-stripped abbreviation of the name when the cleaned name is longer than 3 characters and the stripped result is longer than 2 characters
enableSipRouting() calls this method automatically when
invoked without arguments. You only need to call autoMapSipUsernames() directly
to trigger it after disabling auto-mapping.
Parameters
None.
Returns
AgentBase — Returns this for method chaining.
Example
To register specific usernames instead, use
registerSipUsername():