This is an old revision of the document!
====== Bind Domain and Team ====== asterCC is a hosting system that offers multiple customers services. Each customer manages by team, so that each team will has its own identification. <note tip>when softphones register to the server, the format of the username is Team-extension, like astercc-5000</note> {{:en:use_case:team_identity.png?768|}} By default, when a user logs in the system, he has to choose his team. In most cases, we do not want users to see all teams in the system. {{:zh:用途和案例:multi-team.png?768|}} And the binding domain function of the system solved this problem. First, enable this function. Edit the /etc/astercc.conf file on the server, find //login_route = team// and delete the 注释标志, and enable it. {{:en:use_case:astercc.conf.png?|}} If the domain is used for login the system directly, as shown in the picture, you will see **only the systemadmin login**, which means only the users of the system users can log in through this page. {{:en:use_case:astercc_login.png?768|}} And if you would like to log into a specific team, you can use the address http://192.168.252.134/astercc (astercc is the identification for this team) or http://192.168.252.134/sonicwell (sonicwell is the identification for this team) or the SLD parsed to this host http://astercc.yourdomain.com http://sonicwell.yourdomain.com The user can see the team name on the login page. {{:en:use_case:astercc_login_1.png?768|}}